File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ class NodeFeature(str, Enum):
4141
4242 AVAILABLE = "available"
4343 BATTERY = "battery"
44+ CIRCLE = "circle"
4445 CIRCLEPLUS = "circleplus"
4546 ENERGY = "energy"
4647 HUMIDITY = "humidity"
@@ -78,13 +79,14 @@ class NodeType(Enum):
7879PUSHING_FEATURES = (
7980 NodeFeature .AVAILABLE ,
8081 NodeFeature .BATTERY ,
82+ NodeFeature .CIRCLE ,
83+ NodeFeature .CIRCLEPLUS ,
8184 NodeFeature .HUMIDITY ,
8285 NodeFeature .MOTION ,
8386 NodeFeature .MOTION_CONFIG ,
8487 NodeFeature .TEMPERATURE ,
8588 NodeFeature .SENSE ,
8689 NodeFeature .SWITCH ,
87- NodeFeature .CIRCLEPLUS ,
8890)
8991
9092
Original file line number Diff line number Diff line change @@ -805,6 +805,7 @@ async def load(self) -> bool:
805805 self ._setup_protocol (
806806 CIRCLE_FIRMWARE_SUPPORT ,
807807 (
808+ NodeFeature .CIRCLE ,
808809 NodeFeature .RELAY ,
809810 NodeFeature .RELAY_INIT ,
810811 NodeFeature .RELAY_LOCK ,
@@ -846,6 +847,7 @@ async def load(self) -> bool:
846847 self ._setup_protocol (
847848 CIRCLE_FIRMWARE_SUPPORT ,
848849 (
850+ NodeFeature .CIRCLE ,
849851 NodeFeature .RELAY ,
850852 NodeFeature .RELAY_INIT ,
851853 NodeFeature .RELAY_LOCK ,
Original file line number Diff line number Diff line change @@ -155,6 +155,8 @@ class SupportedVersions(NamedTuple):
155155
156156FEATURE_SUPPORTED_AT_FIRMWARE : Final = {
157157 NodeFeature .BATTERY : 2.0 ,
158+ NodeFeature .CIRCLE : 2.0 ,
159+ NodeFeature .CIRCLEPLUS : 2.0 ,
158160 NodeFeature .INFO : 2.0 ,
159161 NodeFeature .SENSE : 2.0 ,
160162 NodeFeature .TEMPERATURE : 2.0 ,
@@ -167,7 +169,6 @@ class SupportedVersions(NamedTuple):
167169 NodeFeature .MOTION : 2.0 ,
168170 NodeFeature .MOTION_CONFIG : 2.0 ,
169171 NodeFeature .SWITCH : 2.0 ,
170- NodeFeature .CIRCLEPLUS : 2.0 ,
171172}
172173
173174# endregion
You can’t perform that action at this time.
0 commit comments