Skip to content

Add Home Assistant connection, import, and interaction#289

Open
Niutels wants to merge 52 commits intopascalorg:mainfrom
Niutels:dev-ha
Open

Add Home Assistant connection, import, and interaction#289
Niutels wants to merge 52 commits intopascalorg:mainfrom
Niutels:dev-ha

Conversation

@Niutels
Copy link
Copy Markdown

@Niutels Niutels commented May 3, 2026

Summary

  • Adds a Home Assistant connection flow for Pascal, including LAN instance discovery, OAuth linking, logout/unlink, and connection status handling.
  • Imports Home Assistant entities, scenes, scripts, automations, groups, and supported device actions into the Pascal smart-home panel.
  • Lets imported Home Assistant resources bind to Pascal collections/items and appear as room-level controls in the editor.
  • Adds interactive room control pills for triggering, toggling, and adjusting linked Home Assistant devices from the Pascal scene.
  • Preserves authored smart-home bindings and grouped room-control layouts across scene reloads.
  • Keeps the editor on the normal Pascal scene loading flow without custom local layout paths.

Demo

Home Assistant Pascal demo

Validation

  • PASS: bun x biome check apps/editor/app/_lib/home-assistant-auth.ts apps/editor/app/_lib/home-assistant-discovery.ts apps/editor/app/_lib/home-assistant-imports.ts apps/editor/app/_lib/home-assistant-instance-discovery.ts apps/editor/app/_lib/home-assistant-linked-profile.ts apps/editor/app/_lib/home-assistant-server.ts apps/editor/app/page.tsx packages/editor/src/components/ui/panels/home-assistant-panel.tsx packages/editor/src/features/home-assistant/room-overlay/room-control-overlay.tsx

Niutels added 30 commits April 22, 2026 11:07
# Conflicts:
#	packages/editor/src/components/ui/panels/panel-manager.tsx
#	packages/viewer/src/store/use-viewer.d.ts
#	packages/viewer/src/store/use-viewer.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant