mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Fix profile name update for Shelly Valve (#67778)
This commit is contained in:
parent
99300570f1
commit
d65b2b37dc
@ -317,4 +317,14 @@ class BlockSleepingClimate(
|
|||||||
|
|
||||||
if self.device_block and self.block:
|
if self.device_block and self.block:
|
||||||
_LOGGER.debug("Entity %s attached to blocks", self.name)
|
_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()
|
self.async_write_ha_state()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user