Sleep and wake
Sleep and wake
Scope
API leaves in the table below use permission Config (device scope). The power.sleep.imminent message uses the message/alarm path—see Sleep imminent and Permission codes.
Reader notes
Start with Using capabilities. Call device.capability.list before you use IDs on this page. See Permission codes and Capability errors.
Index in this folder
| Operation | ID |
|---|---|
| Get sleep status property | power.sleep.status |
| Get preview sleep property | power.sleep.preview |
| Set preview sleep property | power.sleep.preview |
| Wake | power.sleep.wake |
| Delay sleep | power.sleep.delay |
| Sleep imminent event | power.sleep.imminent |
