Skip to content
Permalink
Browse files

Startup Notification Fix

  • Loading branch information
geekofweek committed May 21, 2020
1 parent 1fe831f commit 248ebadd418517be977eff97217b7323739ae19f
Showing with 42 additions and 126 deletions.
  1. +10 −113 automation/roomba.yaml
  2. +23 −3 automation/system.yaml
  3. +3 −0 automation/water_works.yaml
  4. +2 −10 configuration.yaml
  5. +4 −0 input_boolean.yaml
@@ -334,6 +334,11 @@
- condition: state
entity_id: group.friends_and_family
state: 'home'
- condition: not
conditions:
- condition: state
entity_id: person.USER2
state: 'home'

action:
- service: vacuum.start
@@ -511,6 +516,11 @@
- condition: state
entity_id: group.friends_and_family
state: 'home'
- condition: not
conditions:
- condition: state
entity_id: person.USER2
state: 'home'

action:
- service: vacuum.start
@@ -1586,59 +1596,6 @@
entity_id: group.friends_and_family
state: 'home'

action:
- service: notify.mobile_app_USER2_s_iphone
data:
message: Main Floor Roomba will Run in 5 Mins

##########################################################
## Run Main Floor Roomba Weekends iOS Notification
##########################################################

- alias: Roomba - Run Main Floor Roomba Weekends iOS Notification

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

condition:
- condition: state
entity_id: person.USER2
state: 'home'
- condition: state
entity_id: input_boolean.disable_roomba
state: 'off'
- condition: state
entity_id: input_boolean.main_floor_roomba_ran
state: 'off'
- condition: time
weekday:
- sat
- sun
- condition: state
entity_id: vacuum.main_floor_roomba
state: 'docked'
- condition: numeric_state
entity_id: sensor.main_floor_roomba_battery_level
above: 99
- condition: state
entity_id: input_select.remote
state: 'PowerOff'
- condition: state
entity_id: binary_sensor.living_room_motion
state: 'off'
- condition: state
entity_id: binary_sensor.dining_room_motion
state: 'off'
- condition: state
entity_id: binary_sensor.kitchen_motion
state: 'off'
- condition: not
conditions:
- condition: state
entity_id: group.friends_and_family
state: 'home'

action:
- service: notify.mobile_app_USER2_s_iphone
data:
@@ -1702,66 +1659,6 @@
entity_id: group.friends_and_family
state: 'home'

action:
- service: notify.mobile_app_USER2_s_iphone
data:
message: Upstairs Roomba will Run in 5 Mins

##########################################################
## Run Upstairs Roomba Weekends iOS Notification
##########################################################

- alias: Roomba - Run Upstairs Roomba Weekends iOS Notification

trigger:
- platform: time
at: '15:55'
- platform: time
at: '16:25'
- platform: time
at: '16:55'

condition:
- condition: state
entity_id: person.USER2
state: 'home'
- condition: state
entity_id: input_boolean.disable_roomba
state: 'off'
- condition: state
entity_id: input_boolean.upstairs_roomba_ran
state: 'off'
- condition: time
weekday:
- sat
- sun
- condition: state
entity_id: vacuum.main_floor_roomba
state: 'docked'
- condition: numeric_state
entity_id: sensor.upstairs_roomba_battery_level
above: 99
- condition: state
entity_id: group.household
state: 'home'
- condition: state
entity_id: binary_sensor.USER1s_office_motion
state: 'off'
- condition: state
entity_id: binary_sensor.USER2s_office_motion
state: 'off'
- condition: state
entity_id: binary_sensor.stairs_motion
state: 'off'
- condition: state
entity_id: binary_sensor.upstairs_bathroom_motion
state: 'off'
- condition: not
conditions:
- condition: state
entity_id: group.friends_and_family
state: 'home'

action:
- service: notify.mobile_app_USER2_s_iphone
data:
@@ -36,6 +36,26 @@
- input_boolean.disable_rainy_day
- input_boolean.disable_water_automations
- input_boolean.downstairs_roomba_pause
- input_boolean.disable_startup_notifications

##########################################################
## Disable Erroneous Startup Notifications
##########################################################

- alias: System - Disable Erroneous Startup Notifications

trigger:
- platform: homeassistant
event: start

action:
- service: homeassistant.turn_on
entity_id:
- input_boolean.disable_startup_notifications
- delay: 00:01:00
- service: homeassistant.turn_off
entity_id:
- input_boolean.disable_startup_notifications

##########################################################
## Delay HomeKit Start
@@ -118,9 +138,9 @@
- condition: state
entity_id: input_boolean.disable_notifications
state: 'off'
- condition: numeric_state
entity_id: 'sensor.uptime'
above: '0.01'
- condition: state
entity_id: input_boolean.disable_startup_notifications
state: 'off'

action:
- service: notify.mobile_app_USER1s_iphone
@@ -207,6 +207,9 @@
- condition: state
entity_id: input_boolean.disable_notifications
state: 'off'
- condition: state
entity_id: input_boolean.disable_startup_notifications
state: 'off'

action:
- service: notify.mobile_app_USER1s_iphone
@@ -4,18 +4,10 @@

homeassistant:
customize: !include customize.yaml
frontend:
default_config:
updater:
reporting: false
sun:
discovery:
config:
person:
system_health:
mobile_app:
ssdp:
zeroconf:
map:
stream:
http:
ssl_certificate: !secret ssl_certificate
@@ -27,7 +19,7 @@ http:

hue:
bridges:
- host: 'REDACTED.2'
- host: REDACTED.2
allow_hue_groups: false
allow_unreachable: true

@@ -211,3 +211,7 @@
garage_door_motor:
name: Garage Door Motor
icon: mdi:garage-alert

disable_startup_notifications:
name: Disable Startup Notifications
icon: mdi:bell-off

0 comments on commit 248ebad

Please sign in to comment.
You can’t perform that action at this time.