File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def _all_entity_data(self) -> None:
3535 Collect data for each entity and add to self.gw_entities.
3636 """
3737 self ._update_gw_entities ()
38- if self .check_name ( ADAM ) :
38+ if self ._is_thermostat :
3939 self ._update_zones ()
4040 self .gw_entities .update (self ._zones )
4141
@@ -198,9 +198,9 @@ def _get_entity_data(self, entity_id: str) -> GwEntityData:
198198 self ._get_adam_data (entity , data )
199199
200200 # Thermostat data for Anna (presets, temperatures etc)
201- if self .check_name (ANNA ) and entity ["dev_class" ] == "thermostat" :
202- self ._climate_data (entity_id , entity , data )
203- self ._get_anna_control_state (data )
201+ # if self.check_name(ANNA) and entity["dev_class"] == "thermostat":
202+ # self._climate_data(entity_id, entity, data)
203+ # self._get_anna_control_state(data)
204204
205205 return data
206206
Original file line number Diff line number Diff line change @@ -468,7 +468,7 @@ def _get_actuator_functionalities(
468468 item == "thermostat"
469469 and (
470470 entity ["dev_class" ] != "climate"
471- if self .check_name ( ADAM )
471+ if self ._is_thermostat
472472 else entity ["dev_class" ] != "thermostat"
473473 )
474474 ):
Original file line number Diff line number Diff line change @@ -113,8 +113,7 @@ def get_all_gateway_entities(self) -> None:
113113 self .therms_with_offset_func = (
114114 self ._get_appliances_with_offset_functionality ()
115115 )
116- if self .check_name (ADAM ):
117- self ._scan_thermostats ()
116+ self ._scan_thermostats ()
118117
119118 if group_data := self ._get_group_switches ():
120119 self .gw_entities .update (group_data )
You can’t perform that action at this time.
0 commit comments