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 642d24a commit a7e3c68Copy full SHA for a7e3c68
plugwise_usb/nodes/circle.py
@@ -1272,7 +1272,7 @@ async def _check_for_energy_and_power_features(
1272
If both are present, execute the related functions in a specific order
1273
to assure a proper response to the hourly pulses-rollovers.
1274
"""
1275
- if NodeFeature.ENERGY in features and NodeFeature.POWER in features:
+ if {NodeFeature.ENERGY, NodeFeature.POWER} <= features:
1276
states[NodeFeature.POWER] = await self.power_update()
1277
_LOGGER.debug(
1278
"async_get_state %s - power: %s",
0 commit comments