mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Deprecate conf_update_interval (#8603)
This commit is contained in:
parent
5f9012a039
commit
9fb7eb80c5
@ -26,7 +26,7 @@ Currently fast.com only supports measuring download bandwidth. If you want to me
|
|||||||
|
|
||||||
Enabling this component will automatically create the Fast.com Sensor.
|
Enabling this component will automatically create the Fast.com Sensor.
|
||||||
|
|
||||||
By default, a speed test will be run every hour. The user can change the update frequency in the configuration by defining the `update_interval` for a speed test to run.
|
By default, a speed test will be run every hour. The user can change the update frequency in the configuration by defining the `scan_interval` for a speed test to run.
|
||||||
|
|
||||||
## {% linkable_title Configuration %}
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
@ -42,13 +42,13 @@ Every half hour of every day:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
fastdotcom:
|
fastdotcom:
|
||||||
update_interval:
|
scan_interval:
|
||||||
minutes: 30
|
minutes: 30
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
update_interval:
|
scan_interval:
|
||||||
description: "Minimum time interval between updates. Supported formats: `update_interval: 'HH:MM:SS'`, `update_interval: 'HH:MM'` and Time period dictionary (see example below)."
|
description: "Minimum time interval between updates. Supported formats: `scan_interval: 'HH:MM:SS'`, `scan_interval: 'HH:MM'` and Time period dictionary (see example below)."
|
||||||
required: false
|
required: false
|
||||||
default: 60 minutes
|
default: 60 minutes
|
||||||
type: time
|
type: time
|
||||||
@ -62,7 +62,7 @@ manual:
|
|||||||
#### {% linkable_title Time period dictionary example %}
|
#### {% linkable_title Time period dictionary example %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
update_interval:
|
scan_interval:
|
||||||
# At least one of these must be specified:
|
# At least one of these must be specified:
|
||||||
days: 0
|
days: 0
|
||||||
hours: 0
|
hours: 0
|
||||||
|
@ -44,7 +44,7 @@ freedns:
|
|||||||
description: The full update URL. This is exclusive to `access_token`.
|
description: The full update URL. This is exclusive to `access_token`.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
update_interval:
|
scan_interval:
|
||||||
description: How often to call the update service.
|
description: How often to call the update service.
|
||||||
required: false
|
required: false
|
||||||
type: time period
|
type: time period
|
||||||
|
@ -33,7 +33,7 @@ Configuration options:
|
|||||||
- **host** (*Required*): The hostname/IP address to connect to.
|
- **host** (*Required*): The hostname/IP address to connect to.
|
||||||
- **mac** (*Required*): Device mac address.
|
- **mac** (*Required*): Device mac address.
|
||||||
- **name** (*Optional*): Default BL. Sensor name
|
- **name** (*Optional*): Default BL. Sensor name
|
||||||
- **update_interval** (*Optional*): Time in seconds to fetch data from sensors. Default 300.
|
- **scan_interval** (*Optional*): Time in seconds to fetch data from sensors. Default 300.
|
||||||
- **timeout** (*Optional*): Timeout in seconds for the connection to the device.
|
- **timeout** (*Optional*): Timeout in seconds for the connection to the device.
|
||||||
- **monitored_conditions** array (*Required*): States to monitor.
|
- **monitored_conditions** array (*Required*): States to monitor.
|
||||||
- 'temperature'
|
- 'temperature'
|
||||||
@ -49,7 +49,7 @@ Obtain sensor data from an A1:
|
|||||||
```yaml
|
```yaml
|
||||||
sensor:
|
sensor:
|
||||||
- platform: broadlink
|
- platform: broadlink
|
||||||
update_interval: 60
|
scan_interval: 60
|
||||||
host: IP_ADDRESS
|
host: IP_ADDRESS
|
||||||
mac: 'MAC_ADDRESS'
|
mac: 'MAC_ADDRESS'
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
@ -65,7 +65,7 @@ Obtain temperature data from an RM2:
|
|||||||
```yaml
|
```yaml
|
||||||
sensor:
|
sensor:
|
||||||
- platform: broadlink
|
- platform: broadlink
|
||||||
update_interval: 60
|
scan_interval: 60
|
||||||
host: IP_ADDRESS
|
host: IP_ADDRESS
|
||||||
mac: 'MAC_ADDRESS'
|
mac: 'MAC_ADDRESS'
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
|
@ -143,8 +143,8 @@ units:
|
|||||||
required: false
|
required: false
|
||||||
default: "`si` or `us`, based on the temperature preference in Home Assistant."
|
default: "`si` or `us`, based on the temperature preference in Home Assistant."
|
||||||
type: string
|
type: string
|
||||||
update_interval:
|
scan_interval:
|
||||||
description: "Minimum time interval between updates. Supported formats: `update_interval: 'HH:MM:SS'`, `update_interval: 'HH:MM'` and Time period dictionary (see example below)."
|
description: "Minimum time interval between updates. Supported formats: `scan_interval: 'HH:MM:SS'`, `scan_interval: 'HH:MM'` and Time period dictionary (see example below)."
|
||||||
required: false
|
required: false
|
||||||
default: 2 minutes
|
default: 2 minutes
|
||||||
type: time
|
type: time
|
||||||
@ -153,7 +153,7 @@ update_interval:
|
|||||||
#### {% linkable_title Time period dictionary example %}
|
#### {% linkable_title Time period dictionary example %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
update_interval:
|
scan_interval:
|
||||||
# At least one of these must be specified:
|
# At least one of these must be specified:
|
||||||
days: 0
|
days: 0
|
||||||
hours: 0
|
hours: 0
|
||||||
|
@ -32,11 +32,11 @@ Configuration options for the FedEx Sensor:
|
|||||||
- **username** (*Required*): The username to access the FedEx Delivery Manager service.
|
- **username** (*Required*): The username to access the FedEx Delivery Manager service.
|
||||||
- **password** (*Required*): The password for the given username.
|
- **password** (*Required*): The password for the given username.
|
||||||
- **name** (*Optional*): Name the sensor.
|
- **name** (*Optional*): Name the sensor.
|
||||||
- **update_inverval** (*Optional*): Minimum time interval between updates. Default is 1 hour. Supported formats:
|
- **scan_inverval** (*Optional*): Minimum time interval between updates. Default is 1 hour. Supported formats:
|
||||||
- `update_interval: 'HH:MM:SS'`
|
- `scan_interval: 'HH:MM:SS'`
|
||||||
- `update_interval: 'HH:MM'`
|
- `scan_interval: 'HH:MM'`
|
||||||
- Time period dictionary, e.g.:
|
- Time period dictionary, e.g.:
|
||||||
<pre>update_interval:
|
<pre>scan_interval:
|
||||||
# At least one of these must be specified:
|
# At least one of these must be specified:
|
||||||
days: 0
|
days: 0
|
||||||
hours: 0
|
hours: 0
|
||||||
|
@ -32,11 +32,11 @@ Configuration options for the UPS Sensor:
|
|||||||
- **username** (*Required*): The username to access the UPS My Choice service.
|
- **username** (*Required*): The username to access the UPS My Choice service.
|
||||||
- **password** (*Required*): The password for the given username.
|
- **password** (*Required*): The password for the given username.
|
||||||
- **name** (*Optional*): Name the sensor.
|
- **name** (*Optional*): Name the sensor.
|
||||||
- **update_inverval** (*Optional*): Minimum time interval between updates. Default is 1 hour. Supported formats:
|
- **scan_inverval** (*Optional*): Minimum time interval between updates. Default is 1 hour. Supported formats:
|
||||||
- `update_interval: 'HH:MM:SS'`
|
- `scan_interval: 'HH:MM:SS'`
|
||||||
- `update_interval: 'HH:MM'`
|
- `scan_interval: 'HH:MM'`
|
||||||
- Time period dictionary, e.g.:
|
- Time period dictionary, e.g.:
|
||||||
<pre>update_interval:
|
<pre>scan_interval:
|
||||||
# At least one of these must be specified:
|
# At least one of these must be specified:
|
||||||
days: 0
|
days: 0
|
||||||
hours: 0
|
hours: 0
|
||||||
|
@ -277,7 +277,7 @@ So now you can open and close your garage door, let's check the weather. Add the
|
|||||||
- platform: darksky
|
- platform: darksky
|
||||||
name: "Dark Sky Weather"
|
name: "Dark Sky Weather"
|
||||||
api_key: !secret dark_sky_key
|
api_key: !secret dark_sky_key
|
||||||
update_interval:
|
scan_interval:
|
||||||
minutes: 10
|
minutes: 10
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
- summary
|
- summary
|
||||||
|
@ -23,7 +23,7 @@ The `speedtestdotnet` component uses the [Speedtest.net](https://speedtest.net/)
|
|||||||
|
|
||||||
Enabling this component will automatically create the Speedtest.net Sensors for the monitored conditions (below).
|
Enabling this component will automatically create the Speedtest.net Sensors for the monitored conditions (below).
|
||||||
|
|
||||||
By default, a speed test will be run every hour. The user can change the update frequency in the configuration by defining the `update_interval` for a speed test to run.
|
By default, a speed test will be run every hour. The user can change the update frequency in the configuration by defining the `scan_interval` for a speed test to run.
|
||||||
|
|
||||||
## {% linkable_title Configuration %}
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
@ -56,8 +56,8 @@ speedtestdotnet:
|
|||||||
description: Specify the speed test server to perform the test against.
|
description: Specify the speed test server to perform the test against.
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
update_interval:
|
scan_interval:
|
||||||
description: "Minimum time interval between updates. Supported formats: `update_interval: 'HH:MM:SS'`, `update_interval: 'HH:MM'` and Time period dictionary (see example below)."
|
description: "Minimum time interval between updates. Supported formats: `scan_interval: 'HH:MM:SS'`, `scan_interval: 'HH:MM'` and Time period dictionary (see example below)."
|
||||||
required: false
|
required: false
|
||||||
default: 60 minutes
|
default: 60 minutes
|
||||||
type: time
|
type: time
|
||||||
@ -72,7 +72,7 @@ speedtestdotnet:
|
|||||||
#### {% linkable_title Time period dictionary example %}
|
#### {% linkable_title Time period dictionary example %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
update_interval:
|
scan_interval:
|
||||||
# At least one of these must be specified:
|
# At least one of these must be specified:
|
||||||
days: 0
|
days: 0
|
||||||
hours: 0
|
hours: 0
|
||||||
@ -112,7 +112,7 @@ Every half hour of every day:
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
speedtestdotnet:
|
speedtestdotnet:
|
||||||
update_interval:
|
scan_interval:
|
||||||
minutes: 30
|
minutes: 30
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
- ping
|
- ping
|
||||||
|
@ -50,7 +50,7 @@ host:
|
|||||||
description: Host address to Tellstick Net or Tellstick ZNet for Local API, only useful when automatic discovery is not enabled.
|
description: Host address to Tellstick Net or Tellstick ZNet for Local API, only useful when automatic discovery is not enabled.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
update_interval:
|
scan_interval:
|
||||||
description: Interval (in seconds) for polling the Telldus Live server (or the local server).
|
description: Interval (in seconds) for polling the Telldus Live server (or the local server).
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
@ -58,7 +58,7 @@ update_interval:
|
|||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
It is only possible to configure the `update_interval` when setting up the device. If the polling interval needs to be changed after the device is configured it must be changed manually by changing `"scan_interval": 60,` for the device in the file `.storage/core.config_entries`.
|
It is only possible to configure the `scan_interval` when setting up the device. If the polling interval needs to be changed after the device is configured it must be changed manually by changing `"scan_interval": 60,` for the device in the file `.storage/core.config_entries`.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
The component will offer configuration through the Home Assistant user interface where it will let you associate it with your Telldus Live account.
|
The component will offer configuration through the Home Assistant user interface where it will let you associate it with your Telldus Live account.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user