Updated voice notification wording
This commit is contained in:
parent
f93cff2558
commit
351de0fb0b
|
@ -33,6 +33,7 @@ camera:
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- id: reset_usps
|
- id: reset_usps
|
||||||
|
initial_state: true
|
||||||
alias: Reset USPS
|
alias: Reset USPS
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
|
@ -45,6 +46,7 @@ automation:
|
||||||
message: Reset Mail Count
|
message: Reset Mail Count
|
||||||
|
|
||||||
- id: get_usps
|
- id: get_usps
|
||||||
|
initial_state: true
|
||||||
alias: Get USPS
|
alias: Get USPS
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
|
@ -74,9 +76,9 @@ automation:
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
{%- if states.sensor.usps_mail.state | int == 1 -%}
|
{%- if states.sensor.usps_mail.state | int == 1 -%}
|
||||||
Attention: USPS is delivering {{ states.sensor.usps_mail.state }} piece of mail today.
|
USPS is delivering {{ states.sensor.usps_mail.state }} piece of mail today.
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
Attention: USPS is delivering {{ states.sensor.usps_mail.state }} pieces of mail today.
|
USPS is delivering {{ states.sensor.usps_mail.state }} pieces of mail today.
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
- service: notify.jeff_ios
|
- service: notify.jeff_ios
|
||||||
data_template:
|
data_template:
|
||||||
|
@ -107,7 +109,7 @@ automation:
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
{%- if states.sensor.usps_packages.state | int == 1 -%}
|
{%- if states.sensor.usps_packages.state | int == 1 -%}
|
||||||
Attention: USPS is delivering {{ states.sensor.usps_packages.state }} package today.
|
USPS is delivering {{ states.sensor.usps_packages.state }} package today.
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
Attention: USPS is delivering {{ states.sensor.usps_packages.state }} packages today.
|
USPS is delivering {{ states.sensor.usps_packages.state }} packages today.
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
Loading…
Reference in New Issue