Closed pascalrheaume closed 1 year ago
This has been bugging me for a while. Thanks for the patch!
I've been falling behind on updating my Home Assistant instance lately & had missed this issue. Thanks @pascalrheaume, I'll commit your suggested fix later today.
can you please bump up the hacs version, so that the fix is show as an update inside hacs (current version is v0.1.3 from Jun 15, 2021) btw, I love your climate scheduler, it has the best integration into home asstant and is flexible enough to cover all my different heating scenarios. greetings from germany. thx
@jamesdeeen done! Thanks for the good words!
Following update to homeassistant core to InputSelect class (https://github.com/home-assistant/core/commit/b0d033ef29abaf5ef8265d596cdaa3da8c124695)
self._profile_selector = InputSelect(selector_config) in switch.py line 389 gives this error: File "/usr/src/homeassistant/homeassistant/components/input_select/init.py", line 296, in extra_state_attributes return {ATTR_EDITABLE: self.editable} AttributeError: 'InputSelect' object has no attribute 'editable'
Fixed it by calling self._profile_selector = InputSelect.from_yaml(selector_config)