Skip to content

Commit

Permalink
Add new variables to weather template entity
Browse files Browse the repository at this point in the history
I'm adding new configuration variables so updating documentation accordingly: home-assistant/core#47420
  • Loading branch information
avee87 committed Mar 5, 2021
1 parent 9fca160 commit a17e782
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/_integrations/weather.template.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ weather:
condition_template: "sunny"
temperature_template: "{{ states('sensor.temperature') | float}}"
humidity_template: "{{ states('sensor.humidity')| float }}"
wind_bearing_template: "{{ state_attr('weather.home', 'wind_bearing') }}"
wind_speed_template: "{{ state_attr('weather.home', 'wind_speed') | float }}"
forecast_template: "{{ states.weather.my_region.attributes.forecast }}"
```

Expand All @@ -56,6 +58,14 @@ pressure_template:
description: The current air pressure.
required: false
type: template
visibility_template:
description: The current visibility.
required: false
type: template
wind_bearing_template:
description: The current wind direction.
required: false
type: template
wind_speed_template:
description: The current wind speed.
required: false
Expand Down

0 comments on commit a17e782

Please sign in to comment.