mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Add scan interval config item to Environment Canada sensor (#9950)
* Move sensor scan interval to configuration * Fix build error, change to seconds
This commit is contained in:
parent
c8ba843418
commit
1e74efa747
@ -105,7 +105,6 @@ sensor:
|
|||||||
- `advisories` - Current advisory alerts.
|
- `advisories` - Current advisory alerts.
|
||||||
- `statements` - Current special weather statements.
|
- `statements` - Current special weather statements.
|
||||||
- `endings` - Alerts that have recently ended.
|
- `endings` - Alerts that have recently ended.
|
||||||
- The platform refreshes the data every minute (primarily to update alerts), and the source data is typically updated hourly within 10 minutes after the hour.
|
|
||||||
- The platform automatically determines which weather station to use based on the system's latitude/longitude settings. For greater precision, it is also possible to specify either:
|
- The platform automatically determines which weather station to use based on the system's latitude/longitude settings. For greater precision, it is also possible to specify either:
|
||||||
- A specific station code of the form `AB/s0000123` based on those listed in [this CSV file](http://dd.weatheroffice.ec.gc.ca/citypage_weather/docs/site_list_towns_en.csv), or
|
- A specific station code of the form `AB/s0000123` based on those listed in [this CSV file](http://dd.weatheroffice.ec.gc.ca/citypage_weather/docs/site_list_towns_en.csv), or
|
||||||
- A specific latitude/longitude
|
- A specific latitude/longitude
|
||||||
@ -129,6 +128,11 @@ language:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: english
|
default: english
|
||||||
|
scan_interval:
|
||||||
|
description: The time between updates in seconds.
|
||||||
|
required: false
|
||||||
|
type: integer
|
||||||
|
default: 600
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
###Alert TTS Script
|
###Alert TTS Script
|
||||||
|
Loading…
x
Reference in New Issue
Block a user