Update coinmarketcap configuration to use currency_id instead of currency (#5422)

This commit is contained in:
Marius Kotlarz 2018-05-25 15:40:19 +02:00 committed by Fabian Affolter
parent 9293fb5b38
commit cf0f034acc

View File

@ -25,17 +25,22 @@ sensor:
```
{% configuration %}
currency:
description: The cryptocurrency to use.
currency_id:
description: The ID of the cryptocurrency to use, default is the ID of Bitcoin.
required: false
type: string
default: Bitcoin
type: int
default: 1
display_currency:
description: The currency to display.
required: false
type: string
default: USD
display_currency_decimals:
description: The amount of decimals to round to.
required: false
type: int
default: 2
{% endconfiguration %}
All supported currencies can be found [here](https://coinmarketcap.com/api/).
All supported currencies can be found [here](https://coinmarketcap.com/api/), a list of currency IDs can be found [here](https://api.coinmarketcap.com/v2/ticker/).