Classes | |
| class | EnOceanSwitch |
Functions | |
| None | _migrate_to_new_unique_id (HomeAssistant hass, dev_id, channel) |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
| str | generate_unique_id (list[int] dev_id, int channel) |
Variables | |
| string | CONF_CHANNEL = "channel" |
| string | DEFAULT_NAME = "EnOcean Switch" |
| PLATFORM_SCHEMA | |
Support for EnOcean switches.
|
private |
| None homeassistant.components.enocean.switch.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
| str homeassistant.components.enocean.switch.generate_unique_id | ( | list[int] | dev_id, |
| int | channel | ||
| ) |
| string homeassistant.components.enocean.switch.CONF_CHANNEL = "channel" |
| string homeassistant.components.enocean.switch.DEFAULT_NAME = "EnOcean Switch" |
| homeassistant.components.enocean.switch.PLATFORM_SCHEMA |