Update ecobee doc for updated config (#24506)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
kevdliu 2022-10-24 12:50:18 -04:00 committed by GitHub
parent f4cba8f1b3
commit c5c1c22c56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,30 +84,17 @@ You must [restart Home Assistant](/docs/configuration/#reloading-changes) for th
## Notifications ## Notifications
To get your ecobee notifications working with Home Assistant, you must first have the main ecobee integration loaded and running. Once you have that configured, you can set up this integration to send messages to your ecobee device. The `ecobee` notify platform allows you to send notifications to an ecobee thermostat. The `target` parameter of the service call is required to specify the index of the recipient thermostat. The index values assigned to the thermostats are consecutive integers, starting at 0.
To use this notification platform in your installation, add the following to your `configuration.yaml` file: Example service call:
```yaml ```yaml
# Example configuration.yaml entry service: notify.ecobee
notify: data:
- name: NOTIFIER_NAME message: "Hello, this is your thermostat."
platform: ecobee target: 0
``` ```
{% configuration %}
name:
description: Setting the optional parameter `name` allows multiple notifiers to be created. The notifier will bind to the service `notify.NOTIFIER_NAME`.
required: false
default: "`notify`"
type: string
index:
description: If you have multiple thermostats, you can specify which one to send the notification to by setting an `index`. The index values assigned to the thermostats are consecutive integers, starting at 0.
required: false
default: 0
type: integer
{% endconfiguration %}
To use notifications, please see the [getting started with automation page](/getting-started/automation/). To use notifications, please see the [getting started with automation page](/getting-started/automation/).
## Thermostat ## Thermostat