mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-05-07 00:21:48 +00:00
Tweaking delivery notifications with new delivery integration
This commit is contained in:
parent
c7ec063236
commit
0094ce9b6a
@ -33,7 +33,7 @@ sensor:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- sensor.mail_usps_mail
|
- sensor.mail_usps_mail
|
||||||
- sensor.mail_usps_delivering
|
- sensor.mail_usps_delivering
|
||||||
- sensor.mail_fedex_delivering
|
- sensor.mail_fedex_delivering_2
|
||||||
- sensor.mail_ups_delivering
|
- sensor.mail_ups_delivering
|
||||||
value_template: >
|
value_template: >
|
||||||
{# Deliveries Sentence #}
|
{# Deliveries Sentence #}
|
||||||
@ -62,13 +62,13 @@ sensor:
|
|||||||
USPS packages are
|
USPS packages are
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{{' '}}in transit.{{' '}}
|
{{' '}}in transit.{{' '}}
|
||||||
{%- if states("sensor.mail_fedex_delivering")|int == 0 -%}
|
{%- if states("sensor.mail_fedex_delivering_2")|int == 0 -%}
|
||||||
No
|
No
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{states("sensor.mail_fedex_delivering")|int}}
|
{{states("sensor.mail_fedex_delivering_@")|int}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{{' '}}
|
{{' '}}
|
||||||
{%- if states("sensor.mail_fedex_delivering")|int == 1 -%}
|
{%- if states("sensor.mail_fedex_delivering_2")|int == 1 -%}
|
||||||
FedEx package is
|
FedEx package is
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
Fedex packages are
|
Fedex packages are
|
||||||
|
Loading…
x
Reference in New Issue
Block a user