mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update coinmarketcap configuration to use currency_id instead of currency (#5422)
This commit is contained in:
parent
9293fb5b38
commit
cf0f034acc
@ -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/).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user