Was using the wrong weather provider. Switched to my own template.
This commit is contained in:
@ -1,10 +1,10 @@
|
|||||||
weather:
|
weather:
|
||||||
- platform: template
|
- platform: template
|
||||||
name: "Iron Nerd Weather Station"
|
name: "Iron Nerd Weather Station"
|
||||||
condition_template: "{{ states('weather.iron_nerd_studios') }}"
|
condition_template: "{{ states('weather.iron_nerd_weather_station') }}"
|
||||||
temperature_template: "{{ states('sensor.pirateweather_temperature') | float }}"
|
temperature_template: "{{ states('sensor.pirateweather_temperature') | float }}"
|
||||||
humidity_template: "{{ states('sensor.pirateweather_humidity') | float }}"
|
humidity_template: "{{ states('sensor.pirateweather_humidity') | float }}"
|
||||||
forecast_template: "{{ state_attr('weather.iron_nerd_studios', 'forecast') }}"
|
forecast_template: "{{ state_attr('weather.iron_nerd_weather_station', 'forecast') }}"
|
||||||
pressure_template: "{{ states('sensor.barometric_pressure') | float }}"
|
pressure_template: "{{ states('sensor.barometric_pressure') | float }}"
|
||||||
wind_speed_template: "{{ states('sensor.pirateweather_wind_speed') | float }}"
|
wind_speed_template: "{{ states('sensor.pirateweather_wind_speed') | float }}"
|
||||||
wind_bearing_template: "{{ states('sensor.pirateweather_wind_bearing') | float }}"
|
wind_bearing_template: "{{ states('sensor.pirateweather_wind_bearing') | float }}"
|
||||||
@ -91,23 +91,23 @@ sensor:
|
|||||||
unit_of_measurement: ''
|
unit_of_measurement: ''
|
||||||
icon_template: mdi:weather-sunny
|
icon_template: mdi:weather-sunny
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[0] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
|
||||||
{{ forecast.condition }}
|
{{ forecast.condition }}
|
||||||
attribute_templates:
|
attribute_templates:
|
||||||
high_temp: >-
|
high_temp: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[0] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
|
||||||
{{ forecast.temperature }}
|
{{ forecast.temperature }}
|
||||||
overnight_low: >-
|
overnight_low: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[1] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
|
||||||
{{ forecast.templow }}
|
{{ forecast.templow }}
|
||||||
wind_bearing: >-
|
wind_bearing: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[0] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
|
||||||
{{ forecast.wind_bearing }}
|
{{ forecast.wind_bearing }}
|
||||||
wind_speed: >-
|
wind_speed: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[0] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
|
||||||
{{ forecast.wind_speed }}
|
{{ forecast.wind_speed }}
|
||||||
precipitation: >-
|
precipitation: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[0] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
|
||||||
{{ forecast.precipitation }}
|
{{ forecast.precipitation }}
|
||||||
current_forecast_detail:
|
current_forecast_detail:
|
||||||
friendly_name: Current Forecast Detail
|
friendly_name: Current Forecast Detail
|
||||||
@ -234,23 +234,23 @@ sensor:
|
|||||||
unit_of_measurement: ''
|
unit_of_measurement: ''
|
||||||
icon_template: mdi:weather-sunny
|
icon_template: mdi:weather-sunny
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[1] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
|
||||||
{{ forecast.condition }}
|
{{ forecast.condition }}
|
||||||
attribute_templates:
|
attribute_templates:
|
||||||
high_temp: >-
|
high_temp: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[1] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
|
||||||
{{ forecast.temperature }}
|
{{ forecast.temperature }}
|
||||||
overnight_low: >-
|
overnight_low: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[2] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[2] %}
|
||||||
{{ forecast.templow }}
|
{{ forecast.templow }}
|
||||||
wind_bearing: >-
|
wind_bearing: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[1] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
|
||||||
{{ forecast.wind_bearing }}
|
{{ forecast.wind_bearing }}
|
||||||
wind_speed: >-
|
wind_speed: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[1] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
|
||||||
{{ forecast.wind_speed }}
|
{{ forecast.wind_speed }}
|
||||||
precipitation: >-
|
precipitation: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[1] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
|
||||||
{{ forecast.precipitation }}
|
{{ forecast.precipitation }}
|
||||||
tomorrow_forecast_detail:
|
tomorrow_forecast_detail:
|
||||||
friendly_name: Tomorrow Forecast Detail
|
friendly_name: Tomorrow Forecast Detail
|
||||||
@ -590,14 +590,14 @@ sensor:
|
|||||||
unit_of_measurement: ''
|
unit_of_measurement: ''
|
||||||
device_class: temperature
|
device_class: temperature
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[0] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %}
|
||||||
{{ forecast.temperature }}
|
{{ forecast.temperature }}
|
||||||
tonights_low_temp:
|
tonights_low_temp:
|
||||||
friendly_name: "Tonight's Low Temp"
|
friendly_name: "Tonight's Low Temp"
|
||||||
unit_of_measurement: ''
|
unit_of_measurement: ''
|
||||||
device_class: temperature
|
device_class: temperature
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% set forecast = state_attr('weather.iron_nerd_studios','forecast')[1] %}
|
{% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %}
|
||||||
{{ forecast.lowtemp }}
|
{{ forecast.lowtemp }}
|
||||||
clothing_forecast:
|
clothing_forecast:
|
||||||
friendly_name: "Clothing Forecast"
|
friendly_name: "Clothing Forecast"
|
||||||
@ -709,7 +709,7 @@ sensor:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
nws_current_visibility:
|
nws_current_visibility:
|
||||||
friendly_name: "Current Visibility"
|
friendly_name: "Current Visibility"
|
||||||
value_template: "{{ ((state_attr('weather.iron_nerd_studios','visibility') | int) * 0.621371) | round }}"
|
value_template: "{{ ((state_attr('weather.iron_nerd_weather_station','visibility') | int) * 0.621371) | round }}"
|
||||||
|
|
||||||
current_inside_humidity:
|
current_inside_humidity:
|
||||||
friendly_name: "Current Inside Humidity"
|
friendly_name: "Current Inside Humidity"
|
||||||
|
Reference in New Issue
Block a user