Switched school/band tomorrow sensors to binary sensors
This commit is contained in:
@ -56,8 +56,8 @@
|
||||
"Tony is not really all that funny, but tonight he will present himself to a crowd of questionable individuals who seem to think that he is. "
|
||||
] | random }} The studio is scheduled to go online at {{ (state_attr('input_datetime.tony_streaming_start_time','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
|
||||
{% endif %}
|
||||
{% if is_state('sensor.kallen_school_tomorrow','on') %}
|
||||
{% if is_state('sensor.kallen_band_tomorrow','on') %}
|
||||
{% if is_state('binary_sensor.kallen_school_tomorrow','on') %}
|
||||
{% if is_state('binary_sensor.kallen_band_tomorrow','on') %}
|
||||
"Collin has school tomorrow, and there will be band practice in the morning at {{ as_timestamp(strptime(state_attr('calendar.kallen_school_days','start_time'), '%Y-%m-%d %H:%M:%S')) | timestamp_custom("%I:%M %p") }}. "
|
||||
{% else %}
|
||||
"Collin has school tomorrow at {{ as_timestamp(strptime(state_attr('calendar.kallen_school_days','start_time'), '%Y-%m-%d %H:%M:%S')) | timestamp_custom("%I:%M %p") }}. "
|
||||
|
Reference in New Issue
Block a user