diff --git a/source/_components/sensor.coinmarketcap.markdown b/source/_components/sensor.coinmarketcap.markdown index 1fc1300ab50..e31c656efae 100644 --- a/source/_components/sensor.coinmarketcap.markdown +++ b/source/_components/sensor.coinmarketcap.markdown @@ -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/).