Added a temnplate weather integration
This commit is contained in:
12
packages/custom_weather.yaml
Normal file
12
packages/custom_weather.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
weather:
|
||||
- platform: template
|
||||
name: "Iron Nerd Weather Station"
|
||||
condition_template: "{{ states('weather.stratton_ave') }}"
|
||||
temperature_template: "{{ states('sensor.temperature') | float }}"
|
||||
humidity_template: "{{ states('sensor.humidity') | float }}"
|
||||
forecast_template: "{{ state_attr('weather.stratton_ave', 'forecast') }}"
|
||||
pressure_template: "{{ states('sensor.barometric_pressure') | float }}"
|
||||
wind_speed_template: "{{ states('sensor.wind_speed') | float }}"
|
||||
wind_bearing_template: "{{ states('sensor.wind_direction') | float }}"
|
||||
visibility_template: "{{ states('sensor.kdfi_visibility') | float }}"
|
||||
attribution_template: "Weather data from Iron Nerd's custom weather station template"
|
Reference in New Issue
Block a user