Install your floorplan in Home Assistant

The zip from Bitlit contains everything: images, a dashboard.yaml and these instructions (INSTALL.md). Nothing has to be installed in Home Assistant: it is a standard picture-elements card.

1. Copy the images

In the zip you find a folder www/bitlit/<your-plan>/. Copy it to /config/www/bitlit/<your-plan>/ on your Home Assistant. Ways to do that:

Did the www folder not exist yet? Restart Home Assistant once after creating it, otherwise /local/ does not work.

2. Add the card

  1. Open your dashboard and click the pencil (Edit dashboard).
  2. Click + Add card and pick Manual at the bottom of the list.
  3. Paste the full contents of dashboard.yaml and click Save.

Tip: put the card in a view of type Panel to use the full width.

3. Use it

# example: a "dark outside" sensor (configuration.yaml)
template:
  - binary_sensor:
      - name: "Dark outside"
        state: "{{ is_state('sun.sun', 'below_horizon') }}"

Troubleshooting

I still see the old images.
Hard-refresh (Ctrl+F5) or clear the cache of the companion app. Bitlit adds ?v=… to the image links, so new exports normally show up right away.
Broken image icon.
The path is wrong: check that the PNG files are in /config/www/bitlit/<your-plan>/ (the folder name you chose in the export step).
Tapping does nothing.
Check that the entity id is spelled correctly and exists. Full-size layers (the dark overlay) have pointer-events: none so they never block taps.
A light switches when I tap next to it.
Each glow layer is cropped to its light, but the tap area is the rectangle around it. Overlapping lights: the one later in the YAML is on top.

Updating

Open the .bitlit.json from the zip in the editor, make changes, export again and overwrite the files and the card YAML.