circuitmatter.device_types.lighting.on_off

Classes

OnOffLight

A light that can be turned OnOffLight.on and OnOffLight.off.

Module Contents

class circuitmatter.device_types.lighting.on_off.OnOffLight(name)

Bases: circuitmatter.device_types.simple_device.SimpleDevice

A light that can be turned OnOffLight.on and OnOffLight.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__ = ()