various tidyups

This commit is contained in:
zorruno
2026-08-15 14:58:19 +12:00
parent c85ab28c10
commit dbb0a6a89c
30 changed files with 2977 additions and 684 deletions
+25
View File
@@ -65,6 +65,10 @@ input_text:
name: Lounge Last Scene
initial: "All Off"
max: 40
lounge_scene_display:
name: Lounge Scene Display
initial: "Select Scene"
max: 40
timer:
lounge_override_timer:
@@ -111,6 +115,14 @@ script:
- "Dining On/Off"
#- "Night Light"
display_scenes:
- "Bright"
- "TV General"
- "Balanced"
- "Movie"
- "Night Light"
- "Warm Cozy"
#####################################################################
# SCENE SETTINGS
# Delta only - only list entities you want to change.
@@ -294,6 +306,19 @@ script:
data:
value: "{{ sel }}"
- choose:
- conditions: "{{ sel in display_scenes }}"
sequence:
- service: input_text.set_value
target: { entity_id: input_text.lounge_scene_display }
data:
value: "{{ sel }}"
default:
- service: input_text.set_value
target: { entity_id: input_text.lounge_scene_display }
data:
value: "Select Scene"
#########################################################################
# APPLY SELECTED SCENE
#########################################################################