File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -976,15 +976,15 @@ def _process_c_heating_state(self, data: DeviceData) -> None:
976976 # Anna + OnOff heater: use central_heating_state to show heating_state
977977 # Solution for Core issue #81839
978978 if self .smile_name == "Smile Anna" :
979- data ["heating_state" ] = bool ( data ["c_heating_state" ])
979+ data ["heating_state" ] = data ["c_heating_state" ]
980980
981981 if self .smile_name == "Adam" :
982982 data ["heating_state" ] = False
983983 # Adam + OnOff cooling: use central_heating_state to show heating/cooling_state
984984 if self ._cooling_enabled :
985- data ["cooling_state" ] = bool ( data ["c_heating_state" ])
985+ data ["cooling_state" ] = data ["c_heating_state" ]
986986 else :
987- data ["heating_state" ] = bool ( data ["c_heating_state" ])
987+ data ["heating_state" ] = data ["c_heating_state" ]
988988
989989 def _get_appliance_data (self , d_id : str ) -> DeviceData :
990990 """
You can’t perform that action at this time.
0 commit comments