Move Nest sensor configuration to Nest component (#1650)

* Move Nest sensor configuration to Nest component

* Remove support for empty monitored condion list

* Add Nest sensors by default with opt-out
This commit is contained in:
R1chardTM 2017-01-17 23:58:01 +01:00 committed by Fabian Affolter
parent 67564362aa
commit 133a62bdf4
2 changed files with 13 additions and 21 deletions

View File

@ -16,33 +16,25 @@ ha_release: pre 0.7
The `nest` binary sensor platform lets you monitor various states of your [Nest](https://nest.com) devices.
<p class='note'>
You must have the [Nest component](/components/nest/) configured to use these sensors. The `nest` binary sensor will automatically be setup when you do.
You must have the [Nest component](/components/nest/) configured to use these sensors. The binary sensors will be setup if the `nest` component is configured and the required configuration for the `nest binary sensor` is set.
</p>
To customize which binary sensors are enabled, you can add the following to your `configuration.yaml` file:
To enable binary 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
# Example configuration.yaml entry
binary_sensor:
- platform: nest
nest:
binary_sensors:
monitored_conditions:
- 'fan'
- 'is_using_emergency_heat'
- 'target'
```
If you leave `monitored_conditions` blank, all sensors that are available for your devices will be used.
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:
- **monitored_conditions** array (*Optional*): States to monitor.
- online
- fan
- is\_using\_emergency\_heat
- is\_locked
- has\_leaf
- motion\_detected
- person\_detected
- sound\_detected
The following conditions are available by device:

View File

@ -16,21 +16,20 @@ ha_release: pre 0.7
The `nest` sensor platform lets you monitor sensors connected to your [Nest](https://nest.com) devices.
<p class='note'>
You must have the [Nest component](/components/nest/) configured to use these sensors. The `nest` binary sensor will automatically be setup when you do.
You must have the [Nest component](/components/nest/) configured to use these sensors. The sensors will be setup if the `nest` component is configured and the required configuration for the `nest sensor` is set.
</p>
To customize which sensors are enabled, you can add the following to your `configuration.yaml` file:
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
# Example configuration.yaml entry
sensor:
- platform: nest
nest:
sensors:
monitored_conditions:
- 'temperature'
- 'target'
```
If you leave `monitored_conditions` blank, all sensors that are available for your devices will be included.
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:
@ -46,6 +45,7 @@ The following conditions are available by device:
- hvac\_state: The currently active state of the HVAC system, `heating`, `cooling`, or `off`.
- Nest Protect:
- co\_status
- smoke\_status
- smoke\_status
- batter\_health
- Nest Camera: none