Fix status type in Shelly climate platform (#63347)
This commit is contained in:
parent
6af99882c5
commit
16f6bad897
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class BlockSleepingClimate(
|
|||
return CURRENT_HVAC_OFF
|
||||
|
||||
return (
|
||||
CURRENT_HVAC_IDLE if self.device_block.status == "0" else CURRENT_HVAC_HEAT
|
||||
CURRENT_HVAC_HEAT if bool(self.device_block.status) else CURRENT_HVAC_IDLE
|
||||
)
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue