circuitmatter.device_types.lighting.on_off
Classes
A light that can be turned |
Module Contents
- class circuitmatter.device_types.lighting.on_off.OnOffLight(name)
Bases:
circuitmatter.device_types.simple_device.SimpleDeviceA light that can be turned
OnOffLight.onandOnOffLight.off.- DEVICE_TYPE_ID = 256
- REVISION = 3
- abstract on()
Called when the light is turned on
- abstract off()
Called when the light is turned off
- name
- servers = []
- descriptor
- binding
- user_label
- restore(nonvolatile)
Restore device state from the nonvolatile dictionary and hang onto it for any updates.
- __slots__ = ()