Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
home_io_control.button Namespace Reference

Functions

 to_code (config)

Variables

list DEPENDENCIES = ["home_io_control"]
 IOHomeDiscoverButton
tuple CONFIG_SCHEMA

Function Documentation

◆ to_code()

home_io_control.button.to_code ( config)

Definition at line 36 of file button.py.

Variable Documentation

◆ CONFIG_SCHEMA

tuple home_io_control.button.CONFIG_SCHEMA
Initial value:
1= (
2 button.button_schema(
3 IOHomeDiscoverButton,
4 entity_category=ENTITY_CATEGORY_CONFIG,
5 )
6 .extend(
7 {
8 cv.GenerateID(CONF_HOME_IO_CONTROL_ID): cv.use_id(
9 IOHomeControlComponent
10 ),
11 }
12 )
13 .extend(cv.COMPONENT_SCHEMA)
14)

Definition at line 20 of file button.py.

◆ DEPENDENCIES

list home_io_control.button.DEPENDENCIES = ["home_io_control"]

Definition at line 14 of file button.py.

◆ IOHomeDiscoverButton

home_io_control.button.IOHomeDiscoverButton
Initial value:
1= home_io_control_ns.class_(
2 "IOHomeDiscoverButton", button.Button, cg.Component
3)

Definition at line 16 of file button.py.