home-assistant.io/source/_components/sensor.fixer.markdown
2017-11-16 21:05:16 +01:00

46 lines
1.1 KiB
Markdown

---
layout: page
title: "Fixer.io"
description: "Instructions how to integrate exchange rates from Fixer.io within Home Assistant."
date: 2016-06-20 10:00
sidebar: true
comments: false
sharing: true
footer: true
ha_category: Finance
logo: fixer-io.png
ha_iot_class: "Cloud Polling"
ha_release: 0.23
---
The `fixer` sensor will show you the current exchange rate from [Fixer.io](http://fixer.io/) which is using data from the [European Central Bank (ECB)](https://www.ecb.europa.eu).
To get an overview about the available [currencies](http://api.fixer.io/latest).
To enable this sensor, add the following lines to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: fixer
target: CHF
```
{% configuration %}
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
base:
description: The symbol of the base currency.
required: false
type: string
default: USD
{% endconfiguration %}