From ff6599a6874347c3708db438523ded198971f4fb Mon Sep 17 00:00:00 2001 From: saniho <52693545+saniho@users.noreply.github.com> Date: Sun, 27 Dec 2020 22:42:54 +0100 Subject: [PATCH] * message erreur en francais * config flow * config_flow avec titre field --- custom_components/apiEnedis/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/apiEnedis/sensor.py b/custom_components/apiEnedis/sensor.py index c751fb6..8fb55be 100644 --- a/custom_components/apiEnedis/sensor.py +++ b/custom_components/apiEnedis/sensor.py @@ -80,7 +80,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None): heuresCreuses = eval(heuresCreusesCh) HCCost = float(config.get(HC_COST)) HPCost = float(config.get(HP_COST)) - update_interval = config.get(CONF_SCAN_INTERVAL, DEFAULT_SCAN_INTERVAL) + update_interval = DEFAULT_SCAN_INTERVAL delai_interval = config.get(CONF_DELAY) try: