Updated the Morning lights for the kids. THe kitchen lights were turning them off if we got up for the bathroom. ALL FIXE NOW hopefully!

This commit is contained in:
ccostan 2022-01-21 11:41:52 -05:00
parent 2d99c30e94
commit f0bbd947f1
5 changed files with 39 additions and 36 deletions

View File

@ -19,9 +19,13 @@
- condition: state - condition: state
entity_id: sun.sun entity_id: sun.sun
state: 'below_horizon' state: 'below_horizon'
- condition: time
after: "15:00:00"
before: "04:00:00"
- condition: state - condition: state
entity_id: input_boolean.guest_mode entity_id: input_boolean.guest_mode
state: 'off' state: 'off'
- condition: or - condition: or
conditions: conditions:
- condition: state - condition: state
@ -44,6 +48,7 @@
entity_id: input_boolean.good_night entity_id: input_boolean.good_night
- service: homeassistant.turn_off - service: homeassistant.turn_off
entity_id: group.outdoor_seasonal entity_id: group.outdoor_seasonal
- service: script.interior_off - service: script.interior_off
- wait_template: "{{ states.media_player.master_bedroom.state == 'standby' }}" - wait_template: "{{ states.media_player.master_bedroom.state == 'standby' }}"

View File

@ -74,7 +74,7 @@ http:
server_port: !secret http_port server_port: !secret http_port
ssl_certificate: !secret ssl_certificate ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key ssl_key: !secret ssl_key
ip_ban_enabled: True ip_ban_enabled: false
login_attempts_threshold: 3 login_attempts_threshold: 3
frontend: frontend:

View File

@ -61,8 +61,6 @@ monthly_color_scene:
thanksgiving thanksgiving
{%- elif states('sensor.chanukkah_countdown') | int <= 1 -%} {%- elif states('sensor.chanukkah_countdown') | int <= 1 -%}
hanukkah hanukkah
{%- elif states('sensor.chanukkah_countdown') | int >= 357 -%}
hanukkah
{%- elif states('sensor.christmas_countdown') | int <= 25 -%} {%- elif states('sensor.christmas_countdown') | int <= 25 -%}
christmas christmas
{%- elif now().strftime("%m%d")|int == 1231 -%} {%- elif now().strftime("%m%d")|int == 1231 -%}

File diff suppressed because one or more lines are too long