Add HAOS scene preset buttons and smooth tutorial scrolling

Expose scene presets as button entities in the HA integration under a
dedicated "Scenes" device. Each button activates its scene via the API.
The coordinator now fetches scene presets alongside other data, and the
integration reloads when the scene list changes.

Also animate tutorial autoscroll with smooth behavior and wait for
scrollend before positioning the spotlight overlay.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 19:53:47 +03:00
parent a34edf9650
commit 252db09145
7 changed files with 208 additions and 38 deletions

View File

@@ -26,6 +26,11 @@
}
},
"entity": {
"button": {
"activate_scene": {
"name": "{scene_name}"
}
},
"switch": {
"processing": {
"name": "Processing"