Update weather-forecast.markdown (#28636)

This commit is contained in:
G Johansson 2023-08-30 18:07:42 +02:00 committed by GitHub
parent 956c2848da
commit 339276708c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,8 @@ Name:
description: The name of the location where the weather platform is located. If not set, the name will be the name set on the weather entity description: The name of the location where the weather platform is located. If not set, the name will be the name set on the weather entity
Show Forecast: Show Forecast:
description: Check this if you would like to show the upcoming forecast under the current weather. description: Check this if you would like to show the upcoming forecast under the current weather.
Forecast type:
description: Select the forecast to display between "Daily", "Hourly" and "Twice daily".
Secondary Info Attribute: Secondary Info Attribute:
description: Here you can specify a secondary attribute to show under the current temperature. Ex. Extrema, Precipitation, Humidity. If not set, it will default to Extrema (High/Low) if available, if not available then Precipitation and if precipitation isn't available then Humidity. description: Here you can specify a secondary attribute to show under the current temperature. Ex. Extrema, Precipitation, Humidity. If not set, it will default to Extrema (High/Low) if available, if not available then Precipitation and if precipitation isn't available then Humidity.
Theme: Theme:
@ -60,6 +62,11 @@ show_forecast:
description: Show next hours/days forecast. description: Show next hours/days forecast.
type: boolean type: boolean
default: true default: true
forecast_type:
required: true
description: Type of forecast to display, one of `daily`, `hourly` or `twice_daily`.
type: string
default: Automatically selects in order of `daily`, `hourly` and `twice_daily`.
secondary_info_attribute: secondary_info_attribute:
required: false required: false
description: Which attribute to display under the temperature. description: Which attribute to display under the temperature.
@ -86,8 +93,11 @@ double_tap_action:
### Example ### Example
```yaml ```yaml
show_current: true
show_forecast: true
type: weather-forecast type: weather-forecast
entity: weather.openweathermap entity: weather.openweathermap
forecast_type: daily
``` ```
### Advanced ### Advanced