mirror of
https://github.com/home-assistant/core.git
synced 2025-08-13 01:25:23 +02:00
Fix profile name update for Shelly Valve (#67778)
This commit is contained in:
committed by
Paulus Schoutsen
parent
c807c57a9b
commit
dfa1c3abb3
@@ -317,4 +317,14 @@ class BlockSleepingClimate(
|
||||
|
||||
if self.device_block and self.block:
|
||||
_LOGGER.debug("Entity %s attached to blocks", self.name)
|
||||
|
||||
assert self.block.channel
|
||||
|
||||
self._preset_modes = [
|
||||
PRESET_NONE,
|
||||
*self.wrapper.device.settings["thermostats"][int(self.block.channel)][
|
||||
"schedule_profile_names"
|
||||
],
|
||||
]
|
||||
|
||||
self.async_write_ha_state()
|
||||
|
Reference in New Issue
Block a user