From b59444d15c5eefd03b0024ebcb65136a68e7020b Mon Sep 17 00:00:00 2001 From: Michal Kochel Date: Fri, 25 Aug 2023 12:16:38 +0200 Subject: [PATCH] Fixed reload issue Fixes https://github.com/custom-components/climate.programmable_thermostat/issues/44. The `async_setup_reload_service()` function expects a list as the third argument, not a string. The definition: https://github.com/home-assistant/core/blob/2023.8.4/homeassistant/helpers/reload.py#L167 --- custom_components/programmable_thermostat/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/programmable_thermostat/const.py b/custom_components/programmable_thermostat/const.py index d83e807..93c7abf 100644 --- a/custom_components/programmable_thermostat/const.py +++ b/custom_components/programmable_thermostat/const.py @@ -8,7 +8,7 @@ #Generic VERSION = '8.2' DOMAIN = 'programmable_thermostat' -PLATFORM = 'climate' +PLATFORM = ['climate'] ISSUE_URL = 'https://github.com/custom-components/climate.programmable_thermostat/issues' CONFIGFLOW_VERSION = 4