Classes | |
| class | CoverTemplate |
Functions | |
| def | _async_create_entities (hass, config) |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | _VALID_STATES |
| string | CLOSE_ACTION = "close_cover" |
| string | CLOSED_STATE = "closed" |
| string | CLOSING_STATE = "closing" |
| string | CONF_OPEN_AND_CLOSE = "open_or_close" |
| string | CONF_POSITION_TEMPLATE = "position_template" |
| string | CONF_TILT_OPTIMISTIC = "tilt_optimistic" |
| string | CONF_TILT_TEMPLATE = "tilt_template" |
| COVER_SCHEMA | |
| string | OPEN_ACTION = "open_cover" |
| string | OPEN_STATE = "open" |
| string | OPENING_STATE = "opening" |
| PLATFORM_SCHEMA | |
| string | POSITION_ACTION = "set_cover_position" |
| string | STOP_ACTION = "stop_cover" |
| string | TILT_ACTION = "set_cover_tilt_position" |
| tuple | TILT_FEATURES |
Support for covers which integrate with other components.
|
private |
| None homeassistant.components.template.cover.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
|
private |
|
private |
| string homeassistant.components.template.cover.CLOSE_ACTION = "close_cover" |
| string homeassistant.components.template.cover.CLOSED_STATE = "closed" |
| string homeassistant.components.template.cover.CLOSING_STATE = "closing" |
| string homeassistant.components.template.cover.CONF_OPEN_AND_CLOSE = "open_or_close" |
| string homeassistant.components.template.cover.CONF_POSITION_TEMPLATE = "position_template" |
| string homeassistant.components.template.cover.CONF_TILT_OPTIMISTIC = "tilt_optimistic" |
| string homeassistant.components.template.cover.CONF_TILT_TEMPLATE = "tilt_template" |
| homeassistant.components.template.cover.COVER_SCHEMA |
| string homeassistant.components.template.cover.OPEN_ACTION = "open_cover" |
| string homeassistant.components.template.cover.OPEN_STATE = "open" |
| string homeassistant.components.template.cover.OPENING_STATE = "opening" |
| homeassistant.components.template.cover.PLATFORM_SCHEMA |
| string homeassistant.components.template.cover.POSITION_ACTION = "set_cover_position" |
| string homeassistant.components.template.cover.STOP_ACTION = "stop_cover" |
| string homeassistant.components.template.cover.TILT_ACTION = "set_cover_tilt_position" |