hello everyone,
i am getting these errors in my home-assistant.log
2019-12-22 10:33:28 ERROR (MainThread) [homeassistant.setup] Error during setup of component badnest
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/badnest/api.py", line 243, in update
sensor_data['where_id']
KeyError: 'where_id'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/badnest/__init__.py", line 49, in setup
region,
File "/config/custom_components/badnest/api.py", line 56, in __init__
self.update()
File "/config/custom_components/badnest/api.py", line 318, in update
self.update()
File "/config/custom_components/badnest/api.py", line 318, in update
self.update()
File "/config/custom_components/badnest/api.py", line 318, in update
self.update()
[Previous line repeated 6 more times]
File "/config/custom_components/badnest/api.py", line 317, in update
self.login()
File "/config/custom_components/badnest/api.py", line 74, in login
self._login_nest(self._email, self._password)
File "/config/custom_components/badnest/api.py", line 81, in _login_nest
self._user_id = r.json()["userid"]
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 889, in json
self.content.decode(encoding), **kwargs
File "/usr/local/lib/python3.7/site-packages/simplejson/__init__.py", line 525, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2019-12-22 10:33:28 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform badnest.climate: Unable to set up component.
2019-12-22 10:33:28 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform badnest.sensor: Unable to set up component.
badnest is installed via HACS and i can see all versions, i tried re-install as well. No luck
this is in my config file:
badnest:
email: [email protected]
password: !secret nest_password
region: us
climate:
- platform: badnest
scan_interval: 10
any idea how to fix this?
when i restart HA, i get bunch of email notifications from Nest: new log-in to your Nest Account. That means username/password is correct, at least.