mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-08-11 02:09:44 +00:00
.github
.themes
_deploy
credits_generator
plugins
sass
source
_addons
_components
_cookbook
_data
_docs
automation
autostart
backend
configuration
basic.markdown
customizing-devices.markdown
devices.markdown
events.markdown
group_visibility.markdown
packages.markdown
platform_options.markdown
remote.markdown
secrets.markdown
securing.markdown
splitting_configuration.markdown
state_object.markdown
templating.markdown
troubleshooting.markdown
yaml.markdown
ecosystem
frontend
installation
mqtt
scripts
tools
z-wave
asterisk_mbox.markdown
automation.markdown
autostart.markdown
backend.markdown
configuration.markdown
ecosystem.markdowm
frontend.markdown
glossary.markdown
installation.markdown
mqtt.markdown
scripts.markdown
tools.markdown
z-wave.markdown
_faq
_includes
_layouts
_posts
addons
assets
blog
code_of_conduct
components
cookbook
demo
developers
docs
faq
font
getting-started
hassio
help
images
javascripts
privacy
static
tos
CNAME
atom.xml
favicon.png
googlef4f3693c209fe788.html
index.html
robots.txt
service_worker.js
version.json
.editorconfig
.gitattributes
.gitignore
.gitmodules
.powrc
.project
.ruby-version
.slugignore
.travis.yml
CLA.md
CODE_OF_CONDUCT.md
Gemfile
Gemfile.lock
LICENSE.md
README.markdown
Rakefile
_config.yml
config.rb
config.ru
1.4 KiB
1.4 KiB
layout, title, description, date, sidebar, comments, sharing, footer, redirect_from
layout | title | description | date | sidebar | comments | sharing | footer | redirect_from |
---|---|---|---|---|---|---|---|---|
page | Entity component platform options | Shows how to customize polling interval for any component via configuration.yaml. | 2016-02-12 23:17 -0800 | true | false | true | true | /topics/platform_options/ |
Some components or platforms (those that are based on the entity class) allows various extra options to be set.
{% linkable_title Entity namespace %}
By setting an entity namespace, all entities will be prefixed with that namespace. That way light.bathroom
can become light.holiday_house_bathroom
.
# Example configuration.yaml entry
light:
platform: hue
entity_namespace: holiday_house
{% linkable_title Scan Interval %}
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
configuration 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.
# Example configuration.yaml entry to poll Hue lights every 10 seconds.
light:
platform: hue
scan_interval: 10