Repository navigation
Card
Edit a dashboard, Add card, and search for FNS Floorplan; or in YAML:
type: custom:fns-floorplan-cardThe card shows the plan saved in the editor and redraws by itself after each save (it subscribes to the plan over the websocket, and after a Home Assistant restart it subscribes again).

| Option | Values | Default | Description |
|---|---|---|---|
mode |
auto, ha, day, night
|
auto |
Look of the card |
rotate |
auto, true, false
|
auto |
Rotation of the plan by 90 degrees |
level |
floor id | first floor | Default floor; stored only when it is not the first one |
tools |
true, false
|
true |
false hides the layer and replay buttons |
type: custom:fns-floorplan-card
mode: ha
rotate: auto
level: upstairs
tools: falseThe visual card editor has the same fields (Appearance, Plan rotation, Default floor, Layer and replay buttons) and a button Edit floor plan that opens the editor.
-
auto: day whensun.sunis above the horizon, night otherwise, -
ha: follows the light or dark theme of Home Assistant, -
day,night: always one look.
-
auto: a card narrower than 600 px turns a wide plan by 90 degrees, but only when the plan is more than 1.25 times wider than tall, -
true: always turn,false: never.
The card looks good in both themes. With mode: ha it follows the light or dark theme of Home Assistant, with auto the sun decides, and day or night fixes one look (see mode).
| Dark theme | Light theme |
|---|---|
![]() |
![]() |
The look of the card itself can also be set independently of the theme:
Mode day
|
Mode night
|
|---|---|
![]() |
![]() |

The card switching from the dark to the light look and back.
- Walls and glow take the
--primary-colorof your theme; the card background is the same colour at 5 % opacity. A light that is on, an open door or window and a triggered alarm take the state colours of your theme (--state-light-active-color,--state-binary_sensor-active-color,--state-alarm_control_panel-triggered-color), other devices their own state colours. Any of these can be replaced by your own colours in the editor's Look tab. - Labels and icons keep roughly the same size on screen (text about 11 px): they grow on a small card (labels up to 2.2 times, icons 1.5 times) and shrink on a huge one (0.5 times).
- The plan is at most 85 % of the window height; on a very wide card it stays in the middle.
- With more floors, floor tabs sit at the top left.
Unless tools: false, a row of badges above the plan offers:
- temperature (degrees C): rooms are coloured by temperature (17 to 25 degrees C),
- humidity (%): rooms coloured by humidity (30 to 70 %),
- replay (clock icon): the day replay bar.
With temperature or humidity on, a colour legend appears under the plan. The choice is remembered in the browser. The room label shows temperature normally, and humidity and other values white at night and black by day; a cold or warm temperature is blue or red. The outside temperature chip comes from the room set as outdoor.



Toggling the temperature layer.
The clock button opens a bar under the plan, which does not cover it. It replays the last 24 hours from the Home Assistant history: lights, doors and devices go back in time. Rule templates stay live during the replay.

| Item | Tap | Hold |
|---|---|---|
| Light | toggle | details |
| Appliance, vacuum, door, window | details | details |
| Scene, button, script | activate | |
| Room | opens the room panel |
Everything can be changed per item with actions. Tooltips list what tap, double tap and hold do.
What the card shows when the entities change:

The front door opens and closes, the door leaf swings.

A window opens and closes.

A blind is drawn along its window.

Lights turn on one after another, each room glows in the colour of its light.

A light changes colour.

A motion sensor sends out a ripple, then calms down.

A running washing machine shows a ring around its icon.

A countdown ring around the dishwasher while its timer runs.

A triggered alarm tints the whole flat until it is disarmed.

The flame of a fireplace flickers while its switch is on.
Animations run only while something moves and while the card is on the screen. Cards that are not visible do not animate, and prefers-reduced-motion suppresses icon animations.
Next: Room panel.
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



