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