Hi everyone, I have an instance of HA running that I have been using for quite awhile. I finally decided to learn about/try to use blueprints. I am just trying to create an instance of one of the default blueprints just to play around. No matter what I do in there though, I keep getting Response 500 error back from the server.
When I look at the logs it is giving me…
File “/usr/src/homeassistant/homeassistant/util/yaml/loader.py”, line 306, in secret_yaml
raise HomeAssistantError(“Secrets not supported in this YAML file”)
Any idea what is going on there? Do I need to configure something to enable the blueprint functionality?
I’m experiencing the same issue. When I try to create an automation from a blueprint, I get error 500. My logging shows the following:
Logger: aiohttp.server
Source: components/config/automation.py:60
First occurred: 1:58:44 PM (1 occurrences)
Last logged: 1:58:44 PM
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 77, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/__init__.py", line 160, in post
self._write_value(hass, current, config_key, data)
File "/usr/src/homeassistant/homeassistant/components/config/automation.py", line 60, in _write_value
cur_value[CONF_ID] = uuid.uuid4().hex
TypeError: 'str' object does not support item assignment