home-assistant.io/source/_docs/configuration/platform_options.markdown
Franck Nijhof ebca3218c7
🔥Removes linkable_title everywhere (#9772)
* Automatically create linkable headers

* Visually improve position of linkable header chain icon

* Do not auto link  headers on homepage

* Remove linkable_title everywhere

* 🚑 Re-instante linkable_title plugin as NOOP
2019-07-04 19:08:27 +02:00

1.5 KiB

layout, title, description, date, sidebar, comments, sharing, footer, redirect_from
layout title description date sidebar comments sharing footer redirect_from
page Entity integration platform options Shows how to customize polling interval for any integration via configuration.yaml. 2016-02-12 23:17 -0800 true false true true /topics/platform_options/

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