fix: wrong accuweather outdoor temp
This commit is contained in:
@@ -1848,7 +1848,7 @@ action:
|
||||
- service: "{{ command_text_printf }}"
|
||||
data:
|
||||
component: home.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 }}"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user