File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ def _all_appliances(self) -> bool:
157157
158158 self ._create_gw_entities (appl )
159159
160+ LOGGER .debug ("HOI existing: %s" , self ._existing_appliances )
161+ LOGGER .debug ("HOI new: %s" , self ._new_appliances )
160162 if self ._existing_appliances == self ._new_appliances :
161163 return False
162164
Original file line number Diff line number Diff line change @@ -110,7 +110,9 @@ 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- if self ._all_appliances ():
113+ if not self ._all_appliances ():
114+ LOGGER .debug ("HOI no new appliances found, skipping" )
115+ else :
114116 if self ._is_thermostat :
115117 self .therms_with_offset_func = (
116118 self ._get_appliances_with_offset_functionality ()
You can’t perform that action at this time.
0 commit comments