Some tweaks to TTS briefings for #97
This commit is contained in:
@ -68,22 +68,25 @@
|
||||
|
||||
<p>
|
||||
{% if (states('sensor.climate_devices_installed') | int) > 0 %}
|
||||
"The current climate control situation is as follows. "
|
||||
"In climate control news, "
|
||||
{% if is_state('input_boolean.master_bedroom_aircon_installed','on') %}
|
||||
"the master bedroom temperature is currently {{ state_attr('climate.master_bedroom_aircon','current_temperature') }} degrees. "
|
||||
"the master bedroom temperature is {{ state_attr('climate.master_bedroom_aircon','current_temperature') }} degrees. "
|
||||
{% if is_state('climate.master_bedroom_aircon','cool') %}
|
||||
"and the master bedroom air conditioner is currently set for cooling to {{ state_attr('climate.master_bedroom_aircon','temperature') }} degrees. "
|
||||
"and the master bedroom air conditioner is set for cooling to {{ state_attr('climate.master_bedroom_aircon','temperature') }} degrees. "
|
||||
{% elif is_state('climate.master_bedroom_aircon','fan_only') %}
|
||||
"and the master bedroom air conditioner is currently in fan only mode. "
|
||||
"and the master bedroom air conditioner is in fan only mode. "
|
||||
{% elif is_state('climate.master_bedroom_aircon','dry') %}
|
||||
"and the master bedroom air conditioner is currently moonlighting as a dehumidifier. "
|
||||
"and the master bedroom air conditioner is moonlighting as a dehumidifier. "
|
||||
{% elif is_state('climate.master_bedroom_aircon','auto') %}
|
||||
"and the master bedroom air conditioner is making its own decisions. Be afraid, be very afraid. "
|
||||
{% else %}
|
||||
"and the master bedroom air conditioner is currently not speaking to me. Was it something I said? "
|
||||
{% endif %}
|
||||
{% else %}
|
||||
"There is no air conditioner or temperature sensor currently installed in the master bedroom. "
|
||||
"There is no air conditioner or temperature sensor installed in the master bedroom. "
|
||||
{% endif %}
|
||||
{% if is_state('input_boolean.emma_bedroom_aircon_installed','on') %}
|
||||
"Emma's air conditioner is {{ states('fan.emma_air_conditioner') }}. "
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</p>
|
||||
@ -106,9 +109,9 @@
|
||||
"Tina has work today. "
|
||||
{% endif %}
|
||||
{% if is_state('input_boolean.kallen_at_school','on') %}
|
||||
"Kallen is at school right now. His pickup time will be at {{ input_datetime_read('input_datetime.kallen_school_day_end') }}. "
|
||||
"Collin is at school right now. His pickup time will be at {{ input_datetime_read('input_datetime.kallen_school_day_end') }}. "
|
||||
{% elif is_state('input_boolean.kallen_school_today','on') %}
|
||||
"Kallen has school today. "
|
||||
"Collin has school today. "
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
Reference in New Issue
Block a user