Namespaces | |
| binary_sensor | |
| climate | |
| config_flow | |
| const | |
| cover | |
| device_tracker | |
| entity | |
| gateway | |
| handler | |
| helpers | |
| light | |
| remote | |
| sensor | |
| switch | |
| text | |
Functions | |
| bool | async_remove_config_entry_device (HomeAssistant hass, ConfigEntry config_entry, DeviceEntry device_entry) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| list[MySensorsChildEntity]|None | setup_mysensors_platform (HomeAssistant hass, Platform domain, DiscoveryInfo discovery_info, type[MySensorsChildEntity]|Mapping[SensorType, type[MySensorsChildEntity]] device_class,(tuple|None) device_args=None, Callable|None async_add_entities=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | DATA_HASS_CONFIG = "hass_config" |
Connect to a MySensors gateway via pymysensors API.
| bool homeassistant.components.mysensors.async_remove_config_entry_device | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| DeviceEntry | device_entry | ||
| ) |
Remove a MySensors config entry from a device.
Definition at line 79 of file __init__.py.
| bool homeassistant.components.mysensors.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up an instance of the MySensors integration. Every instance has a connection to exactly one Gateway.
Definition at line 34 of file __init__.py.
| bool homeassistant.components.mysensors.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Remove an instance of the MySensors integration.
Definition at line 56 of file __init__.py.
| list[MySensorsChildEntity] | None homeassistant.components.mysensors.setup_mysensors_platform | ( | HomeAssistant | hass, |
| Platform | domain, | ||
| DiscoveryInfo | discovery_info, | ||
| type[MySensorsChildEntity] | Mapping[SensorType, type[MySensorsChildEntity]] | device_class, | ||
| ( tuple | None ) | device_args = None, |
||
| Callable | None | async_add_entities = None |
||
| ) |
Set up a MySensors platform. Sets up a bunch of instances of a single platform that is supported by this integration. The function is given a list of device ids, each one describing an instance to set up. The function is also given a class. A new instance of the class is created for every device id, and the device id is given to the constructor of the class.
Definition at line 102 of file __init__.py.
|
private |
Definition at line 29 of file __init__.py.
| string homeassistant.components.mysensors.DATA_HASS_CONFIG = "hass_config" |
Definition at line 31 of file __init__.py.