Add option for exchange rate sensor precision to Coinbase (#68792)

* Add user option for precision to exchange rate sensors

* Add tests

* Add strings
This commit is contained in:
Tom Brien
2022-03-30 12:51:44 +01:00
committed by GitHub
parent 259b069dd9
commit bb7593351b
6 changed files with 36 additions and 13 deletions

View File

@@ -3,6 +3,8 @@
CONF_CURRENCIES = "account_balance_currencies"
CONF_EXCHANGE_BASE = "exchange_base"
CONF_EXCHANGE_RATES = "exchange_rate_currencies"
CONF_EXCHANGE_PRECISION = "exchange_rate_precision"
CONF_EXCHANGE_PRECISION_DEFAULT = 2
CONF_OPTIONS = "options"
CONF_TITLE = "title"
DOMAIN = "coinbase"