Classes | |
| class | SwitchBeeSwitchEntity |
Functions | |
| None | __init__ (self, _DeviceTypeT device, SwitchBeeCoordinator coordinator) |
| None | _async_set_state (self, str state) |
| None | _handle_coordinator_update (self) |
| None | _update_from_coordinator (self) |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities) |
| None | async_turn_off (self, **Any kwargs) |
| None | async_turn_on (self, **Any kwargs) |
Variables | |
| _attr_is_on | |
Support for SwitchBee switch.
| None homeassistant.components.switchbee.switch.__init__ | ( | self, | |
| _DeviceTypeT | device, | ||
| SwitchBeeCoordinator | coordinator | ||
| ) |
|
private |
|
private |
|
private |
| None homeassistant.components.switchbee.switch.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| None homeassistant.components.switchbee.switch.async_turn_off | ( | self, | |
| **Any | kwargs | ||
| ) |
| None homeassistant.components.switchbee.switch.async_turn_on | ( | self, | |
| **Any | kwargs | ||
| ) |