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

ESPHome binary/dimmable light platform schema and code generation. More...

Go to the source code of this file.

Namespaces

namespace  home_io_control
namespace  home_io_control.light

Functions

 home_io_control.light._inject_companion_ids (config)
 home_io_control.light._validate (config)
 home_io_control.light.to_code (config)

Variables

list home_io_control.light.DEPENDENCIES = ["home_io_control"]
 home_io_control.light.IOHomeLight = home_io_control_ns.class_("IOHomeLight", light.LightOutput, cg.Component)
str home_io_control.light.CONF_DIMMABLE = "dimmable"
 home_io_control.light.CONFIG_SCHEMA = cv.All(_validate, _inject_companion_ids)

Detailed Description

ESPHome binary/dimmable light platform schema and code generation.

Defines the binary (default) or dimmable light integration and wires it to the shared hub. Shared device-binding logic lives in platform_common.py; only light-specific entity construction/registration stays here.

Definition in file light.py.