home-assistant.io/source/_components/currencylayer.markdown
Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

1.3 KiB

title, description, ha_category, logo, ha_iot_class, ha_release, redirect_from
title description ha_category logo ha_iot_class ha_release redirect_from
Currencylayer Instructions on integrating exchange rates from https://currencylayer.com/ within Home Assistant.
Finance
currencylayer.png Cloud Polling 0.32
/components/sensor.currencylayer/

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 %} api_key: description: "The API Key from Currencylayer." required: true type: string quote: description: The symbol(s) of the quote or target currencies. required: false type: string, list default: Exchange rate base: description: The symbol of the base currency. required: false type: string default: USD {% endconfiguration %}