You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom_components/cryptoinfo/config_flow.py
+4-21Lines changed: 4 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,6 @@
25
25
DOMAIN,
26
26
)
27
27
28
-
PLACEHOLDERS= {
29
-
"description_help": "For more information, see the <a href='https://github.com/heyajohnny/cryptoinfo' target='_blank'>documentation</a>.",
30
-
"id_help": "Unique name for the sensor",
31
-
"currency_name_help": "One of the currency names in <a href='https://api.coingecko.com/api/v3/simple/supported_vs_currencies' target='_blank'>this list</a>.",
32
-
"cryptocurrency_ids_help": "The 'id' values from one or more of the coins/tokens in <a href='https://api.coingecko.com/api/v3/coins/list' target='_blank'>this list</a>. seperated by , characters",
33
-
"unit_of_measurement_help": "Do you want to use a currency symbol? (<a href='https://en.wikipedia.org/wiki/Currency_symbol#List_of_currency_symbols_currently_in_use' target='_blank'>Symbol list</a>)",
34
-
"multipliers_help": "The number of coins/tokens (seperated by a , character). The number of Multipliers must match the number of Cryptocurrency id's",
35
-
"update_frequency_help": "How often should the value be refreshed? Beware of the <a href='https://support.coingecko.com/hc/en-us/articles/4538771776153-What-is-the-rate-limit-for-CoinGecko-API-public-plan' target='_blank'>CoinGecko rate limit</a> when tracking multiple cryptocurrencies.",
36
-
"min_time_between_requests_help": "The minimum time between the other entities and this entity to make a data request to the API. (This property is shared and the same for every entity)",
"currency_name": "One of the currency names in [this list](https://api.coingecko.com/api/v3/simple/supported_vs_currencies).",
19
+
"cryptocurrency_ids": "The 'id' values from one or more of the coins/tokens in [this list](https://api.coingecko.com/api/v3/coins/list), separated by commas.",
20
+
"unit_of_measurement": "Do you want to use a currency symbol? ([Symbol list](https://en.wikipedia.org/wiki/Currency_symbol#List_of_currency_symbols_currently_in_use))",
21
+
"multipliers": "The number of coins/tokens (separated by a comma). The number of multipliers must match the number of cryptocurrency IDs.",
22
+
"update_frequency": "How often should the value be refreshed? Beware of the [CoinGecko rate limit](https://support.coingecko.com/hc/en-us/articles/4538771776153-What-is-the-rate-limit-for-CoinGecko-API-public-plan) when tracking multiple cryptocurrencies.",
23
+
"min_time_between_requests": "The minimum time between the other entities and this entity to make a data request to the API. (This property is shared and the same for every entity.)"
24
24
}
25
25
},
26
26
"reconfigure": {
27
27
"title": "Update existing sensor",
28
-
"description": "{description_help}",
28
+
"description": "For more information, see the [documentation](https://github.com/heyajohnny/cryptoinfo).",
29
29
"data": {
30
30
"id": "Identifier",
31
31
"cryptocurrency_ids": "Cryptocurrency id's",
@@ -36,13 +36,13 @@
36
36
"min_time_between_requests": "Minimum time between requests (minutes)"
"currency_name": "One of the currency names in [this list](https://api.coingecko.com/api/v3/simple/supported_vs_currencies).",
41
+
"cryptocurrency_ids": "The 'id' values from one or more of the coins/tokens in [this list](https://api.coingecko.com/api/v3/coins/list), separated by commas.",
42
+
"unit_of_measurement": "Do you want to use a currency symbol? ([Symbol list](https://en.wikipedia.org/wiki/Currency_symbol#List_of_currency_symbols_currently_in_use))",
43
+
"multipliers": "The number of coins/tokens (separated by a comma). The number of multipliers must match the number of cryptocurrency IDs.",
44
+
"update_frequency": "How often should the value be refreshed? Beware of the [CoinGecko rate limit](https://support.coingecko.com/hc/en-us/articles/4538771776153-What-is-the-rate-limit-for-CoinGecko-API-public-plan) when tracking multiple cryptocurrencies.",
45
+
"min_time_between_requests": "The minimum time between the other entities and this entity to make a data request to the API. (This property is shared and the same for every entity.)"
46
46
}
47
47
}
48
48
},
@@ -54,15 +54,5 @@
54
54
"cannot_connect": "Error: Cannot connect",
55
55
"mismatch_values": "The number of cryptocurrency id's ({crypto_count}) does not match the number of multipliers ({multiplier_count})"
56
56
}
57
-
},
58
-
"description_placeholders": {
59
-
"description_help": "For more information, see the <a href='https://github.com/heyajohnny/cryptoinfo' target='_blank'>documentation</a>.",
60
-
"id_help": "Unique name for the sensor",
61
-
"currency_name_help": "One of the currency names in <a href='https://api.coingecko.com/api/v3/simple/supported_vs_currencies' target='_blank'>this list</a>.",
62
-
"cryptocurrency_ids_help": "The 'id' values from one or more of the coins/tokens in <a href='https://api.coingecko.com/api/v3/coins/list' target='_blank'>this list</a>. seperated by , characters",
63
-
"unit_of_measurement_help": "Do you want to use a currency symbol? (<a href='https://en.wikipedia.org/wiki/Currency_symbol#List_of_currency_symbols_currently_in_use' target='_blank'>Symbol list</a>)",
64
-
"multipliers_help": " The number of coins / tokens (seperated by a , character). The number of Multipliers must match the number of Cryptocurrency id's",
65
-
"update_frequency_help": "How often should the value be refreshed? Beware of the <a href='https://support.coingecko.com/hc/en-us/articles/4538771776153-What-is-the-rate-limit-for-CoinGecko-API-public-plan' target='_blank'>CoinGecko rate limit</a> when tracking multiple cryptocurrencies.",
66
-
"min_time_between_requests_help": "The minimum time between the other entities and this entity to make a data request to the API. (This property is shared and the same for every entity)"
0 commit comments