Updates for 0.13
This commit is contained in:
parent
784f4836d5
commit
944c7a40e4
20 changed files with 132 additions and 26 deletions
20
source/_cookbook/customize_polling_interval.markdown
Normal file
20
source/_cookbook/customize_polling_interval.markdown
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Customize polling interval for any component"
|
||||
description: "Shows how to customize polling interval for any component via configuration.yaml."
|
||||
date: 2016-02-12 23:17 -0800
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: Example configuration.yaml
|
||||
---
|
||||
|
||||
Platforms that require polling will be polled in an interval specified by the main component. For example a light will check every 30 seconds for a changed state. It is possible to overwrite this scan interval for any platform that is being polled by specifying a `scan_interval` config key. In the example below we setup the Philips Hue lights but tell Home Assistant to poll the devices every 10 seconds instead of the default 30 seconds.
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry to poll Hue lights every 10 seconds.
|
||||
light:
|
||||
platform: hue
|
||||
scan_interval: 10
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue