Notify K to feed the rabbit as well
This commit is contained in:
18
scripts.yaml
18
scripts.yaml
@ -2894,7 +2894,7 @@ rabbit_feeding:
|
|||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
type: alert
|
type: alert
|
||||||
who: parents
|
who: all
|
||||||
title: Rabbit Feeding
|
title: Rabbit Feeding
|
||||||
message: Zeus needs to be fed, please do this ASAP!
|
message: Zeus needs to be fed, please do this ASAP!
|
||||||
tag: rabbit-feeding
|
tag: rabbit-feeding
|
||||||
@ -2944,7 +2944,8 @@ rabbit_feeding:
|
|||||||
seconds: 0
|
seconds: 0
|
||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
alias: Triggers
|
alias: Triggers
|
||||||
- choose:
|
- alias: Routing
|
||||||
|
choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ wait.trigger.id in [''done'',''manual''] }}'
|
value_template: '{{ wait.trigger.id in [''done'',''manual''] }}'
|
||||||
@ -2956,14 +2957,14 @@ rabbit_feeding:
|
|||||||
target:
|
target:
|
||||||
entity_id: input_boolean.rabbit_fed
|
entity_id: input_boolean.rabbit_fed
|
||||||
alias: Turn on input boolean
|
alias: Turn on input boolean
|
||||||
- service: script.text_notify
|
- alias: Clear critical notification, if it was sent
|
||||||
|
service: script.text_notify
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
type: alert
|
type: alert
|
||||||
who: parents
|
who: all
|
||||||
message: clear_notification
|
message: clear_notification
|
||||||
tag: rabbit-feeding-critical
|
tag: rabbit-feeding-critical
|
||||||
alias: Clear critical notification, if it was sent
|
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{{ wait.trigger.id == ''ask-later'' }}'
|
value_template: '{{ wait.trigger.id == ''ask-later'' }}'
|
||||||
@ -3007,15 +3008,14 @@ rabbit_feeding:
|
|||||||
|
|
||||||
'
|
'
|
||||||
alias: Notify again
|
alias: Notify again
|
||||||
alias: Routing
|
- alias: Clear notification
|
||||||
- service: script.text_notify
|
service: script.text_notify
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
type: alert
|
type: alert
|
||||||
who: parents
|
who: all
|
||||||
message: clear_notification
|
message: clear_notification
|
||||||
tag: rabbit-feeding
|
tag: rabbit-feeding
|
||||||
alias: Clear notification
|
|
||||||
mode: restart
|
mode: restart
|
||||||
icon: mdi:rabbit
|
icon: mdi:rabbit
|
||||||
rabbit_hutch_cleaning:
|
rabbit_hutch_cleaning:
|
||||||
|
Reference in New Issue
Block a user