Skip to content

LIBI 2026.10.28 – Net versions, an AI chat that knows your nets, and a phone layout

Choose a tag to compare

@GuyAzria GuyAzria released this 28 Oct 06:40
· 15 commits to main since this release

What's new

🕘 Every NET now has versions

Made a change that broke something? Go back.

  • When you open a project, every NET is recorded as V1.
  • Every SAVE & COMPILE that really changes a NET records the next version: V2, V3, …
  • A change you made in Home Assistant's own automation editor is recorded as a new version the next time you open the project.
  • The V badge next to each NET's name shows which version is running in Home Assistant right now.
  • Click the badge (or Versions in the NET's ⋮ menu) to see every version with its date, time and YAML.
  • Put on the canvas brings an earlier version back. Nothing changes in Home Assistant until you press SAVE & COMPILE; that version then becomes the one that runs, and the badge turns orange (V1 · newest V2) so you always know the newest version isn't the one running.
  • If you don't choose a version, the newest saved one is the one that runs.
  • A save with no change doesn't create a version, and doesn't rewrite or reload anything.

🤖 The AI chat knows the nets on your page

  • Ask about your logic: "what does the garden net do?"
  • Ask for a change: "water on Sunday, Tuesday, Thursday and Saturday at 5:00, skip it if it rains". You get a new draft and put it in place of the old net with Replace NET. The automation keeps its id.
  • The chat can suggest new helpers (days, start time, amount of water…). They're created only when you click.
  • When the logic reads settings, you get a dashboard card in YAML to copy, so you can change days, times and amounts from the dashboard.
  • The AI still never picks a device on its own. Every entity is one you ticked, and every draft is checked by LIBI and by Home Assistant's own validator before you can save it.

Privacy: with Share the nets on this page and my helpers on (the default), the chat sends only the YAML of the nets open in the LIBI page, your helpers, and the devices that match your request. The rest of automations.yaml, scripts.yaml and scenes.yaml is never sent. Turn the switch off to send less; with Local AI nothing leaves your server.

📱 Works on a phone

  • Nothing is wider than the screen any more, so no sideways scrolling.
  • ☰ on the left opens Home Assistant's sidebar.
  • ⋮ on the right holds Undo, Redo, Collapse and Traces.
  • Save is a round button.

Smaller improvements

  • A CHAT AI button on the collapsed sidebar opens the chat directly.
  • Clicking an element while the chat is open switches straight to that element's Inspector.

Fixes

  • Conditions that apply to the whole automation are written back under conditions: again, instead of being folded into the actions.

Upgrading

  1. Update LIBI in HACS.
  2. Restart Home Assistant (Settings ▸ System ▸ Restart). A quick reload isn't enough: until the restart, the Versions dialog asks you to restart.
  3. Open your project once: every NET gets its V1.

Your automations, scripts, scenes and projects are not changed by the update. The version history is stored in a new file next to each project, config/libi/<project>.versions.json, and is part of your Home Assistant backup.

Under the hood

  • New admin-only websocket command libi/net_versions.
  • The history is written atomically under the same lock as the saves. A refused save records no version, and an unreadable history file is left untouched.
  • Up to 30 versions per NET; the running one is never dropped.
  • New tests: tests/test_versions.py, plus browser tests for the versions dialog, the phone header and the phone, tablet and desktop layouts.

Full Changelog: v2026.10.26...v2026.10.28