home-assistant.io/source/_components/openexchangerates.markdown
Piotr Żuralski 6cbcc1acdc fixing ha_category components annotation (#9432)
* fixing ha_category components annotation

Signed-off-by: Piotr Żuralski <piotr.zuralski@gmail.com>

* ✏️ Tweak
2019-05-11 09:46:28 +02:00

1.5 KiB

layout title description date sidebar comments sharing footer ha_category logo ha_iot_class ha_release redirect_from
page Open Exchange Rates Instructions on how to integrate exchange rates from https://openexchangerates.org within Home Assistant. 2016-06-23 10:00 true false true true
Finance
openexchangerates.png Cloud Polling 0.23
/components/sensor.openexchangerates/

The openexchangerates sensor will show you the current exchange rate from Open Exchange Rates that provides realtime 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: openexchangerates
    api_key: YOUR_API_KEY
    quote: EUR

{% configuration %} name: description: The name of the sensor. required: false type: string default: Exchange Rate Sensor api_key: description: "The API Key for Open Exchange Rates." required: true type: string quote: description: The symbol of the quote or target currency. required: true type: string base: description: The symbol of the base currency. required: false type: string default: USD {% endconfiguration %}