2024-11-27 18:57:16 +01:00

1.6 KiB

title description ha_category ha_iot_class ha_release ha_domain ha_platforms ha_integration_type related ha_quality_scale
Fixer Instructions on how to integrate exchange rates from Fixer.io within Home Assistant.
Finance
Cloud Polling 0.23 fixer
sensor
integration
docs title
/docs/configuration/ Configuration file
legacy

The fixer {% term integration %} will show you the current exchange rate from Fixer.io which is using data from the European Central Bank (ECB).

To get an overview about the available currencies.

Setup

You need to create an API key. The free account is limited to only EUR as a base currency, allows 100 requests per month, and updates every hour.

Configuration

To enable this {% term integration %}, add the following lines to your {% term "configuration.yaml" %} file. {% include integrations/restart_ha_after_config_inclusion.md %}

# Example configuration.yaml entry
sensor:
  - platform: fixer
    api_key: YOUR_API_KEY
    target: CHF

{% configuration %} api_key: description: Your API key for Fixer.io. required: true type: string target: description: The symbol of the target currency. required: true type: string name: description: Name to use in the frontend. required: false type: string default: Exchange rate {% endconfiguration %}

Details about the API are available in the Fixer.io documentation.