Switch to using temperature attribute from weather station
This commit is contained in:
@ -570,7 +570,7 @@ sensor:
|
|||||||
' is ',
|
' is ',
|
||||||
' is currently '
|
' is currently '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{states('sensor.pirateweather_temperature')|round}} degrees
|
{{state_attr('weather.iron_nerd_weather_station','temperature')|round}} degrees
|
||||||
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with rain. ',
|
'with rain. ',
|
||||||
@ -616,7 +616,7 @@ sensor:
|
|||||||
' is ',
|
' is ',
|
||||||
' is currently '
|
' is currently '
|
||||||
] | random }}
|
] | random }}
|
||||||
{{states('sensor.pirateweather_temperature')|round}} degrees
|
{{state_attr('weather.iron_nerd_weather_station','temperature')|round}} degrees
|
||||||
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
{% if is_state('weather.iron_nerd_weather_station', 'rainy') %}
|
||||||
{{ [
|
{{ [
|
||||||
'with rain. ',
|
'with rain. ',
|
||||||
@ -784,7 +784,7 @@ sensor:
|
|||||||
{% if is_state('binary_sensor.overnight', 'off') %}
|
{% if is_state('binary_sensor.overnight', 'off') %}
|
||||||
{% set temp = states('sensor.today_corrected_high_temp')|int %}
|
{% set temp = states('sensor.today_corrected_high_temp')|int %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set temp = states('sensor.pirateweather_temperature')|round %}
|
{% set temp = state_attr('weather.iron_nerd_weather_station','temperature')|round %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if states('sensor.today_corrected_high_temp')|int > 63 %}
|
{%- if states('sensor.today_corrected_high_temp')|int > 63 %}
|
||||||
{%- if states('sensor.today_corrected_high_temp')|int < 80 %}
|
{%- if states('sensor.today_corrected_high_temp')|int < 80 %}
|
||||||
|
Reference in New Issue
Block a user