Bit flags carried by a DeviceTypeInfo row.
static constexpr uint8_t YAML_SELECTABLE
Type rows only: the type's identifier is accepted by the YAML io_device_type key (hub_validators....
static constexpr uint8_t BRIGHTNESS_ONLY
Light rows only: brightness is the only controllable property (no colour, no colour temperature).
static constexpr uint8_t MAIN_PARAMETER_ONLY
Movement commands carry the main parameter only (no functional-parameter block), see device_takes_mai...
static constexpr uint8_t HAS_PLATFORM
An ESPHome platform of the row's capability class can drive this (type, subtype).
static constexpr uint8_t STANDALONE_NAME
Subtype rows only: name already is the complete description ("window lock") and is printed alone,...
std::string format_device_ids(DeviceType type, uint8_t subtype)
Wire values of a (type, subtype), for logs that must stay readable without the table.
DeviceCapabilityClass device_capability_class(DeviceType type)
Map a raw IO‑Homecontrol type to the closest ESPHome/Home Assistant entity family.
DeviceType
IO-Homecontrol node types.
static constexpr uint8_t SUBTYPE_MAIN_PARAMETER_ONLY
Subtype value that marks a device taking the main parameter only, on any node type.
static constexpr uint8_t SUBTYPE_HEATER_WITH_SETPOINT
Subtype of the electrical heater (node type 52) with an adjustable setpoint, the one driven over the ...
const DeviceTypeInfo * find_exact_device_type_info(DeviceType type, uint8_t subtype)
Look up the table row with exactly this (type, subtype), without falling back.
const char * device_platform_name(DeviceType type, uint8_t subtype)
Name of the ESPHome platform that drives this (type, subtype).
bool device_has_platform(DeviceType type, uint8_t subtype)
Can an ESPHome platform drive this (type, subtype) today?
const DeviceTypeInfo * find_device_type_info(DeviceType type, uint8_t subtype)
Look up the table row for a (type, subtype) pair.
DeviceCapabilityClass
High‑level capability class derived from DeviceType.
std::string format_device_kind(DeviceType type, uint8_t subtype)
Human-readable description of a (type, subtype) for logs and reports.
bool device_light_is_brightness_only(DeviceType type, uint8_t subtype)
Is this light limited to brightness (no colour, no colour temperature)?
IO-Homecontrol device-type model, capabilities and runtime device state.
One row of the node-type / subtype table.
uint8_t flags
device_type_flags bits.
uint8_t subtype
Subtype; 0 is the type's own row.
const char * name
Type row: lowercase identifier ("roller_shutter").
DeviceCapabilityClass capability
Entity family the device maps to.
DeviceType type
Node type.