various tidyups
This commit is contained in:
@@ -635,10 +635,13 @@ script:
|
||||
entity_id: input_datetime.outdoor_lighting_number_16_last_schedule_event
|
||||
data:
|
||||
datetime: "{{ (selected_event_ts | int(0)) | timestamp_custom('%Y-%m-%d %H:%M:%S', true) }}"
|
||||
- action: script.outdoor_lighting_ramp_number_16
|
||||
- action: script.turn_on
|
||||
target:
|
||||
entity_id: script.outdoor_lighting_ramp_number_16
|
||||
data:
|
||||
target_brightness: "{{ selected_target | int(0) }}"
|
||||
ramp_seconds: "{{ ramp_to_use | int(0) }}"
|
||||
variables:
|
||||
target_brightness: "{{ selected_target | int(0) }}"
|
||||
ramp_seconds: "{{ ramp_to_use | int(0) }}"
|
||||
|
||||
#############################################################################
|
||||
# 4) Main Entrance Outside LED Lights
|
||||
@@ -787,10 +790,13 @@ script:
|
||||
entity_id: input_datetime.outdoor_lighting_main_entrance_last_schedule_event
|
||||
data:
|
||||
datetime: "{{ (selected_event_ts | int(0)) | timestamp_custom('%Y-%m-%d %H:%M:%S', true) }}"
|
||||
- action: script.outdoor_lighting_ramp_main_entrance
|
||||
- action: script.turn_on
|
||||
target:
|
||||
entity_id: script.outdoor_lighting_ramp_main_entrance
|
||||
data:
|
||||
target_brightness: "{{ selected_target | int(0) }}"
|
||||
ramp_seconds: "{{ ramp_to_use | int(0) }}"
|
||||
variables:
|
||||
target_brightness: "{{ selected_target | int(0) }}"
|
||||
ramp_seconds: "{{ ramp_to_use | int(0) }}"
|
||||
|
||||
#############################################################################
|
||||
# Reconcile all
|
||||
|
||||
Reference in New Issue
Block a user