Skip to content

Commit 2f8990c

Browse files
committed
chore: Revert requires_feature
1 parent efe5d33 commit 2f8990c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

roborock/devices/traits/v1/child_lock.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ class ChildLockTrait(ChildLockStatus, common.V1TraitMixin, common.RoborockSwitch
99
"""Trait for controlling the child lock of a Roborock device."""
1010

1111
command = RoborockCommand.GET_CHILD_LOCK_STATUS
12-
# This flag does not yet appear to be accurate
13-
# requires_feature = "is_set_child_supported"
12+
requires_feature = "is_set_child_supported"
1413

1514
@property
1615
def is_on(self) -> bool:

roborock/devices/traits/v1/valley_electricity_timer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ class ValleyElectricityTimerTrait(ValleyElectricityTimer, common.V1TraitMixin, c
99
"""Trait for managing Valley Electricity Timer settings on Roborock devices."""
1010

1111
command = RoborockCommand.GET_VALLEY_ELECTRICITY_TIMER
12-
# This flag does not yet appear to be accurate
13-
# requires_feature = "is_supported_valley_electricity"
12+
requires_feature = "is_supported_valley_electricity"
1413

1514
@property
1615
def is_on(self) -> bool:

0 commit comments

Comments
 (0)