Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lutron_caseta.binary_sensor Namespace Reference

Classes

class  LutronOccupancySensor
 

Functions

None async_setup_entry (HomeAssistant hass, LutronCasetaConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Detailed Description

Support for Lutron Caseta Occupancy/Vacancy Sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.lutron_caseta.binary_sensor.async_setup_entry ( HomeAssistant  hass,
LutronCasetaConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Lutron Caseta binary_sensor platform.

Adds occupancy groups from the Caseta bridge associated with the
config_entry as binary_sensor entities.

Definition at line 21 of file binary_sensor.py.