Commit Graph

3 Commits

Author SHA1 Message Date
Shadow
66d84d91c2 Fix scene selection state
Some checks failed
CI / build (push) Has been cancelled
CI / test (push) Has been cancelled
2026-02-07 13:56:11 -06:00
Justin Ruckman
bda9995ed8 Add HomeKit scenes support (list + execute via REST API)
- GET /homekit/scenes — list all scenes with id, name, homeId, type, isExecuting
- POST /homekit/scenes/:id/execute — execute a scene by UUID

Server:
  - HomeKitManager: scenes property, scene(with:) lookup, executeScene() async
  - HomeKitServer: route handling for GET and POST with homeKit-disabled guard
  - HomeKitPayload/HomeKitMapper: CasaScene model and JSON serialization

UI:
  - Sidebar: new Scenes section with 'All scenes' + per-scene rows
  - Selecting a scene switches API docs to show scene-specific endpoints
  - Scene filter dropdown mirrors existing accessory filter for consistency
  - Accessory and scene selections are mutually exclusive
2026-02-07 13:56:11 -06:00
Shadow
3ece0937a8
Squashed commit 2026-01-10 11:59:49 -06:00