Supporting for multiple Netatmo thermostates/valves (#7884)

* climate/netatmo: Document change for supporting for multiple thermostats/valves

* Support multiple homes
This commit is contained in:
shanbs 2019-03-03 04:52:38 +01:00 committed by Rohan Kapoor
parent fc5964bd5d
commit 24ed0278dd

View File

@ -18,7 +18,7 @@ The `netatmo` thermostat platform is consuming the information provided by a [Ne
To enable the Netatmo thermostat, you first have to set up [netatmo](/components/netatmo/), this will use discovery to add your thermostat. To enable the Netatmo thermostat, you first have to set up [netatmo](/components/netatmo/), this will use discovery to add your thermostat.
If you want to select a specific thermostat, set discovery to False for [netatmo](/components/netatmo/) and add the following lines to your `configuration.yaml`: If you want to select specific homes or specific rooms, set discovery to False for [netatmo](/components/netatmo/) and add the following lines to your `configuration.yaml`:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -27,26 +27,35 @@ climate:
``` ```
{% configuration %} {% configuration %}
relay: homes:
description: Will display the thermostats of this relay only. description: Will display the thermostats of the homes listed.
required: false
type: string
thermostat:
description: Thermostat to use.
required: false required: false
type: list type: list
keys: keys:
thermostat_name: name:
description: Name of the thermostat to display. required: true
description: The home name.
rooms:
description: Rooms to be displayed. Multiple entities allowed.
required: false
type: [list, string]
description: List of the names of the rooms to be displayed.
{% endconfiguration %} {% endconfiguration %}
If **relay** and **thermostat** are not provided, all thermostats will be displayed. If **homes** and **rooms** are not provided, all thermostats will be displayed.
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
climate: climate:
platform: netatmo platform: netatmo
relay: relay_name homes:
thermostat: - name: home1_name
- thermostat_name rooms:
- room1_name
- room2_name
- name: home2_name
rooms:
- room3_name
- room4_name
- room5_name
``` ```