Repository navigation
API Reference
Willem edited this page Apr 6, 2026
·
5 revisions
This is a high-level reference of commonly used (or externally visible) interfaces. The internal framework evolves quickly; for full details, refer to the source and docstrings.
Core responsibilities:
- track which features are enabled for which devices
- serialize/restore matrix state
Key methods:
enable_feature_for_device(device_id, feature_id)get_enabled_features_for_device(device_id) -> dict[str, bool]get_enabled_devices_for_feature(feature_id) -> list[str]is_feature_enabled_for_device(feature_id, device_id) -> boolget_all_enabled_combinations() -> list[tuple[str, str]]get_matrix_state() -> dict[str, dict[str, bool]]restore_matrix_state(state)
Core responsibilities:
- reconcile "required entities" vs "current entities"
- create/remove entities via HA registries
Common entry points:
validate_entities_on_startup()calculate_entity_changes(old_state, new_state)create_entities_for_feature(feature_id, device_ids)remove_entities_for_feature(feature_id, device_ids)
The integration exposes a set of WebSocket commands for UI components and debugging.
Common command types (examples):
ramses_extras/default/get_bound_remramses_extras/default/get_2411_schemaramses_extras/default/get_enabled_featuresramses_extras/default/get_cards_enabledramses_extras/get_available_devicesramses_extras/get_entity_mappings
These commands are intended to be consumed from Lovelace cards via
callWebSocket().
Device handlers are used during discovery / creation and may emit events like:
ramses_device_ready_for_entities
Event payloads typically include device_id, device_type, and the list of
entity_ids associated with that device.
Back to: Home Prev: Debugging and Troubleshooting
- Feature Catalog
- CO2 Control
- Humidity Control (Balance)
- Temp Control (Bypass)
- FAN Configuration (Sensor Control)
- HVAC Fan Card
- Ramses Debugger
-
Device Simulator -
⚠️ Use only on dedicated system/container - Default Feature
- Hello World (Developer Example)