Updating Jarvis's words
This commit is contained in:
parent
1224bb3f92
commit
b371fe8ee8
|
@ -347,7 +347,7 @@
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if states.sensor.vacation_days2go.state | int < 32 %}
|
{% if states.sensor.vacation_days2go.state | int < 32 and states.sensor.vacation_days2go.state | int < 0 and states.sensor.vacation_days2go.state != 'unknown' %}
|
||||||
{% if states.sensor.vacation_days2go.state | int > 1 %}
|
{% if states.sensor.vacation_days2go.state | int > 1 %}
|
||||||
There are {{ states.sensor.vacation_days2go.state }} days until {{ states.calendar.vacation.attributes.message }}!
|
There are {{ states.sensor.vacation_days2go.state }} days until {{ states.calendar.vacation.attributes.message }}!
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -485,11 +485,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
{{ [
|
|
||||||
'If you need anything else, just let me know.',
|
|
||||||
'Let me know if you need anything else.'
|
|
||||||
]|random }}
|
|
||||||
|
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if states.sensor.school_start_days2go.state | int < 10 and states.sensor.school_start_days2go.state | int > 1 -%}
|
{% if states.sensor.school_start_days2go.state | int < 10 and states.sensor.school_start_days2go.state | int > 1 -%}
|
||||||
{{ [ 'I hate to say it, but ',
|
{{ [ 'I hate to say it, but ',
|
||||||
'Unforunately,',
|
'Unfortunately,',
|
||||||
'All good things must come to an end.'
|
'All good things must come to an end.'
|
||||||
] | random }}
|
] | random }}
|
||||||
There are only {{ states.sensor.school_start_days2go.state }} days
|
There are only {{ states.sensor.school_start_days2go.state }} days
|
||||||
|
|
Loading…
Reference in New Issue