Starting to prep for #1072 - IOS refactor
This commit is contained in:
parent
79819a0f15
commit
40a4913eff
|
@ -1 +1 @@
|
|||
2021.6.4
|
||||
2021.7.1
|
|
@ -29,7 +29,6 @@ homeassistant:
|
|||
# api_password: !secret http_password
|
||||
network:
|
||||
zeroconf:
|
||||
ipv6: false
|
||||
system_health:
|
||||
|
||||
#Note: The influxdb runs along side the HA DB. It does not replace it. influxdb is used to grab data for Grafana.
|
||||
|
|
|
@ -49,40 +49,6 @@ input_boolean:
|
|||
icon: mdi:tablet
|
||||
|
||||
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
|
||||
id: 78c47087-8242-470c-97d1-3dc5747ed576
|
||||
initial_state: true
|
||||
|
@ -114,4 +80,42 @@ automation:
|
|||
who: "carlo"
|
||||
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.
|
||||
|
|
|
@ -72,7 +72,7 @@ automation:
|
|||
call_garage_check: 1
|
||||
|
||||
- delay:
|
||||
minutes: 20
|
||||
minutes: 60
|
||||
|
||||
- service: script.tweet_engine_image
|
||||
data:
|
||||
|
@ -95,4 +95,4 @@ automation:
|
|||
] | random }}
|
||||
|
||||
- delay:
|
||||
minutes: 20
|
||||
minutes: 60
|
||||
|
|
Loading…
Reference in New Issue