minor updates...

This commit is contained in:
Jeffrey Stone 2021-01-18 20:47:44 -05:00
parent cdc65a89e7
commit 5288c978d3
4 changed files with 13 additions and 20 deletions

View File

@ -11,8 +11,8 @@ automation:
alias: Coffee Time alias: Coffee Time
initial_state: true initial_state: true
trigger: trigger:
platform: template platform: time
value_template: "{{ states('sensor.time') == (state_attr('input_datetime.coffee_time', 'timestamp') | int | timestamp_custom('%H:%M', False)) }}" at: input_datetime.coffee_time
action: action:
- service: scene.turn_on - service: scene.turn_on
entity_id: scene.diminshed_livingroom_lighting entity_id: scene.diminshed_livingroom_lighting
@ -29,8 +29,8 @@ automation:
alias: Good Morning alias: Good Morning
initial_state: true initial_state: true
trigger: trigger:
platform: template platform: time
value_template: "{{ states('sensor.time') == (state_attr('input_datetime.good_morning', 'timestamp') | int | timestamp_custom('%H:%M', False)) }}" at: input_datetime.good_morning
action: action:
- service: scene.turn_on - service: scene.turn_on
entity_id: scene.normal_livingroom_lighting entity_id: scene.normal_livingroom_lighting
@ -58,8 +58,8 @@ automation:
alias: Skylar Bedtime alias: Skylar Bedtime
initial_state: true initial_state: true
trigger: trigger:
platform: template platform: time
value_template: "{{ states('sensor.time') == (state_attr('input_datetime.skylar_nightly_report', 'timestamp') | int | timestamp_custom('%H:%M', False)) }}" at: input_datetime.skylar_nightly_report
condition: condition:
- condition: state - condition: state
entity_id: input_boolean.vacation_mode entity_id: input_boolean.vacation_mode
@ -383,4 +383,5 @@ script:
- condition: state - condition: state
entity_id: group.garage_doors entity_id: group.garage_doors
state: 'on' state: 'on'
- service: script.driveway_on - service: script.turn_on
entity_id: script.driveway_on

View File

@ -25,6 +25,9 @@ aarlo:
last_format: '%m-%d %H:%M' last_format: '%m-%d %H:%M'
refresh_devices_every: 2 refresh_devices_every: 2
verbose_debug: True verbose_debug: True
tfa_host: 'imap.gmail.com'
tfa_username: !secret GV_USER
tfa_password: !secret GV_PASS
# Testing internet speedtest # Testing internet speedtest
speedtestdotnet: speedtestdotnet:

View File

@ -356,22 +356,11 @@ script:
master_bedroom_lights_w_level: master_bedroom_lights_w_level:
sequence: sequence:
- service: light.turn_on - service: light.turn_on
entity_id: light.jeff_lamp_level_light_color_on_off entity_id: light.jeff_lamp_level_light_color_on_off, light.tower_spotlight_level_on_off, light.kat_lamp
data: data:
brightness: > brightness: >
{{ level | int }} {{ level | int }}
color_temp: 369 color_temp: 369
- service: light.turn_on
entity_id: light.tower_spotlight_level_on_off
data:
brightness: >
{{ level | int }}
color_temp: 369
- service: light.turn_on
entity_id: light.kat_lamp
data:
brightness: >
{{ level | int }}
master_bedroom_morning_wakeup_lighting: master_bedroom_morning_wakeup_lighting: