various tidyups
This commit is contained in:
@@ -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
|
||||
#########################################################################
|
||||
|
||||
Reference in New Issue
Block a user