aiohomematic-config

February 11, 2026 ยท View on GitHub

CI codecov PyPI

Presentation-layer library for Homematic device configuration UI.

Transforms Homematic device paramset descriptions into UI-optimized structures. No RPC knowledge, no CCU access -- operates purely on data structures from aiohomematic.

Installation

pip install aiohomematic-config

Quick Start

from aiohomematic_config import FormSchemaGenerator

generator = FormSchemaGenerator(locale="en")
schema = generator.generate(
    descriptions=descriptions,
    current_values=current_values,
    channel_type="HEATING_CLIMATECONTROL_TRANSCEIVER",
)
# schema is a Pydantic model, JSON-serializable
print(schema.model_dump_json(indent=2))

Key Components

ComponentPurpose
FormSchemaGeneratorParameterData + values -> JSON form schemas
ParameterGrouperFlat parameter list -> grouped sections
LabelResolverTechnical parameter IDs -> human-readable labels
ConfigSessionChange tracking, undo/redo, dirty state
ConfigExporterSerialize/deserialize device configurations
WidgetType mappingParameterType -> appropriate UI widget

License

MIT License - see LICENSE for details.