-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to region BR #56
base: master
Are you sure you want to change the base?
Conversation
Without this change it is not possible to calculate routes in Brazil. Is there any reason not to accept this merge? @kovacsbalu |
@coelholm what do you think about this solution? |
It will add flexibility to base coordinate and that is good. I believe it is possible to keep env vars persistent in the container of Home Assistant - Device Tracker iCloud3, but I will need to update that every time there is new release of home assistant core. What do you think about adding it after region as an option? Something like: region,lat,long,coord_server,route_server Of course It would require some changes of validation code from iCloud3, but I believe it is a minor update and I can propose that as well. |
Hi @coelholm, I see your point but I really don't like too many parameters. Now it has 8 which is a lot. ( I will refact a bit and remove these from init.) |
Sorry for the delay. So your plan is to remove hard coded configuration related to servers and allow developers to define that on the fly, using @Property methods 'getter, setter, deleter', isn't it? Sound good to me, that way it will be easy to support any area in the world. |
Add support to Brazil
Minor fix to example codes in the README.md, it was missing "import logging"