mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-08-13 03:09:41 +00:00
.devcontainer
.github
.vscode
plugins
sass
source
.well-known
_dashboards
_data
_docs
authentication
automation
backend
blueprint
configuration
basic.markdown
customizing-devices.markdown
events.markdown
packages.markdown
platform_options.markdown
remote.markdown
secrets.markdown
securing.markdown
splitting_configuration.markdown
state_object.markdown
templating.markdown
troubleshooting.markdown
yaml.markdown
energy
frontend
scene
scripts
tools
z-wave
asterisk_mbox.markdown
authentication.markdown
automation.markdown
backend.markdown
blueprint.markdown
configuration.markdown
energy.markdown
frontend.markdown
glossary.markdown
locked_out.md
quality_scale.markdown
scene.markdown
scripts.markdown
tools.markdown
troubleshooting.markdown
_examples
_faq
_includes
_integrations
_layouts
_posts
addons
android
assets
blog
blue
changelogs
cloud
code_of_conduct
common-tasks
conference
dashboards
developers
docs
examples
faq
font
getting-started
help
home-energy-management
images
installation
integrations
ios
javascripts
latest-release-notes
more-info
privacy
security
skyconnect
state-of-the-open-home
static
stylesheets
tag
tos
yellow
404.html
CNAME
_headers
_redirects
atom.xml
favicon.png
googlef4f3693c209fe788.html
index.html
integrations.json
robots.txt
service_worker.js
version.json
.editorconfig
.gitattributes
.gitignore
.markdownlint.json
.nvmrc
.powrc
.remarkignore
.remarkrc.js
.ruby-version
.textlintrc.json
CLA.md
CODEOWNERS
CODE_OF_CONDUCT.md
Dockerfile
Gemfile
Gemfile.lock
LICENSE.md
README.md
Rakefile
_config.yml
config.rb
config.ru
package-lock.json
package.json
1.4 KiB
1.4 KiB
title, description
title | description |
---|---|
Entity integration platform options | Shows how to customize polling interval for any integration via configuration.yaml. |
These options are being phased out and are only available for single platform integrations.
Some integrations or platforms (those that are based on the entity class) allows various extra options to be set.
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: your_lights
entity_namespace: holiday_house
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 set up the your_lights
platform but tell Home Assistant to poll the devices every 10 seconds instead of the default 30 seconds.
# Example configuration.yaml entry to poll your_lights every 10 seconds.
light:
- platform: your_lights
scan_interval: 10