Starting to prep for #1072 - IOS refactor

This commit is contained in:
ccostan 2021-07-08 15:57:50 -04:00
parent 79819a0f15
commit 40a4913eff
4 changed files with 41 additions and 38 deletions

View File

@ -1 +1 @@
2021.6.4 2021.7.1

View File

@ -29,7 +29,6 @@ homeassistant:
# api_password: !secret http_password # api_password: !secret http_password
network: network:
zeroconf: zeroconf:
ipv6: false
system_health: system_health:
#Note: The influxdb runs along side the HA DB. It does not replace it. influxdb is used to grab data for Grafana. #Note: The influxdb runs along side the HA DB. It does not replace it. influxdb is used to grab data for Grafana.

View File

@ -49,40 +49,6 @@ input_boolean:
icon: mdi:tablet icon: mdi:tablet
automation: automation:
- alias: Tablet Already taken
id: 1f295bb8-8925-4b22-8f75-9fe079b295a8
trigger:
platform: event
event_type: ios.notification_action_fired
event_data:
actionName: TABLET_TAKEN
action:
- service: input_boolean.turn_on
entity_id: input_boolean.medicine
- alias: Remind Me Later
id: 79b49c85-f832-47d7-b02d-bff099ef6fbc
trigger:
platform: event
event_type: ios.notification_action_fired
event_data:
actionName: NOT_HOME
action:
- service: script.notify_engine
data:
title: 'Medicine Reminder'
value1: 'Ok. I will remind you when you get home.'
who: 'carlo'
apns_id: 'Medicine'
- wait_template: >-
{{ states.person.carlo.state == 'home' }}
- service: script.notify_engine
data:
title: 'Medicine Reminder'
value1: 'Now that your home, please take your medicine!'
who: 'carlo'
apns_id: 'Medicine'
- alias: Medicine Reminder - alias: Medicine Reminder
id: 78c47087-8242-470c-97d1-3dc5747ed576 id: 78c47087-8242-470c-97d1-3dc5747ed576
initial_state: true initial_state: true
@ -114,4 +80,42 @@ automation:
who: "carlo" who: "carlo"
apns_id: 'Medicine' apns_id: 'Medicine'
- alias: Remind Me Later
id: 79b49c85-f832-47d7-b02d-bff099ef6fbc
trigger:
platform: event
event_type: ios.notification_action_fired
event_data:
actionName: NOT_HOME
action:
- service: script.notify_engine
data:
title: 'Medicine Reminder'
value1: 'Ok. I will remind you when you get home.'
who: 'carlo'
apns_id: 'Medicine'
- wait_template: >-
{{ states.person.carlo.state == 'home' }}
- service: script.notify_engine
data:
title: 'Medicine Reminder'
value1: 'Now that your home, please take your medicine!'
who: 'carlo'
apns_id: 'Medicine'
- alias: Tablet Already taken
id: 1f295bb8-8925-4b22-8f75-9fe079b295a8
trigger:
platform: event
event_type: ios.notification_action_fired
event_data:
actionName: TABLET_TAKEN
action:
- service: input_boolean.turn_on
entity_id: input_boolean.medicine
## Reminders to take my Medicine! - End. ## Reminders to take my Medicine! - End.

View File

@ -72,7 +72,7 @@ automation:
call_garage_check: 1 call_garage_check: 1
- delay: - delay:
minutes: 20 minutes: 60
- service: script.tweet_engine_image - service: script.tweet_engine_image
data: data:
@ -95,4 +95,4 @@ automation:
] | random }} ] | random }}
- delay: - delay:
minutes: 20 minutes: 60