mirror of
https://github.com/skalavala/mysmarthome.git
synced 2025-09-13 23:14:32 +00:00
added pill reminder package.
This commit is contained in:
@@ -61,6 +61,14 @@ automation:
|
||||
{%- else -%}
|
||||
Attention: USPS is delivering {{ states('sensor.usps_mail') }} mails today.
|
||||
{%- endif -%}
|
||||
- service: script.led_message
|
||||
data_template:
|
||||
message: >
|
||||
{%- if states('sensor.usps_mail') | int == 1 -%}
|
||||
USPS is delivering {{ states('sensor.usps_mail') }} mail today.
|
||||
{%- else -%}
|
||||
USPS is delivering {{ states('sensor.usps_mail') }} mails today.
|
||||
{%- endif -%}
|
||||
- service: notify.ios_devices
|
||||
data_template:
|
||||
message: "USPS will be delivering {{ states('sensor.usps_mail') }} mail(s) today."
|
||||
|
Reference in New Issue
Block a user