Namespaces | |
| binary_sensor | |
| button | |
| config_flow | |
| const | |
| cover | |
| device_trigger | |
| diagnostics | |
| entity | |
| fan | |
| light | |
| logbook | |
| models | |
| scene | |
| switch | |
| util | |
Functions | |
| LutronKeypad | _async_build_lutron_keypad (Smartbridge bridge, dict[str, Any] bridge_device, dict[str, Any] bridge_keypad, int keypad_device_id) |
| dict[int, vol.Schema] | _async_build_trigger_schemas (dict[int, dict[str, int]] keypad_button_names_to_leap) |
| None | _async_migrate_unique_ids (HomeAssistant hass, LutronCasetaConfigEntry entry) |
| None | _async_register_bridge_device (HomeAssistant hass, str config_entry_id, dict bridge_device, Smartbridge bridge) |
| LutronKeypadData | _async_setup_keypads (HomeAssistant hass, str config_entry_id, Smartbridge bridge, dict[str, str|int] bridge_device) |
| def | _async_subscribe_keypad_events (HomeAssistant hass, Smartbridge bridge, dict[int, LutronKeypad] keypads, dict[int, LutronButton] keypad_buttons, dict[int, dict[int, str]] leap_to_keypad_button_names) |
| str | _get_button_name (LutronKeypad keypad, dict[str, Any] bridge_button) |
| str | _get_button_name_from_triggers (LutronKeypad keypad, int button_number) |
| str | _handle_none_keypad_serial (dict keypad_device, int bridge_serial) |
| tuple[str, str] | _id_to_identifier (str lutron_id) |
| int|None | async_get_lip_button (str device_type, int leap_button) |
| bool | async_remove_config_entry_device (HomeAssistant hass, LutronCasetaConfigEntry entry, dr.DeviceEntry device_entry) |
| bool | async_setup (HomeAssistant hass, ConfigType base_config) |
| bool | async_setup_entry (HomeAssistant hass, LutronCasetaConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, LutronCasetaConfigEntry entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| CONFIG_SCHEMA | |
| string | DATA_BRIDGE_CONFIG = "lutron_caseta_bridges" |
| list | PLATFORMS |
Component for interacting with a Lutron Caseta system.
|
private |
Definition at line 336 of file __init__.py.
|
private |
Build device trigger schemas.
Definition at line 318 of file __init__.py.
|
private |
Migrate entities since the occupancygroup were not actually unique.
Definition at line 125 of file __init__.py.
|
private |
Register the bridge device in the device registry.
Definition at line 210 of file __init__.py.
|
private |
Register keypad devices (Keypads and Pico Remotes) in the device registry.
Definition at line 233 of file __init__.py.
|
private |
Subscribe to lutron events.
Definition at line 418 of file __init__.py.
|
private |
Get the LEAP button name and check for override.
Definition at line 370 of file __init__.py.
|
private |
Retrieve the caseta button name from device triggers.
Definition at line 388 of file __init__.py.
|
private |
Definition at line 401 of file __init__.py.
|
private |
Convert a lutron caseta identifier to a device identifier.
Definition at line 480 of file __init__.py.
| int | None homeassistant.components.lutron_caseta.async_get_lip_button | ( | str | device_type, |
| int | leap_button | ||
| ) |
Get the LIP button for a given LEAP button.
Definition at line 406 of file __init__.py.
| bool homeassistant.components.lutron_caseta.async_remove_config_entry_device | ( | HomeAssistant | hass, |
| LutronCasetaConfigEntry | entry, | ||
| dr.DeviceEntry | device_entry | ||
| ) |
Remove lutron_caseta config entry from a device.
Definition at line 485 of file __init__.py.
| bool homeassistant.components.lutron_caseta.async_setup | ( | HomeAssistant | hass, |
| ConfigType | base_config | ||
| ) |
Set up the Lutron component.
Definition at line 103 of file __init__.py.
| bool homeassistant.components.lutron_caseta.async_setup_entry | ( | HomeAssistant | hass, |
| LutronCasetaConfigEntry | entry | ||
| ) |
Set up a bridge from a config entry.
Definition at line 152 of file __init__.py.
| bool homeassistant.components.lutron_caseta.async_unload_entry | ( | HomeAssistant | hass, |
| LutronCasetaConfigEntry | entry | ||
| ) |
Unload the bridge from a config entry.
Definition at line 471 of file __init__.py.
|
private |
Definition at line 71 of file __init__.py.
| homeassistant.components.lutron_caseta.CONFIG_SCHEMA |
Definition at line 75 of file __init__.py.
| string homeassistant.components.lutron_caseta.DATA_BRIDGE_CONFIG = "lutron_caseta_bridges" |
Definition at line 73 of file __init__.py.
| list homeassistant.components.lutron_caseta.PLATFORMS |
Definition at line 92 of file __init__.py.