Controllers¶
bridge.lights, bridge.fans, and so on are controllers — typed models plus action
methods like turn_on and set_state. Each page below is autodoc from source.
All inherit get_device, items, and subscribe from
BaseResourcesController.
Bridge attribute |
Controller class |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See also
BaseResourcesController — shared base class.
ClimateController — base for thermostats and
portable ACs (not registered on the bridge directly).
Device splitting — how multi-entity devices are split across controllers.