Classes | |
| class | DeclarativeCharacteristicSwitch |
| class | DeclarativeSwitchEntityDescription |
| class | HomeKitFaucet |
| class | HomeKitSwitch |
| class | HomeKitValve |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| string | ATTR_IN_USE = "in_use" |
| string | ATTR_IS_CONFIGURED = "is_configured" |
| string | ATTR_REMAINING_DURATION = "remaining_duration" |
| string | OUTLET_IN_USE = "outlet_in_use" |
Support for Homekit switches.
| None homeassistant.components.homekit_controller.switch.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| string homeassistant.components.homekit_controller.switch.ATTR_IN_USE = "in_use" |
| string homeassistant.components.homekit_controller.switch.ATTR_IS_CONFIGURED = "is_configured" |
| string homeassistant.components.homekit_controller.switch.ATTR_REMAINING_DURATION = "remaining_duration" |