Repository navigation
Entity Management
Willem edited this page Jan 24, 2026
·
4 revisions
SimpleEntityManager encapsulates:
DeviceFeatureMatrix- entity diffing (what to add/remove)
- direct registry operations
It is responsible for ensuring the entity set in Home Assistant matches the current device/feature configuration.
Required entities are calculated from the device/feature matrix. At a high level:
- The enabled combinations are enumerated.
- For each combination, entity IDs are generated from feature definitions.
On startup, the manager validates consistency:
- Current entities (what exists now)
- Required entities (what should exist)
Then it computes:
- Extra entities: exist but shouldn’t
- Missing entities: should exist but don’t
And it performs cleanup + creation to reconcile.
When entities are created/removed, operations happen directly in the Home Assistant entity registry.
Entity creation uses:
- the domain from the
entity_idprefix -
unique_idderived from theentity_id - platform
ramses_extras
Back to: Home Prev: Device Feature Management Next: Home Assistant Integration
- 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)