Repository navigation
Editor
The editor is the sidebar panel Floor plan (URL /fns-floorplan, administrators only). It edits the same plan the card shows. Nothing is changed in Home Assistant until you press Save.

-
Top bar, similar to the automation editor of Home Assistant:
- the mode switch Items / Rooms,
- the floor selector (when the plan has more floors),
- Add (a menu of everything that can be placed),
- undo and redo, zoom buttons (+, -, fit the whole plan),
- Save,
- the three-dot menu with History, Check, Discard changes and the floor management (new, rename, delete). A dot on the menu warns when the check found problems.
- The plan in the middle. Scroll the wheel to zoom around the cursor, drag an empty spot to pan, pinch with two fingers on a touch screen.
- The side panel on the right shows the form of the selected item. Drag the strip between the plan and the panel to change its width (260 px to 60 % of the window, at most 720 px); the width is remembered in the browser.
On a phone (narrower than 800 px) the plan fills the screen and the form opens in a near full-height sheet, like an entity's more-info dialog, when you tap an item, add one or open History or Check. Dragging an item does not open the sheet. Close it with the cross.
| Mode | What you edit | The rest |
|---|---|---|
| Items | Lights, LED strips, appliances, sensors, text items, furniture, room labels | Rooms are shown, but locked |
| Rooms | Rooms (corners, walls, whole rooms), doors and windows | Items are dimmed and locked |
| Look | The colours of the plan | The plan is shown as a live card preview, nothing can be moved |
See Rooms, Doors and windows, Items and Look.
- Click an item to select it, drag it to move it. The grid is 5 cm.
- Arrow keys nudge the selection by 5 cm, Delete removes it.
- Ctrl+click adds items to the selection. Selected items move, nudge, copy and delete together.
-
Group (in the form of a multi-selection) stores a
group, so clicking one member always selects the whole group. - Esc clears the selection.
- While dragging, pink snap guides show alignment with other items, the centre of a room and walls.

Ctrl+click selects two items, then they are dragged together.
| Shortcut | Action |
|---|---|
| Ctrl+Z | Undo (100 steps) |
| Ctrl+Y or Ctrl+Shift+Z | Redo |
| Ctrl+C / Ctrl+X / Ctrl+V | Copy / cut / paste items or rooms. Pasting on the same floor offsets by 30 / 50 cm, on another floor the copy lands at the same place. A room is copied with its doors and windows. |
| Ctrl + click | Add to the selection |
| Delete | Delete the selection (a selected room corner is deleted, minimum 3 corners) |
| Arrow keys | Nudge by 5 cm |
| Alt while dragging | Turn snapping and guides off |
| Ctrl while dragging | Keep the movement on one axis (chosen by the first 5 cm of the move). Dragging a room corner with Ctrl instead snaps the walls to 15 degree steps, see Rooms. |
| Ctrl while rotating | Rotate in steps of 15 degrees instead of 1 degree |
| Esc | Clear the selection |
On macOS use Cmd instead of Ctrl.

Ctrl+C and Ctrl+V duplicate an item; the copy is offset and selected.
Every change goes on the undo stack (100 steps). The revision is never undone. The editor warns when you leave with unsaved changes.
Save writes the whole plan. Every save increases the plan's revision rev. The editor sends the revision it loaded, and if someone else saved a newer plan meanwhile, the save is refused with a conflict message: choose Discard changes to reload and repeat your edits. See Websocket API.
Saved plans are kept: see History and check.
A plan without levels has one floor. In the three-dot menu choose Floors to add a floor, rename it or delete it (a deleted floor takes its rooms and items with it; the first floor cannot be deleted). A new floor starts in the Rooms mode.
Rooms and items belong to a floor with the level key; ones without it belong to the first floor. Doors and windows follow their room. The floor selector at the top switches the floor being edited, and the card shows floor tabs. See the Plan format.

To draw a plan over an existing drawing, upload an image under a floor: floor management, Tracing image. Move and resize it, and set its opacity. The image is only visible in the editor, never on the card. Allowed formats are PNG, JPG, WEBP and SVG up to 15 MB. The file is stored in www/fns_floorplan/ of your configuration (served as /local/fns_floorplan/...).

The forms use Home Assistant's own selectors (entity picker, number, select, switch, colour picker, icon picker) in collapsible sections (Basic, When running, Appearance, Position, Actions, Rules). Which sections are open is remembered. The entity picker also searches by name.
Items without an entity have a red dashed outline, so you find unfinished work at a glance.
Documentation site | Repository | Issues | Support: Ko-fi · PayPal · Bitcoin
English
- FNS Floorplan – help
- Installation
- Quick start
- Editor overview
- Rooms
- Doors and windows
- Items
- Rules
- Look
- Card
- Room panel
- Robot vacuum
- History and check
- Plan format
- Websocket API
- FAQ and troubleshooting
- Changelog
- The card is not found after the installation
- "Custom element doesn't exist" or a configuration error appears
- Icons are missing
- Some texts are not translated
- A light does not glow in the colour I expect
- The card shows the old version after an update
- The card is slow or choppy
- Saving says the plan changed meanwhile (conflict)
- The plan is empty
- A rule does not apply
- The sidebar entry is missing
- Something else does not work
- The card says it is waiting for the integration
- Support
Česky
- FNS Floorplan – nápověda
- Instalace
- Rychlý start
- Přehled editoru
- Místnosti
- Dveře a okna
- Položky
- Pravidla
- Vzhled
- Karta
- Panel místnosti
- Robotický vysavač
- Historie a kontrola
- Formát plánu
- Websocket API
- Časté otázky a řešení potíží
- Změny
- Po instalaci se karta nenajde
- Občas se objeví „Custom element doesn't exist“ nebo chyba konfigurace
- Chybí ikony
- Některé texty se nepřekládají
- Světlo nesvítí v barvě, kterou čekám
- Po aktualizaci karta zobrazuje starou verzi
- Karta se seká nebo je pomalá
- Při ukládání se hlásí, že se půdorys mezitím změnil (konflikt)
- Půdorys je prázdný
- Pravidlo se neuplatní
- V postranním menu chybí položka
- Něco jiného nefunguje
- Karta hlásí, že čeká na integraci
- Podpora
Deutsch
- FNS Floorplan – Hilfe
- Installation
- Schnellstart
- Editor-Übersicht
- Räume
- Türen und Fenster
- Elemente
- Regeln
- Aussehen
- Karte
- Raum-Panel
- Saugroboter
- Verlauf und Prüfung
- Planformat
- Websocket-API
- Häufige Fragen und Fehlerbehebung
- Änderungen
- Die Karte wird nach der Installation nicht gefunden
- „Custom element doesn't exist“ oder ein Konfigurationsfehler erscheint
- Symbole fehlen
- Einige Texte werden nicht übersetzt
- Ein Licht leuchtet nicht in der erwarteten Farbe
- Die Karte zeigt nach einem Update die alte Version
- Die Karte ruckelt oder ist langsam
- Beim Speichern heißt es, der Plan habe sich inzwischen geändert (Konflikt)
- Der Plan ist leer
- Eine Regel greift nicht
- Der Seitenleisten-Eintrag fehlt
- Etwas anderes funktioniert nicht
- Die Karte meldet, dass sie auf die Integration wartet
- Unterstützung
Polski
- FNS Floorplan – pomoc
- Instalacja
- Szybki start
- Przegląd edytora
- Pomieszczenia
- Drzwi i okna
- Elementy
- Reguły
- Wygląd
- Karta
- Panel pomieszczenia
- Odkurzacz
- Historia i kontrola
- Format planu
- Websocket API
- FAQ i rozwiązywanie problemów
- Lista zmian
- Karta nie jest znaleziona po instalacji
- Pojawia się „Custom element doesn't exist” lub błąd konfiguracji
- Brakuje ikon
- Niektóre teksty nie są przetłumaczone
- Światło nie świeci w kolorze, jakiego oczekuję
- Karta pokazuje starą wersję po aktualizacji
- Karta działa wolno lub się zacina
- Zapis zgłasza, że plan w międzyczasie się zmienił (konflikt)
- Plan jest pusty
- Reguła nie działa
- Brakuje pozycji w pasku bocznym
- Coś innego nie działa
- Karta pisze, że czeka na integrację
- Wsparcie