mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix Shelly climate entity state (#64756)
* Fix For loops in _handle_coordinator_update() * Change logic * Suggested change Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com> * Move log Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
This commit is contained in:
parent
046f0a706f
commit
4a4b0d9418
@ -315,6 +315,6 @@ class BlockSleepingClimate(
|
||||
if hasattr(block, "targetTemp"):
|
||||
self.block = block
|
||||
|
||||
_LOGGER.debug("Entity %s attached to block", self.name)
|
||||
if self.device_block and self.block:
|
||||
_LOGGER.debug("Entity %s attached to blocks", self.name)
|
||||
self.async_write_ha_state()
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user