Update environment_canada.markdown (#37874)

Tidy up language.
This commit is contained in:
Glenn Waters 2025-03-10 04:42:07 -04:00 committed by GitHub
parent cf1b0e9eab
commit 92ac3330d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,8 +36,7 @@ The integration will create the entities listed below. Some of the entities are
### Weather ### Weather
- Current conditions and daily forecast - Current conditions, daily forecast, and hourly forecast
- Current conditions and hourly forecast (disabled by default)
### Camera ### Camera
@ -108,9 +107,13 @@ Not all weather stations provide a complete set of weather/sensor data. The data
## Template sensors ## Template sensors
The configuration snippet below adds a useful [template sensors](/integrations/template/) showing the current "feels like" temperature among air temperature, humidex, and wind chill. The configuration snippets below add [template sensors](/integrations/template/). See the [weather integration](/integrations/weather/) for additional examples.
Replace `NAME` with the name used to configure your integration. Replace `NAME` with the weather entity used in your configuration.
### Feels Like
A sensor that takes into account the humidex or wind chill for what the temperature feels like.
{% raw %} {% raw %}
@ -132,6 +135,8 @@ template:
{% endraw %} {% endraw %}
### Additional Forecast Data
The configuration snippet below adds a template sensor containing the current forecast information as attributes and the text summary of the forecast for the current day. The configuration snippet below adds a template sensor containing the current forecast information as attributes and the text summary of the forecast for the current day.
{% raw %} {% raw %}
@ -152,12 +157,12 @@ The configuration snippet below adds a template sensor containing the current fo
sensor: sensor:
- name: Weather Forecast Daily - name: Weather Forecast Daily
unique_id: weather_forecast_daily unique_id: weather_forecast_daily
state: "{{ states('weather.ottawa_kanata_orleans_forecast') }}" state: "{{ states('weather.NAME') }}"
attributes: attributes:
daily: "{{ forecasts['weather.ottawa_kanata_orleans_forecast']['daily_forecast'] }}" daily: "{{ forecasts['weather.NAME']['daily_forecast'] }}"
hourly: "{{ forecasts['weather.ottawa_kanata_orleans_forecast']['hourly_forecast'] }}" hourly: "{{ forecasts['weather.NAME']['hourly_forecast'] }}"
summary: "{{ forecasts['weather.ottawa_kanata_orleans_forecast']['daily_forecast'][0]['text_summary'] }}" summary: "{{ forecasts['weather.NAME']['daily_forecast'][0]['text_summary'] }}"
temperature_unit: "{{ state_attr('weather.ottawa_kanata_orleans_forecast', 'temperature_unit') }}" temperature_unit: "{{ state_attr('weather.NAME', 'temperature_unit') }}"
``` ```
{% endraw %} {% endraw %}