blob: d0ca460d305b9370b069beb6cfaf32fe63f05b50 [file] [log] [blame]
Vishwanatha Subbannaa1e70a72016-11-12 16:00:00 +05301description: >
2 Interface to control physical LED.
3
4properties:
5 - name: State
6 type: enum[self.Action]
7 default: Off
8 description: >
9 Current State of the LED.
10
11 - name: DutyOn
12 type: byte
13 default: 50
14 description: >
15 Percentage time the LED needs to be ON while blinking.
16
17 - name: Color
18 type: enum[self.Palette]
19 default: Unknown
20 description: >
21 Color that the LED can emit.
22
23enumerations:
24 - name: Action
25 description: >
26 Possible states a LED can be in.
27 values:
28 - name: Off
29 description: >
30 LED is in OFF state
31 - name: On
32 description: >
33 LED is in solid ON state
34 - name: Blink
35 description: >
36 LED is blinking
37
38 - name: Palette
39 description: >
40 Possible colors that the LED can emit.
41 values:
42 - name: Unknown
43 description: >
44 Color emitted by LED is unknown.
45 - name: Red
46 description: >
47 LED can emit Red color.
48 - name: Green
49 description: >
50 LED can emit Green color.
51 - name: Blue
52 description: >
53 LED can emit Blue color.
54 - name: Yellow
55 description: >
56 LED can emit Yellow color.