Manojkiran Eda | bc6b8a7 | 2021-07-29 15:33:41 +0530 | [diff] [blame] | 1 | description: > |
| 2 | Implement to indicate the power state of the object |
| 3 | properties: |
| 4 | - name: PowerState |
| 5 | type: enum[self.State] |
| 6 | default: Unknown |
| 7 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 8 | The current power status of the object. |
Manojkiran Eda | bc6b8a7 | 2021-07-29 15:33:41 +0530 | [diff] [blame] | 9 | |
| 10 | enumerations: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 11 | - name: State |
| 12 | description: > |
| 13 | Power state enum. |
| 14 | values: |
| 15 | - name: "On" |
| 16 | description: > |
| 17 | The state of the object is powered on. |
| 18 | - name: "Off" |
| 19 | description: > |
| 20 | The state of the object is powered off. |
| 21 | - name: PoweringOn |
| 22 | description: > |
| 23 | The object is in a temporary state between off and on. |
| 24 | - name: PoweringOff |
| 25 | description: > |
| 26 | The object is in a temporary state between on and off. |
| 27 | - name: Unknown |
| 28 | description: > |
| 29 | The power state is unknown. |