Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4999852

Browse files
committedOct 12, 2023
ucloud: Add Television type.
1 parent c32228e commit 4999852

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/arduino_iot_cloud/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ def __init__(self, name, **kwargs):
5656
super().__init__(name, keys={"swi", "bri"}, **kwargs)
5757

5858

59+
class Television(ArduinoCloudObject):
60+
def __init__(self, name, **kwargs):
61+
super().__init__(name, keys={"swi", "vol", "mut", "pbc", "inp", "cha"}, **kwargs)
62+
63+
5964
class Schedule(ArduinoCloudObject):
6065
def __init__(self, name, **kwargs):
6166
kwargs.update({("runnable", True)}) # Force task creation.

0 commit comments

Comments
 (0)
Please sign in to comment.