Skip to content

Commit

Permalink
Time Fix to include seconds
Browse files Browse the repository at this point in the history
Include seconds in time trigger and conditions
Remove Manual Hue Config
Minor Tweaks
  • Loading branch information
geekofweek committed Jul 14, 2020
1 parent 932697d commit 79ae70f
Show file tree
Hide file tree
Showing 22 changed files with 248 additions and 255 deletions.
10 changes: 5 additions & 5 deletions automation/alarm.yaml
Expand Up @@ -53,7 +53,7 @@
variables:
master: 'media_player.sonos_living_room'
where: 'media_player.sonos_surround_sound, media_player.sonos_living_room, media_player.sonos_dining_room, media_player.sonos_kitchen, media_player.sonos_bathroom, media_player.sonos_bedroom, media_player.sonos_USER1s_office, media_player.sonos_USER1s_office_move, media_player.sonos_USER2s_office, media_player.sonos_move'
volume: '1'
volume: 1.0
what: 'You are not Authorized to be Here. Law Enforcement Has Been Notified!'
- service: notify.mobile_app_USER1s_iphone
data:
Expand Down Expand Up @@ -390,7 +390,7 @@
variables:
master: 'media_player.sonos_living_room'
where: 'media_player.sonos_surround_sound, media_player.sonos_living_room, media_player.sonos_dining_room, media_player.sonos_kitchen, media_player.sonos_bathroom, media_player.sonos_bedroom, media_player.sonos_USER1s_office, media_player.sonos_USER1s_office_move, media_player.sonos_USER2s_office, media_player.sonos_move'
volume: '.5'
volume: 0.5
what: 'Warning Alarm will Trigger in 15 Seconds'
- service: alarm_control_panel.alarm_trigger
entity_id:
Expand Down Expand Up @@ -657,7 +657,7 @@

trigger:
- platform: time
at: '05:00'
at: '05:00:00'

condition:
- condition: state
Expand Down Expand Up @@ -781,8 +781,8 @@
entity_id: input_boolean.disable_notifications
state: 'off'
- condition: time
after: '05:01'
before: '04:59'
after: '05:01:00'
before: '04:59:00'

action:
- service: notify.mobile_app_USER2_s_iphone
Expand Down
12 changes: 6 additions & 6 deletions automation/bedtime.yaml
Expand Up @@ -213,8 +213,8 @@
entity_id: input_boolean.thermostat_away
state: 'off'
- condition: time
after: '17:00'
before: '23:30'
after: '17:00:00'
before: '23:30:00'

action:
- service: climate.set_preset_mode
Expand All @@ -239,8 +239,8 @@

condition:
- condition: time
after: '00:00'
before: '06:00'
after: '00:00:00'
before: '06:00:00'
- condition: state
entity_id: input_select.holiday
state: 'None'
Expand Down Expand Up @@ -282,8 +282,8 @@

condition:
- condition: time
after: '00:00'
before: '07:30'
after: '00:00:00'
before: '07:30:00'
- condition: not
conditions:
- condition: state
Expand Down
4 changes: 2 additions & 2 deletions automation/blinds.yaml
Expand Up @@ -48,8 +48,8 @@
from: 'on'
to: 'off'
for:
hours: 1
minutes: 0
hours: 0
minutes: 30
seconds: 0

condition:
Expand Down
40 changes: 20 additions & 20 deletions automation/climate.yaml
Expand Up @@ -143,7 +143,7 @@
state: 'home'
- condition: numeric_state
entity_id: 'sensor.uptime'
above: '0.01'
above: 0.01
- condition: state
entity_id: input_boolean.thermostat_away
state: 'on'
Expand Down Expand Up @@ -188,7 +188,7 @@
state: 'off'
- condition: numeric_state
entity_id: 'sensor.uptime'
above: '0.01'
above: 0.01
- condition: state
entity_id: switch.summer_mode
state: 'on'
Expand Down Expand Up @@ -232,7 +232,7 @@
state: 'off'
- condition: numeric_state
entity_id: 'sensor.uptime'
above: '0.01'
above: 0.01
- condition: state
entity_id: input_boolean.thermostat_away
state: 'on'
Expand Down Expand Up @@ -274,7 +274,7 @@
state: 'off'
- condition: numeric_state
entity_id: 'sensor.uptime'
above: '0.01'
above: 0.01
- condition: state
entity_id: input_boolean.thermostat_away
state: 'off'
Expand Down Expand Up @@ -328,7 +328,7 @@
state: 'off'
- condition: numeric_state
entity_id: 'sensor.uptime'
above: '0.01'
above: 0.01
- condition: state
entity_id: input_boolean.thermostat_away
state: 'on'
Expand Down Expand Up @@ -376,7 +376,7 @@
state: 'off'
- condition: numeric_state
entity_id: 'sensor.uptime'
above: '0.01'
above: 0.01
- condition: state
entity_id: input_boolean.thermostat_away
state: 'off'
Expand Down Expand Up @@ -527,7 +527,7 @@

trigger:
- platform: time
at: '23:31'
at: '23:31:00'

condition:
- condition: state
Expand Down Expand Up @@ -565,8 +565,8 @@

condition:
- condition: time
after: '00:00'
before: '04:59'
after: '00:00:00'
before: '04:59:00'
- condition: state
entity_id: input_boolean.disable_climate
state: 'off'
Expand All @@ -591,7 +591,7 @@

trigger:
- platform: time
at: '05:00'
at: '05:00:00'

condition:
- condition: state
Expand Down Expand Up @@ -637,8 +637,8 @@

condition:
- condition: time
after: '06:00'
before: '07:30'
after: '06:00:00'
before: '07:30:00'
- condition: state
entity_id: input_boolean.disable_home_away
state: 'off'
Expand Down Expand Up @@ -733,7 +733,7 @@

trigger:
- platform: time
at: '12:00'
at: '12:00:00'

condition:
- condition: state
Expand Down Expand Up @@ -795,8 +795,8 @@
entity_id: input_boolean.disable_climate
state: 'off'
- condition: time
after: '12:00'
before: '19:00'
after: '12:00:00'
before: '19:00:00'
- condition: time
weekday:
- mon
Expand Down Expand Up @@ -825,7 +825,7 @@

trigger:
- platform: time
at: '22:00'
at: '22:00:00'

condition:
- condition: state
Expand Down Expand Up @@ -877,8 +877,8 @@

condition:
- condition: time
after: '09:00'
before: '23:30'
after: '09:00:00'
before: '23:30:00'
- condition: state
entity_id: input_boolean.thermostat_away
state: 'off'
Expand Down Expand Up @@ -919,8 +919,8 @@

condition:
- condition: time
after: '09:00'
before: '23:30'
after: '09:00:00'
before: '23:30:00'
- condition: state
entity_id: input_boolean.thermostat_away
state: 'off'
Expand Down
16 changes: 8 additions & 8 deletions automation/doorbell.yaml
Expand Up @@ -354,8 +354,8 @@
entity_id: input_select.living_room_tv_remote
state: 'PowerOff'
- condition: time
after: '08:00'
before: '22:00'
after: '08:00:00'
before: '22:00:00'
- condition: or
conditions:
- condition: state
Expand Down Expand Up @@ -397,8 +397,8 @@
entity_id: input_boolean.disable_doorbell
state: 'off'
- condition: time
after: '08:00'
before: '23:00'
after: '08:00:00'
before: '23:00:00'
- condition: state
entity_id: person.USER1
state: 'home'
Expand Down Expand Up @@ -441,8 +441,8 @@
entity_id: input_boolean.disable_doorbell
state: 'off'
- condition: time
after: '08:00'
before: '03:30'
after: '08:00:00'
before: '03:30:00'
- condition: state
entity_id: person.USER1
state: 'home'
Expand Down Expand Up @@ -482,8 +482,8 @@
entity_id: input_select.bedroom_tv_remote
state: 'Watch TV'
- condition: time
after: '08:00'
before: '21:00'
after: '08:00:00'
before: '21:00:00'

action:
- service: camera.play_stream
Expand Down
8 changes: 4 additions & 4 deletions automation/doors.yaml
Expand Up @@ -85,8 +85,8 @@

condition:
- condition: time
after: '00:00'
before: '05:00'
after: '00:00:00'
before: '05:00:00'
- condition: state
entity_id: input_boolean.disable_door_open_lights_on
state: 'off'
Expand Down Expand Up @@ -209,8 +209,8 @@

condition:
- condition: time
after: '00:00'
before: '05:00'
after: '00:00:00'
before: '05:00:00'
- condition: state
entity_id: input_boolean.disable_door_open_lights_on
state: 'off'
Expand Down
4 changes: 2 additions & 2 deletions automation/garage.yaml
Expand Up @@ -316,8 +316,8 @@

condition:
- condition: time
after: '06:00'
before: '07:30'
after: '06:00:00'
before: '07:30:00'
- condition: state
entity_id: input_boolean.disable_auto_garage
state: 'off'
Expand Down

0 comments on commit 79ae70f

Please sign in to comment.