@@ -289,10 +289,10 @@ def __init__(self) -> None:
289289 self ._appl_data : dict [str , ApplianceData ] = {}
290290 self ._appliances : etree
291291 self ._allowed_modes : list [str ] = []
292- self ._adam_cooling_active = False
293- self ._anna_cooling_active : bool | None = None
292+ self ._adam_cooling_enabled = False
293+ self ._anna_cooling_enabled : bool | None = None
294294 self ._anna_cooling_present = False
295- self ._cooling_active = False
295+ self ._cooling_enabled = False
296296 self ._cooling_activation_outdoor_temp : float
297297 self ._cooling_deactivation_threshold : float
298298 self ._cooling_present = False
@@ -480,7 +480,7 @@ def _appliance_info_finder(self, appliance: etree, appl: Munch) -> Munch:
480480 mode_list : list [str ] = []
481481 locator = "./actuator_functionalities/regulation_mode_control_functionality"
482482 if (search := appliance .find (locator )) is not None :
483- self ._adam_cooling_active = search .find ("mode" ).text == "cooling"
483+ self ._adam_cooling_enabled = search .find ("mode" ).text == "cooling"
484484 if search .find ("allowed_modes" ) is not None :
485485 for mode in search .find ("allowed_modes" ):
486486 mode_list .append (mode .text )
@@ -854,7 +854,7 @@ def _get_appliance_data(self, d_id: str) -> DeviceData:
854854
855855 # Use cooling_enabled to set self._anna_cooling_active, then remove
856856 if "cooling_enabled" in data :
857- self ._anna_cooling_active = data .get ("cooling_enabled" )
857+ self ._anna_cooling_enabled = data .get ("cooling_enabled" )
858858 data .pop ("cooling_enabled" , None )
859859
860860 return data
0 commit comments