Namespaces | |
| const | |
Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| def | get_plug_devices (hass, entity_configs) |
| def | get_system_unique_id (er.RegistryEntry entity) |
| def | validate_configs (hass, entity_configs) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| CONFIG_ENTITY_SCHEMA | |
| CONFIG_SCHEMA | |
Support for local power state reporting of entities by emulating TP-Link Kasa smart plugs.
| bool homeassistant.components.emulated_kasa.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the emulated_kasa component.
Definition at line 52 of file __init__.py.
| def homeassistant.components.emulated_kasa.get_plug_devices | ( | hass, | |
| entity_configs | |||
| ) |
Produce list of plug devices from config entities.
Definition at line 115 of file __init__.py.
| def homeassistant.components.emulated_kasa.get_system_unique_id | ( | er.RegistryEntry | entity | ) |
Determine the system wide unique_id for an entity.
Definition at line 110 of file __init__.py.
| def homeassistant.components.emulated_kasa.validate_configs | ( | hass, | |
| entity_configs | |||
| ) |
Validate that entities exist and ensure templates are ready to use.
Definition at line 81 of file __init__.py.
|
private |
Definition at line 25 of file __init__.py.
| homeassistant.components.emulated_kasa.CONFIG_ENTITY_SCHEMA |
Definition at line 27 of file __init__.py.
| homeassistant.components.emulated_kasa.CONFIG_SCHEMA |
Definition at line 38 of file __init__.py.