We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6980f34 commit 009af87Copy full SHA for 009af87
plugwise/helper.py
@@ -159,7 +159,10 @@ def _all_appliances(self) -> bool:
159
160
LOGGER.debug("HOI existing: %s", self._existing_appliances)
161
LOGGER.debug("HOI new: %s", self._new_appliances)
162
- if self._existing_appliances == self._new_appliances:
+ if self._existing_appliances and not (
163
+ set(self._new_appliances) <= set(self._existing_appliances)
164
+ ):
165
+ LOGGER.debug("HOI unknown appliance(s) found.")
166
return False
167
168
# A smartmeter is not present as an appliance, add it specifically
plugwise/smile.py
@@ -17,6 +17,7 @@
17
DOMAIN_OBJECTS,
18
GATEWAY_REBOOT,
19
LOCATIONS,
20
+ LOGGER,
21
MAX_SETPOINT,
22
MIN_SETPOINT,
23
NONE,
0 commit comments