How toomuhtsh/maquette-card works
Maquette is a Home Assistant Lovelace card and built-in floor-plan editor. Users draw or import a plan, link rooms and objects to Home Assistant entities, save it in dashboard configuration, then view live state and interact with the home. The graph preserves documented capabilities such as floors, ambience, replay, widgets, workshops, sharing, cleanup, and import safety. Relationships for unsampled feature modules are based on README statements; source excerpts do not expose most runtime wiring.
Main entry points: editeur/classe-coeur.js Plan editor · carte/classe-coeur.js Maquette card · classe-actions.js Action confirmation · classe-ambiance.js Live ambience
Components 21
Live card
- Maquette card
src/carte/classe-coeur.js - Plan renderer
src/carte/classe-rendu-plan.js - Live ambience
src/carte/classe-ambiance.js - Window lighting
src/carte/ambiance-lumiere.js - Floor views
src/carte/classe-etages.js - Day replay
src/carte/classe-replay.js - Widgets and fiches
src/carte/classe-widgets.js - Action confirmation
src/carte/classe-actions.js
Plan editing
- Plan editor
src/editeur/classe-coeur.js - Plan drawing
src/editeur/classe-dessin.js - Entity linking
src/editeur/classe-entites.js - Element dialogs
src/editeur/classe-modale-edition.js - Floor editing
src/editeur/classe-gestion-etages.js
Plan extensions
- Object workshops
src/editeur/classe-atelier.js - Widget library
src/editeur/classe-catalogue.js - Sharing and templates
src/editeur/classe-partage.js - Plan import export
src/editeur/classe-import-export.js - Plan cleanup
src/maquette-nettoyage.js
Home Assistant
- Home Assistant
- Dashboard configuration
Other components
- Dashboard user
Connections 22
- Dashboard user → Maquette card: opens and uses
- Dashboard user → Plan editor: edits plan
- Maquette card → Plan renderer: renders plan
- Maquette card → Live ambience: shows live effects
- Live ambience → Window lighting: includes window light
- Maquette card → Floor views: selects floor
- Maquette card → Day replay: replays history
- Maquette card → Widgets and fiches: shows widgets
- Maquette card → Action confirmation: confirms sensitive actions
- Home Assistant → Maquette card: provides entity state
- Action confirmation → Home Assistant: invokes services
- Plan editor → Plan drawing: provides drawing tools
- Plan editor → Entity linking: links areas and devices
- Plan editor → Element dialogs: edits elements
- Plan editor → Floor editing: manages floors
- Plan editor → Dashboard configuration: saves plan
- Plan editor → Object workshops: opens workshops
- Plan editor → Widget library: selects widgets
- Plan editor → Sharing and templates: shares templates
- Plan editor → Plan import export: imports plans
- Plan import export → Action confirmation: previews controls
- Plan editor → Plan cleanup: cleans plan