Adjust for new option names #52

This commit is contained in:
2022-10-17 20:03:54 -04:00
parent 5976151b13
commit 76ca50210d
4 changed files with 16 additions and 18 deletions

Submodule node-red/projects/NerdFlows updated: 1e80a66f62...2e3caa7567

View File

@ -77,27 +77,27 @@ input_select:
options: options:
- AC - AC
- Fan - Fan
- None - N/A
icon: mdi:home-thermometer icon: mdi:home-thermometer
scheduled_climate_mode_master_bedroom_fan: scheduled_climate_mode_master_bedroom_fan:
name: Scheduled Climate Mode - Master Bedroom Fan name: Scheduled Climate Mode - Master Bedroom Fan
options: options:
- Fan - Fan
- None - N/A
icon: mdi:home-thermometer icon: mdi:home-thermometer
scheduled_climate_mode_nursery_aircon: scheduled_climate_mode_nursery_aircon:
name: Scheduled Climate Mode - Nursery Aircon name: Scheduled Climate Mode - Nursery Aircon
options: options:
- AC - AC
- White Noise - White Noise
- None - N/A
icon: mdi:home-thermometer icon: mdi:home-thermometer
scheduled_climate_mode_kallen_fan: scheduled_climate_mode_kallen_fan:
name: Scheduled Climate Mode - Kallen Fan name: Scheduled Climate Mode - Kallen Fan
options: options:
- Fan - Fan
- White Noise - White Noise
- None - N/A
icon: mdi:home-thermometer icon: mdi:home-thermometer
input_number: input_number:

View File

@ -398,7 +398,7 @@ script:
Fan Fan
{% endif %} {% endif %}
{% else %} {% else %}
None N/A
{% endif %} {% endif %}
- service: input_select.select_option - service: input_select.select_option
target: target:
@ -408,7 +408,7 @@ script:
{% if states('sensor.tonights_low_temp') >= states('input_number.master_bedroom_fan_threshold') %} {% if states('sensor.tonights_low_temp') >= states('input_number.master_bedroom_fan_threshold') %}
Fan Fan
{% else %} {% else %}
None N/A
{% endif %} {% endif %}
nursery_scheduling: nursery_scheduling:

View File

@ -48,13 +48,13 @@
"The master bedroom air conditioner will activate cooling mode at {{ (state_attr('input_datetime.master_bedroom_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " "The master bedroom air conditioner will activate cooling mode at {{ (state_attr('input_datetime.master_bedroom_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_select.scheduled_climate_mode_master_bedroom_aircon','Fan') %} {% elif is_state('input_select.scheduled_climate_mode_master_bedroom_aircon','Fan') %}
"The master bedroom air conditioner will activate fan only mode at {{ (state_attr('input_datetime.master_bedroom_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " "The master bedroom air conditioner will activate fan only mode at {{ (state_attr('input_datetime.master_bedroom_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_select.scheduled_climate_mode_master_bedroom_aircon','None') %} {% elif is_state('input_select.scheduled_climate_mode_master_bedroom_aircon','N/A') %}
"The master bedroom air conditioner will remain inactive tonight. " "The master bedroom air conditioner will remain inactive tonight. "
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if is_state('input_select.scheduled_climate_mode_master_bedroom_fan','Fan') %} {% if is_state('input_select.scheduled_climate_mode_master_bedroom_fan','Fan') %}
"The master bedroom fan will activate at {{ (state_attr('input_datetime.master_bedroom_fan','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " "The master bedroom fan will activate at {{ (state_attr('input_datetime.master_bedroom_fan','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_select.scheduled_climate_mode_master_bedroom_fan','None') %} {% elif is_state('input_select.scheduled_climate_mode_master_bedroom_fan','N/A') %}
"The master bedroom fan will remain inactive tonight. " "The master bedroom fan will remain inactive tonight. "
{% endif %} {% endif %}
{% if is_state('input_boolean.kallen_overnight','off') %} {% if is_state('input_boolean.kallen_overnight','off') %}
@ -62,21 +62,19 @@
"Colins fan will activate at {{ (state_attr('input_datetime.kallen_bedtime','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " "Colins fan will activate at {{ (state_attr('input_datetime.kallen_bedtime','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_select.scheduled_climate_mode_kallen_fan','White Noise') %} {% elif is_state('input_select.scheduled_climate_mode_kallen_fan','White Noise') %}
"Colins white noise generator will activate at {{ (state_attr('input_datetime.kallen_bedtime','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " "Colins white noise generator will activate at {{ (state_attr('input_datetime.kallen_bedtime','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_select.scheduled_climate_mode_kallen_fan','None') %} {% elif is_state('input_select.scheduled_climate_mode_kallen_fan','N/A') %}
"Colins room will have no devices activated tonight. " "Colins room will have no devices activated tonight. "
{% endif %} {% endif %}
{% else %} {% else %}
"Colins room will be left alone, as he is spending the night elsewhere tonight. " "Colins room will be left alone, as he is spending the night elsewhere tonight. "
{% endif %} {% endif %}
{% if is_state('input_boolean.nursery_aircon_installed','on') %}
{% if is_state('input_select.scheduled_climate_mode_nursery_aircon','AC') %} {% if is_state('input_select.scheduled_climate_mode_nursery_aircon','AC') %}
"Emma's air conditioner will be activated at {{ (state_attr('input_datetime.nursery_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " "Emma's air conditioner will be activated at {{ (state_attr('input_datetime.nursery_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_select.scheduled_climate_mode_nursery_aircon','White Noise') %} {% elif is_state('input_select.scheduled_climate_mode_nursery_aircon','White Noise') %}
"Emma's white noise generator will activate at {{ (state_attr('input_datetime.nursery_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. " "Emma's white noise generator will activate at {{ (state_attr('input_datetime.nursery_cooling','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_select.scheduled_climate_mode_nursery_aircon','None') %} {% elif is_state('input_select.scheduled_climate_mode_nursery_aircon','N/A') %}
"Emma's room will have no devices activated tonight. " "Emma's room will have no devices activated tonight. "
{% endif %} {% endif %}
{% endif %}
</p> </p>
<p> <p>