Add support for new fixer API (fixes #14911)#15279
Conversation
|
Breaking change: |
|
Maybe also mention removal of base key in options in the breaking change notes. |
|
Note updated. |
|
The API docs still mention ‘base’ as optional. https://fixer.io/documentation#latestrates Why has this been removed from the component? Also the scan interval is 1 day by default. The free API allows 1 call per hour. The scan interval can be increased if we make 1 call for all rates at once. This would require changes to the configuration however, Where there is only one 'base' for all rates and 'name' will become a prefix for any rate. Like 'exchange_rate_usd' and 'exchange_rate_chf'. Name could have a seensible default or be empty (no prefix). |
Description:
Fixer.io updated their API and now it's required to have an API key. Support for SSL/TLS is only available for paying customers.
Related issue (if applicable): fixes #14911
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#5654
Example entry for
configuration.yaml(if applicable):Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTSvariable (example).requirements_all.txtby runningscript/gen_requirements_all.py.