added pill reminder package.

This commit is contained in:
Mahasri Kalavala
2020-03-13 20:10:10 -04:00
parent c626d563b4
commit d20c3d6356
12 changed files with 415 additions and 88 deletions

View File

@@ -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."