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

bridge.devices

Devices

bridge.exhaust_fans

Exhaust fans

bridge.fans

Fans

bridge.lights

Lights

bridge.locks

Locks

bridge.portable_acs

Portable ACs

bridge.switches

Switches

bridge.thermostats

Thermostats

bridge.security_systems

Security systems

bridge.security_systems_keypads

Security keypads

bridge.security_systems_sensors

Security sensors

bridge.valves

Valves

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.