Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::DeviceConfig Struct Reference

YAML-declared device metadata for registration; defaults match an undeclared device. More...

#include <device_registry.h>

Collaboration diagram for esphome::home_io_control::DeviceConfig:

Public Attributes

DeviceType type {DeviceType::UNKNOWN}
 Device type from YAML declaration.
uint8_t subtype {0}
 Device subtype byte.
bool inverted {false}
 Position-inversion flag.
bool optimistic_state {true}
 Whether apply_optimistic_target/clear_optimistic_target may fire.

Detailed Description

YAML-declared device metadata for registration; defaults match an undeclared device.

A new per-device attribute is a new field with a default here, not a new add() overload.

Definition at line 27 of file device_registry.h.

Member Data Documentation

◆ inverted

bool esphome::home_io_control::DeviceConfig::inverted {false}

Position-inversion flag.

Definition at line 30 of file device_registry.h.

◆ optimistic_state

bool esphome::home_io_control::DeviceConfig::optimistic_state {true}

Whether apply_optimistic_target/clear_optimistic_target may fire.

Definition at line 31 of file device_registry.h.

◆ subtype

uint8_t esphome::home_io_control::DeviceConfig::subtype {0}

Device subtype byte.

Definition at line 29 of file device_registry.h.

◆ type

DeviceType esphome::home_io_control::DeviceConfig::type {DeviceType::UNKNOWN}

Device type from YAML declaration.

Definition at line 28 of file device_registry.h.


The documentation for this struct was generated from the following file: