Update Nest component configuration variable (#6732)

* Update Nest component configuration variable

* Minor changes
This commit is contained in:
Klaas Schoute 2018-10-16 20:57:35 +02:00 committed by Franck Nijhof
parent 826903b9d9
commit 4cab7fb249
4 changed files with 44 additions and 22 deletions

View File

@ -33,9 +33,12 @@ nest:
By default all binary sensors for your available Nest devices will be monitored. Leave `monitored_conditions` blank to disable all binary sensors for the [Nest component](/components/nest/). By default all binary sensors for your available Nest devices will be monitored. Leave `monitored_conditions` blank to disable all binary sensors for the [Nest component](/components/nest/).
Configuration variables: {% configuration %}
monitored_conditions:
- **monitored_conditions** array (*Optional*): States to monitor. description: States to monitor.
required: false
type: list
{% endconfiguration %}
The following conditions are available by device: The following conditions are available by device:

View File

@ -55,11 +55,20 @@ nest:
- Primary - Primary
``` ```
Configuration variables: {% configuration %}
client_id:
- **client_id** (*Required*): Your Nest developer client ID. description: Your Nest developer client ID.
- **client_secret** (*Required*): Your Nest developer client secret. required: true
- **structure** (*Optional*): The structure or structures you would like to include devices from. If not specified, this will include all structures in your Nest account. type: string
client_secret:
description: Your Nest developer client secret.
required: true
type: string
structure:
description: The structure or structures you would like to include devices from. If not specified, this will include all structures in your Nest account.
required: false
type: list
{% endconfiguration %}
### {% linkable_title Services %} ### {% linkable_title Services %}

View File

@ -13,7 +13,6 @@ ha_release: pre 0.7
ha_iot_class: "Cloud Push" ha_iot_class: "Cloud Push"
--- ---
The `nest` sensor platform lets you monitor sensors connected to your [Nest](https://nest.com) devices. The `nest` sensor platform lets you monitor sensors connected to your [Nest](https://nest.com) devices.
<p class='note'> <p class='note'>
@ -23,6 +22,7 @@ You must have the [Nest component](/components/nest/) configured to use these se
## {% linkable_title Configuration %} ## {% linkable_title Configuration %}
To enable sensors and customize which sensors are setup, you can extend the [Nest component](/components/nest/) configuration in your `configuration.yaml` file with the following settings: To enable sensors and customize which sensors are setup, you can extend the [Nest component](/components/nest/) configuration in your `configuration.yaml` file with the following settings:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
nest: nest:
@ -34,9 +34,12 @@ nest:
By default all sensors for your available Nest devices will be monitored. Leave `monitored_conditions` blank to disable all sensors for the [Nest component](/components/nest/). By default all sensors for your available Nest devices will be monitored. Leave `monitored_conditions` blank to disable all sensors for the [Nest component](/components/nest/).
Configuration variables: {% configuration %}
monitored_conditions:
- **monitored_conditions** array (*Optional*): States to monitor. description: States to monitor.
required: false
type: list
{% endconfiguration %}
The following conditions are available by device: The following conditions are available by device:

View File

@ -16,7 +16,6 @@ ha_iot_class: "Cloud Polling"
**This platform is currently not available. It's possible that `nest_weather` will be removed in the future.** **This platform is currently not available. It's possible that `nest_weather` will be removed in the future.**
</p> </p>
The `nest` weather sensor platform let you monitor current weather conditions based on the location of your [Nest](https://nest.com) thermostat. The `nest` weather sensor platform let you monitor current weather conditions based on the location of your [Nest](https://nest.com) thermostat.
<p class='note'> <p class='note'>
@ -32,12 +31,20 @@ sensor:
- 'weather_temperature' - 'weather_temperature'
``` ```
Configuration variables: {% configuration %}
monitored_conditions:
- **monitored_conditions** array (*Required*): States to monitor. description: States to monitor.
- 'weather_temperature' required: true
- 'weather_humidity' type: list
- 'weather_condition' keys:
- 'wind_speed' weather_temperature:
- 'wind_direction' description: The current temperture
weather_humidity:
description: The current humidity
weather_condition:
description: The weather conditions
wind_speed:
description: The wind speed
wind_direction:
description: The wind direction
{% endconfiguration %}