Skip to content

Commit 1f71c2e

Browse files
committed
Let PlugwiseCircle class load NodeFeature.CIRCLEP too
This makes the reset energy collection function available to the + devices
1 parent ccc3a26 commit 1f71c2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise_usb/nodes/circle_plus.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ async def load(self) -> bool:
3939
NodeFeature.RELAY_LOCK,
4040
NodeFeature.ENERGY,
4141
NodeFeature.POWER,
42+
NodeFeature.CIRCLE,
4243
NodeFeature.CIRCLEPLUS,
4344
),
4445
)
@@ -76,6 +77,7 @@ async def load(self) -> bool:
7677
NodeFeature.RELAY_LOCK,
7778
NodeFeature.ENERGY,
7879
NodeFeature.POWER,
80+
NodeFeature.CIRCLE,
7981
NodeFeature.CIRCLEPLUS,
8082
),
8183
)

0 commit comments

Comments
 (0)