[Toon] New scan_interval on integration level (#9488)

This commit is contained in:
Franck Nijhof 2019-07-11 00:10:54 +02:00 committed by GitHub
parent 1352b2e322
commit 8b2ced20bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,11 @@ client_secret:
description: Toon API Consumer Secret.
required: true
type: string
scan_interval:
description: The rate in seconds at which Toon should be polled for new data.
required: false
type: integer
default: 300
{% endconfiguration %}
## Climate
@ -74,4 +79,12 @@ The `toon` climate platform allows you to interact with your Toon thermostat.
Home Assistant support the four Toon presets: `Comfort`, `Home`, `Away` and `Sleep`.
It also supports setting the temperature manually.
The Toon API is polled at a 300-second interval, so the status is relatively fresh without overloading the API.
## Services
### Service `update`
Updates ententies from Toon with fresh queried data.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ------------------------------------------- |
| `display` | Yes | The display you wish to fetch updates from. |