Skip to content
nuvie planner

H-305Reference · 3 min read

Home Assistant card and integration reference

Details for the Nuvie Planner integration and its custom:nuvie-home-card. To set it up, follow Connect your plan to Home Assistant.

About Home Assistant →

All docs

Card options

Dashboard card (YAML)
type: custom:nuvie-home-card
title: Home           # default: the project name ("" hides it)
floor: ground_floor   # the storey to open on (floor_id or name)
height: 480           # px
show_unlinked: false  # also pin items that aren't linked (grey)
show_summary: true    # the "what's on" list
quality: auto         # auto | saver | balanced | high | ultra
time: live            # live (the real sun) | studio (fixed daylight) | "18:30"
weather: live         # live | clear | partly | overcast | rain | fog
weather_entity: weather.home   # default: the first weather.* entity
show_settings: true   # the sliders button (quality, time, weather per device)
show_coverage: false  # draw what each camera sees (the camera button toggles it)

On the card

Do thisTo
Tap a light, switch or fanToggle it (locks never toggle on a tap).
Tap anything else, or right-click / long-pressOpen its details.
Tap a smart switchShow its buttons, each with its own toggle.
Tap a room in “what's on”Fly the camera to it.
Floor buttonsShow one storey, with the ones above and the roof hidden.
Drag · right-drag · scrollRotate and tilt · pan · zoom (two fingers and pinch on touch).
Arrow keys · Shift + arrows · + / −Rotate and tilt · pan · zoom.
Pencil (admins)Edit mode: link any device or switch button to an entity.
Sliders buttonQuality, time of day and weather for this device, remembered in this browser.
Camera buttonShow what each linked camera sees, as a wedge on the floor (show_coverage: true turns it on by default).

Security on the card

WhenThe card
The alarm is triggered, a siren sounds, or smoke, heat, gas, CO, a leak or a glass break is detectedTurns red with a banner naming the room. Tap the banner text to fly to the room, Details to open the entity.
Someone rings a doorbellA blue banner for 30 seconds; View opens the doorbell's camera.
A motion sensor detects motionIts room lights up purple.
AlwaysThe summary leads with the alarm state, open doors and windows, unlocked locks and the latest motion (“Motion · Hallway · 2 min ago”). Tap one for its details.
Home Assistant's own device class wins when it has one.
In the planLinks to
CCTV cameracamera.* (its field of view and range come from its lens)
Video doorbell, video door phonecamera.*, plus a Ring entity: event.* or binary_sensor.*
Motion sensor (wall PIR or ceiling 360°)binary_sensor.* (motion)
Smoke / heat / gas / CO detectorbinary_sensor.* (smoke, heat, gas or carbon_monoxide)
Door / window sensorbinary_sensor.* (door or window)
Water leak sensorbinary_sensor.* (moisture)
Glass-break sensorbinary_sensor.* (safety)
Siren / soundersiren.* (a tap opens it; it never sounds by accident)
Alarm keypadalarm_control_panel.* (a tap opens the keypad to arm or disarm)
Biometric lock / readerlock.* (a tap opens it; it never unlocks by accident)

Light and quality

SettingChoices
QualityAuto starts from the device and drops a level if frames get slow. Battery saver: no shadows, 2 room lights. Balanced: sun shadows, up to 1.5× resolution, 4 room lights. High: soft shadows, up to 2×, 8 room lights. Ultra: 4K shadows at full resolution, for desktops.
Time of dayNow follows Home Assistant's sun.sun - shadows, golden hour, twilight and night, when only the lights that are on light their rooms. Pick a time uses Home Assistant's location and time zone. Studio is a fixed daylight.
WeatherLive follows the weather entity, or pick one. Overcast softens the shadows; rain and fog add haze. Nothing animates, so the card draws nothing while idle.

What the integration does

  • Creates your storeys as floors and your rooms as areas, reusing any with the same name. It never renames or deletes.
  • Moves linked entities into their room only if they don't have one yet.
  • Serves the device map and 3D model to signed-in users only, at /api/nuvie/manifest and /api/nuvie/model.
  • Stores links made on the card in .storage/nuvie.links; they win over the plan's.
  • Connected to your Nuvie account, checks for a newer plan every 10 minutes and downloads the plan and 3D model; if Nuvie can't be reached it keeps using the copy it has.
  • Syncs at start-up, when a newer plan arrives (or a new export is unzipped), or when you run nuvie.sync (Nuvie Planner: Sync from the plan).

What's in the export

A connected Home Assistant writes the same files (except the integration) itself, into the same folders.

PathWhat
custom_components/nuvie/The integration and the card script.
nuvie/nuvie_home.jsonFloors, rooms and every light and device, with its entity and position (schema nuvie.home-assistant/1).
nuvie/model.glbThe 3D model the card draws.
www/nuvie/<floor>.svgPlain floor-plan images, for a picture-elements card.
dashboard/<floor>.yamlA ready picture-elements card per storey.