Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches

ESPHome cover platform schema and code generation. More...

Go to the source code of this file.

Namespaces

namespace  home_io_control
namespace  home_io_control.cover

Functions

 home_io_control.cover.device_supports_position_control (value)
 home_io_control.cover.device_supports_vent (value)
 home_io_control.cover.favorite_button_name (config)
 home_io_control.cover.vent_button_name (config)
 home_io_control.cover._inject_companion_ids (config)
 home_io_control.cover.to_code (config)

Variables

list home_io_control.cover.DEPENDENCIES = ["home_io_control"]
str home_io_control.cover.CONF_INVERT_POSITION = "invert_position"
str home_io_control.cover.CONF_OPTIMISTIC_STATE = "optimistic_state"
str home_io_control.cover.CONF_FAVORITE_BUTTON_ID = "_favorite_button_id"
str home_io_control.cover.CONF_VENT_BUTTON_ID = "_vent_button_id"
 home_io_control.cover.IOHomeCover = home_io_control_ns.class_("IOHomeCover", cover.Cover, cg.Component)
 home_io_control.cover.IOHomeCoverFavoriteButton
 home_io_control.cover.IOHomeCoverVentButton
dict home_io_control.cover.POSITION_CONTROL_DEVICE_TYPES
dict home_io_control.cover.VENT_DEVICE_TYPES
 home_io_control.cover.CONFIG_SCHEMA

Detailed Description

ESPHome cover platform schema and code generation.

Bridges the YAML cover: platform declaration to the runtime IOHomeCover entity. Shared device-binding logic lives in platform_common.py; cover-specific extras — the invert_position option and the favorite/ventilation companion buttons — stay here.

Definition in file cover.py.