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 373777e commit 8f07479Copy full SHA for 8f07479
plugwise_usb/nodes/circle.py
@@ -1279,7 +1279,7 @@ async def _check_for_energy_and_power_features(
1279
If both are present, execute the related functions in a specific order
1280
to assure a proper response to the hourly pulses-rollovers.
1281
"""
1282
- if NodeFeature.ENERGY in features and NodeFeature.POWER in features:
+ if {NodeFeature.ENERGY, NodeFeature.POWER} <= features:
1283
states[NodeFeature.POWER] = await self.power_update()
1284
_LOGGER.debug(
1285
"async_get_state %s - power: %s",
0 commit comments