mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
1.2 KiB
1.2 KiB
title, description, ha_category, ha_release, ha_iot_class, ha_domain
title | description | ha_category | ha_release | ha_iot_class | ha_domain | |
---|---|---|---|---|---|---|
CoinMarketCap | Instructions on how to integrate CoinMarketCap data within Home Assistant. |
|
0.28 | Cloud Polling | coinmarketcap |
The coinmarketcap
sensor platform displays various details about a cryptocurrency provided by CoinMarketCap.
To add the CoinMarketCap sensor to your installation, add the following lines to your configuration.yaml
:
# Example configuration.yaml entry
sensor:
- platform: coinmarketcap
{% configuration %} currency_id: description: The ID of the cryptocurrency to use, default is the ID of Bitcoin. required: false type: integer 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: integer default: 2 {% endconfiguration %}
All supported currencies can be found here, a list of currency IDs can be found here.