home-assistant.io/source/_components/sensor.currencylayer.markdown
2017-09-25 22:26:17 +02:00

1.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, ha_category, logo, ha_iot_class, ha_release
layout title description date sidebar comments sharing footer ha_category logo ha_iot_class ha_release
page Currencylayer Instructions on integrating exchange rates from https://currencylayer.com/ within Home Assistant. 2016-10-26 10:00 true false true true Finance currencylayer.png Cloud Polling 0.32

The currencylayer sensor will show you the current exchange rate from Currencylayer that provides real-time exchange rates for 170 currencies. The free account is limited to only USD as a base currency, allows 1000 requests per month, and updates every hour.

Obtain your API key here

To enable this sensor, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: currencylayer
    api_key: YOUR_API_KEY
    base: USD
    quote:
      - EUR
      - INR

Configuration variables:

  • api_key (Required): API Key from Currencylayer.
  • base (Optional): The symbol of the base currency. Defaults to USD.
  • quote (Required): The symbol(s) of the quote or target currencies.