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
I’m trying to create an automation from the blueprint this blueprint: Notify or do something when an appliance like a dishwasher or washing machine finishes - Blueprints Exchange - Home Assistant Community (home-assistant.io)
alias: Appliance has finished
description: ''
use_blueprint:
path: >-
Sbyx/notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml
input:
power_sensor: sensor.wasmachine_wattage
actions:
- service: notify.mobile_app_huawei_rick
data:
message: Wasmachine is klaar
title: 'Let op:'
When I hit save it gives me the above error 500.