Prepare for actionable notifications and add a few coffee automations
This commit is contained in:
parent
4c9be0982b
commit
1b478d4ec0
28
packages/ios.yaml
Normal file
28
packages/ios.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
ios:
|
||||
push:
|
||||
categories:
|
||||
- name: YesNo
|
||||
identifier: yesno
|
||||
actions:
|
||||
- identifier: 'YES'
|
||||
title: 'Ja'
|
||||
- identifier: 'NO'
|
||||
title: 'Nej'
|
||||
- name: YesLater
|
||||
identifier: yeslater
|
||||
actions:
|
||||
- identifier: 'YES'
|
||||
title: 'OK'
|
||||
- identifier: 'LATER'
|
||||
title: 'Vänta'
|
||||
- name: YesLaterNo
|
||||
identifier: yeslaterno
|
||||
actions:
|
||||
- identifier: 'YES'
|
||||
title: 'Ja'
|
||||
- identifier: 'LATER'
|
||||
title: 'Vänta'
|
||||
- identifier: 'NO'
|
||||
title: 'Nej'
|
||||
notify:
|
||||
- platform: ios
|
30
packages/reminders.yaml
Normal file
30
packages/reminders.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
homeassistant:
|
||||
customize:
|
||||
package.node_anchors:
|
||||
common: &common
|
||||
package: 'reminders'
|
||||
|
||||
automation:
|
||||
- alias: REM - Kaffet är klart
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: switch.kaffebryggare
|
||||
to: 'on'
|
||||
for:
|
||||
minutes: 5
|
||||
action:
|
||||
- service: notify.ios_thomas_iphone
|
||||
data:
|
||||
title: "Fikadax!"
|
||||
message: "Kaffet är färdigt!"
|
||||
- alias: REM - Stäng av kaffebryggaren
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: switch.kaffebryggare
|
||||
to: 'on'
|
||||
for:
|
||||
minutes: 15
|
||||
action:
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.kaffebryggare
|
Loading…
x
Reference in New Issue
Block a user