File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -110,16 +110,16 @@ def get_all_gateway_entities(self) -> None:
110110 Collect and add switching- and/or pump-group entities.
111111 Finally, collect the data and states for each entity.
112112 """
113- self ._all_appliances ()
114- if self ._is_thermostat :
115- self .therms_with_offset_func = (
116- self ._get_appliances_with_offset_functionality ()
117- )
118- if self .check_name (ADAM ):
119- self ._scan_thermostats ()
113+ if self ._all_appliances ():
114+ if self ._is_thermostat :
115+ self .therms_with_offset_func = (
116+ self ._get_appliances_with_offset_functionality ()
117+ )
118+ if self .check_name (ADAM ):
119+ self ._scan_thermostats ()
120120
121- if group_data := self ._get_groups ():
122- self .gw_entities .update (group_data )
121+ if group_data := self ._get_groups ():
122+ self .gw_entities .update (group_data )
123123
124124 self ._all_entity_data ()
125125
You can’t perform that action at this time.
0 commit comments