Namespaces | |
| binary_sensor | |
| config_flow | |
| const | |
| light | |
| models | |
| sensor | |
| switch | |
Functions | |
| None | _async_get_device_state (MyStromSwitch|MyStromBulb device, str ip_address) |
| MyStromBulb | _get_mystrom_bulb (str host, str mac) |
| MyStromSwitch | _get_mystrom_switch (str host) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | PLATFORMS_BULB = [Platform.LIGHT] |
| list | PLATFORMS_PLUGS = [Platform.SENSOR, Platform.SWITCH] |
The myStrom integration.
|
private |
Definition at line 26 of file __init__.py.
|
private |
Definition at line 36 of file __init__.py.
|
private |
Definition at line 40 of file __init__.py.
| bool homeassistant.components.mystrom.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up myStrom from a config entry.
Definition at line 44 of file __init__.py.
| bool homeassistant.components.mystrom.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 85 of file __init__.py.
|
private |
Definition at line 23 of file __init__.py.
| list homeassistant.components.mystrom.PLATFORMS_BULB = [Platform.LIGHT] |
Definition at line 21 of file __init__.py.
| list homeassistant.components.mystrom.PLATFORMS_PLUGS = [Platform.SENSOR, Platform.SWITCH] |
Definition at line 20 of file __init__.py.