-
-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various Nest sensors not being discovered #3624
Comments
I've commented out my templates that refer to the missing sensors and all of the Traceback's in the "Additional Info" section weren't there as I figured. |
I started commenting out items and have made some progress. Commenting out "operation_mode" gets me past my first post. Using this configuration.yaml:
I got all of the sensors down until it hit "weather_condition". Then I got this Traceback:
|
I went one by one and commented out all weather related sensors until wink loaded properly.. I used this configuration.yaml to get wink working - Including the Nest Protects. Looks like the issue is with the weather related sensors and "operation_mode".
Each of the weather related sensor would result in a Traceback:
|
@jwl17330536 check if this will work for you. Override the deps/nest/nest.py with this file https://gist.githubusercontent.com/tchellomello/439e5896a85d0dc5e045e1e52aec69bd/raw/77cc0c5b65e9076b611d5bc4d31c6189f49a40bd/nest.py cd deps/nest
mv nest.py nest.py.orig
wget https://gist.githubusercontent.com/tchellomello/439e5896a85d0dc5e045e1e52aec69bd/raw/77cc0c5b65e9076b611d5bc4d31c6189f49a40bd/nest.py Then override the component sensor/nest component with this code https://gist.githubusercontent.com/tchellomello/c8c49b24578acad81830d08f94782bdb/raw/39ea85eef2d956188fb044d5d92acefc25afba86/nest.py
Then use this configuration: sensor:
- platform: nest
monitored_conditions:
- 'temperature'
- 'target'
- 'humidity'
- 'last_ip'
- 'local_ip'
- 'last_connection'
- 'battery_level'
- 'mode' # <--- note that this one changed name
- 'weather_condition'
- 'weather_temperature'
- 'weather_humidity'
- 'wind_speed'
- 'wind_direction'
- 'co_status'
- 'smoke_status' Restart HA and it should be displayed. Let me know if worked and we get start a PR for this. The result should be something similar with this: |
I followed your instructions and got an error loading wink: Oct 01 13:03:12 automation hass[23908]: ERROR:homeassistant.bootstrap:Invalid config for [sensor.nest]: value is not allowed @ data['monitored_conditions'][7]. Got 'mode'. Please check the docs at https://home-assistant.io/components/sensor.nest/ I put custom_components in "deps/nest" ... so the full path is "deps/nest/custom_components/sensor" which I'm wondering if that's right. Where should cusom_compenents be? |
I think I found where the custom_components directory should be... config_directory/custom_components ? Tracebacks aside, it loaded all of my sensors! All three thermostats, all the configured sensors on each, and my nest protects! Here are the Traceback's for you:
|
@jwl17330536 the custom_componenets should be under the configuration_dir. Glad it worked. the traceback seems to be related with another part of HA. I think we can work on PR to get it merged. I'll try to look into this. Thanks for testing it. |
No problem. Thanks for putting it together and getting it fixed. Sent from my iPhone
|
So we will have a working version in 0.29.7? ;-) |
* Fixed issue #3624 and bumped python-nest to 2.10.0 version * Fixed return state when accessing attribute operation_mode * Fixed typo
…ion (home-assistant#3665) * Fixed issue home-assistant#3624 and bumped python-nest to 2.10.0 version * Fixed return state when accessing attribute operation_mode * Fixed typo
Home Assistant release (
hass --version
):0.29.5
Python release (
python3 --version
):3.4.2
Component/platform:
sensor.nest
Description of problem:
I have three Nest thermostats and I'm getting different degrees of functionality. The three thermostats are showing up and functionality seems to be working. It looks like the "binary_sensors" for all three are discovering. The "sensors" though are not.
My three thermostats are: basement, main_floor, and upstairs.
I see all three for thermostat_name.binary_sensor.BLANK
I see all three climate.thermostat_name
I only see sensor.basement_humidity though.. Not sensor.main_floor_humidity nor sensor.upstairs_humidity. I would also expect to see all of the sensors defined below in my configuration.yaml for all three thermostats.
I'm also no longer seeing my Nest Protects...
All three thermostats:
Only 1 sensor showing up for "basement"
Expected:
Nest Protects to be discovered. All three thermostats to be discovered with all sensors defined in configuration.yaml
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info:
After that Traceback I'm also seeing these that I think are related to me using templates that are looking for the sensors that aren't showing up...
The text was updated successfully, but these errors were encountered: