-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Problem with View States section in Getting Started : 'HassDatabase' object has no attribute 'fetch_all_data' #137
Comments
Can you fix the link to the issue? It should be calling |
Whoops: hassio-addons/addon-jupyterlab#241 I manually changed the fetch_all_data to fetch_all_sensor_data and that part went through very nicely. Many thanks Rob. Would you have any comments on the next section which produces an assertion error? assert 'binary_sensor' and 'sensor' in db.domainsAttributeError Traceback (most recent call last) AttributeError: 'HassDatabase' object has no attribute 'domains' |
My guess is you have updated the detective dependency, but are still using a version of the getting started notebook from and old verison of detective. Please use |
Thanks Rob - I'll pass that on to the developer of the Home Assistant Add on. |
PR merged, closing |
I have a problem using the Home Assistant addon referred to here: https://github.com/hassio-addons/addon-jupyterlab/issues/241 which I was asked to report here.
When the home-assistant/GETTING_STARTED notebook is run, the first sections run fine, but the section:
db.fetch_all_data()
returns an error:
AttributeError Traceback (most recent call last) in
AttributeError: 'HassDatabase' object has no attribute 'fetch_all_data'
The text was updated successfully, but these errors were encountered: