Classes | |
| class | SwitchBotBinarySensor |
Functions | |
| None | async_setup_entry (HomeAssistant hass, SwitchbotConfigEntry entry, AddEntitiesCallback async_add_entities) |
Variables | |
| coordinator = entry.runtime_data | |
| device_class | |
| entity_category | |
| key | |
| name | |
| int | PARALLEL_UPDATES = 0 |
| translation_key | |
Support for SwitchBot binary sensors.
| None homeassistant.components.switchbot.binary_sensor.async_setup_entry | ( | HomeAssistant | hass, |
| SwitchbotConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Definition at line 70 of file binary_sensor.py.
| homeassistant.components.switchbot.binary_sensor.coordinator = entry.runtime_data |
Set up Switchbot curtain based on a config entry.
Definition at line 76 of file binary_sensor.py.
| homeassistant.components.switchbot.binary_sensor.device_class |
Definition at line 28 of file binary_sensor.py.
| homeassistant.components.switchbot.binary_sensor.entity_category |
Definition at line 23 of file binary_sensor.py.
| homeassistant.components.switchbot.binary_sensor.key |
Definition at line 21 of file binary_sensor.py.
| homeassistant.components.switchbot.binary_sensor.name |
Definition at line 27 of file binary_sensor.py.
| int homeassistant.components.switchbot.binary_sensor.PARALLEL_UPDATES = 0 |
Definition at line 17 of file binary_sensor.py.
| homeassistant.components.switchbot.binary_sensor.translation_key |
Definition at line 22 of file binary_sensor.py.