-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Unable to Create Blueprints #822
Comments
same here |
Got it working: Changed in custom_components/dwains_dashboard/init.py Line 251 and 252 From: To: |
No joy for me. Still not installing. |
|
That was it. 99% of my issues would go away if I remembered to restart after making changes. Thanks for finding this. |
cheers buddy, glad to help |
check solution few posts up. |
Works. |
BOOM
This works! Gotta restart HA too. |
nogo on HA v 2024.10.4, restarted HA, cleared cache. Any other suggestions? |
same here. blueprint can be installed. new page is not working. always pointing to the home page. |
same here. update: used fix here: (#833) now can install blueprint, but click on it lead to the homepage |
Hi, I just installed the dashboard and I am loving it but there is an issue when trying to use blueprints. When I paste the yaml config and press the installation button nothing happens and there is actually an error that occurs in the home assistant logs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/config/custom_components/dwains_dashboard/init.py", line 252, in ws_handle_install_blueprint
filecontent = yaml.safe_load(json.loads(msg["yamlCode"]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 125, in safe_load
return load(stream, SafeLoader)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/init.py", line 79, in load
loader = Loader(stream)
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/yaml/loader.py", line 34, in init
Reader.init(self, stream)
File "/usr/local/lib/python3.12/site-packages/yaml/reader.py", line 85, in init
self.determine_encoding()
File "/usr/local/lib/python3.12/site-packages/yaml/reader.py", line 124, in determine_encoding
self.update_raw()
File "/usr/local/lib/python3.12/site-packages/yaml/reader.py", line 178, in update_raw
data = self.stream.read(size)
^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'read'
Love the dashboard otherwise and keep up the good work
The text was updated successfully, but these errors were encountered: