Merge pull request #37 from deejaybeam/dev

small fixes and updates
This commit is contained in:
Chris
2022-11-12 21:12:08 +01:00
committed by GitHub

View File

@@ -1791,8 +1791,8 @@ action:
data: data:
component: home.hotwater_temp component: home.hotwater_temp
message: "{{ states(hotwatertemp) |round(1) }}°" message: "{{ states(hotwatertemp) |round(1) }}°"
- delay: # - delay:
milliseconds: "{{ delay_value }}" # milliseconds: "{{ delay_value }}"
# - service: "{{ command_text_printf }}" # - service: "{{ command_text_printf }}"
# data: # data:
# component: climate.hotwater_temp # component: climate.hotwater_temp
@@ -1811,12 +1811,12 @@ action:
data: data:
component: home.outdoor_temp component: home.outdoor_temp
message: "{{ states(outdoortemp) |round(0) }}°" message: "{{ states(outdoortemp) |round(0) }}°"
- delay: # - delay:
milliseconds: "{{ delay_value }}" # milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}" # - service: "{{ command_text_printf }}"
data: # data:
component: climate.outdoor_temp # component: climate.outdoor_temp
message: "{{ states(outdoortemp) |round(0) }}°" # message: "{{ states(outdoortemp) |round(0) }}°"
##### Outdoor Temp Default ##### ##### Outdoor Temp Default #####
- conditions: - conditions:
@@ -1830,12 +1830,12 @@ action:
data: data:
component: home.outdoor_temp component: home.outdoor_temp
message: '{{state_attr(ha_weather,"temperature") | round(0)}}°' message: '{{state_attr(ha_weather,"temperature") | round(0)}}°'
- delay: # - delay:
milliseconds: "{{ delay_value }}" # milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}" # - service: "{{ command_text_printf }}"
data: # data:
component: climate.outdoor_temp # component: climate.outdoor_temp
message: '{{state_attr(ha_weather,"temperature") | round(0)}}°' # message: '{{state_attr(ha_weather,"temperature") | round(0)}}°'
##### Outdoor TempAccuweather ##### ##### Outdoor TempAccuweather #####
- conditions: - conditions:
@@ -1848,13 +1848,13 @@ action:
- service: "{{ command_text_printf }}" - service: "{{ command_text_printf }}"
data: data:
component: home.outdoor_temp component: home.outdoor_temp
message: "{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°" message: '{{state_attr(accuweather_value,"temperature") | round(0)}}°'
- delay: # - delay:
milliseconds: "{{ delay_value }}" # milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}" # - service: "{{ command_text_printf }}"
data: # data:
component: climate.outdoor_temp # component: climate.outdoor_temp
message: "{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°" # message: "{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°"
##### Weather Icon Home Page ##### Weather Icon Home Page
- choose: - choose:
@@ -2968,12 +2968,12 @@ action:
data: data:
component: home.outdoor_temp component: home.outdoor_temp
message: '{{state_attr(ha_weather,"temperature") | round(0)}}°' message: '{{state_attr(ha_weather,"temperature") | round(0)}}°'
- delay: # - delay:
milliseconds: "{{ delay_value }}" # milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}" # - service: "{{ command_text_printf }}"
data: # data:
component: climate.outdoor_temp # component: climate.outdoor_temp
message: '{{state_attr(ha_weather,"temperature") | round(0)}}°' # message: '{{state_attr(ha_weather,"temperature") | round(0)}}°'
##### Outdoor Temp Accuweather ##### ##### Outdoor Temp Accuweather #####
- conditions: - conditions:
@@ -2983,13 +2983,13 @@ action:
- service: "{{ command_text_printf }}" - service: "{{ command_text_printf }}"
data: data:
component: home.outdoor_temp component: home.outdoor_temp
message: "{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°" message: '{{state_attr(accuweather_value,"temperature") | round(0)}}°'
- delay: # - delay:
milliseconds: "{{ delay_value }}" # milliseconds: "{{ delay_value }}"
- service: "{{ command_text_printf }}" # - service: "{{ command_text_printf }}"
data: # data:
component: climate.outdoor_temp # component: climate.outdoor_temp
message: "{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°" # message: "{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°"
@@ -4474,6 +4474,13 @@ action:
alias: 'climate page' alias: 'climate page'
sequence: sequence:
- choose: - choose:
- conditions: '{{ outdoortemp is match "sensor." }}'
alias: 'outdoor-sensor'
sequence:
- service: "{{ command_text_printf }}"
data:
component: outdoor_temp
message: "{{ states(outdoortemp) |round(0) }}°"
- conditions: '{{ weather == "Default" }}' - conditions: '{{ weather == "Default" }}'
alias: 'default-weather' alias: 'default-weather'
sequence: sequence:
@@ -4487,7 +4494,7 @@ action:
- service: "{{ command_text_printf }}" - service: "{{ command_text_printf }}"
data: data:
component: outdoor_temp component: outdoor_temp
message: "{{states(accuweather_realfeel_temperature_max_0d) | round(0)}}°" message: '{{state_attr(accuweather_value,"temperature") | round(0)}}°'
- service: "{{ command_text_printf }}" - service: "{{ command_text_printf }}"
data: data:
component: current_temp component: current_temp
@@ -4541,6 +4548,12 @@ action:
- conditions: '{{ trigger.event.data.new_state.state == page_buttonpage04 }}' - conditions: '{{ trigger.event.data.new_state.state == page_buttonpage04 }}'
sequence: sequence:
####################### CHANGE ME #################################################
##### Open Climate Settings ##### ##### Open Climate Settings #####
- conditions: - conditions:
@@ -4554,7 +4567,8 @@ action:
- service: "{{ command_printf }}" - service: "{{ command_printf }}"
data: data:
cmd: "page {{ page_climate }}" cmd: "page {{ page_climate }}"
############################################################# #############################################################
##### CLOSE - Action ##### ##### CLOSE - Action #####