Closed ghost closed 6 years ago
I too am having this issue now I have Hass.io installed on a Pi 2
Any info in your Home Assistant logs?
Where on HASS.IO would I grab those logs?
In sidebar, click on the (i) icon under dev tools.
I will check when I get home unable to access my home assistant from work we use IE 11 still lol
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 104, in handle
result = await result
File "/usr/lib/python3.6/site-packages/homeassistant/components/config/__init__.py", line 121, in post
self._write_value(hass, current, config_key, data)
File "/usr/lib/python3.6/site-packages/homeassistant/components/config/automation.py", line 32, in _write_value
if cur_value[CONF_ID] == config_key:
KeyError: 'id'
Not sure if this is were the issue is but seams like it is
Looks like they did some heavy modifications to the automation.py file here is the Old Version and here is the New Version I'm unsure what would be causing the error was hopping for a simple typo I could fix.
im getting this error
Mon Apr 30 2018 17:19:43 GMT+1200 (New Zealand Standard Time)
Error handling request
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start
resp = await self._request_handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_app.py", line 322, in _handle
resp = await handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 88, in impl
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 68, in staticresource_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 27, in real_ip_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 28, in auth_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 104, in handle
result = await result
File "/usr/lib/python3.6/site-packages/homeassistant/components/config/__init__.py", line 121, in post
self._write_value(hass, current, config_key, data)
File "/usr/lib/python3.6/site-packages/homeassistant/components/config/automation.py", line 32, in _write_value
if cur_value[CONF_ID] == config_key:
KeyError: 'id'
@balloob here comes the error from my home-assistant.log associated with the non functioning "save" button.
2018-04-30 16:05:22 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start
resp = await self._request_handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 322, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 88, in impl
return await handler(request)
File "/usr/src/app/homeassistant/components/http/static.py", line 68, in staticresource_middleware
return await handler(request)
File "/usr/src/app/homeassistant/components/http/real_ip.py", line 27, in real_ip_middleware
return await handler(request)
File "/usr/src/app/homeassistant/components/http/ban.py", line 68, in ban_middleware
return await handler(request)
File "/usr/src/app/homeassistant/components/http/auth.py", line 28, in auth_middleware
return await handler(request)
File "/usr/src/app/homeassistant/components/http/view.py", line 104, in handle
result = await result
File "/usr/src/app/homeassistant/components/config/__init__.py", line 121, in post
self._write_value(hass, current, config_key, data)
File "/usr/src/app/homeassistant/components/config/automation.py", line 32, in _write_value
if cur_value[CONF_ID] == config_key:
KeyError: 'id'
[Hey Everyone looks like they will be fixing it in 0.68.1 "balloob:
Looks like this caused when you copy pasted automations into the automations.yaml file and did not add an ID (as per instructions :wink:). I’ll include a fix in 0.68.1 to correct this. "](https://community.home-assistant.io/t/0-68-homekit-control-eufy-fritzbox-sigfox-sensors/51747/13)
Ah! @ajdezigns can confirm it works when you have IDs added to all copy paste automations. Must have missed that detail.
Closing this as it has been fixed in dev and will be part of 0.68.1
@tubalainen commented on Apr 28, 2018, 5:44 PM UTC:
Home Assistant release with the issue: 0.68.0
Last working Home Assistant release (if known): 0.67.1 Chrome version (66.0.3359.139)
Operating environment (Hass.io/Docker/Windows/etc.): Docker under Debian
Component/platform: The UI - Automation function
Description of problem: When adding a new or changing an existing automation nothing happens when the Floppy symbol button (save) is being pushed.
Just reverted back to 0.67.1 and it all worked just fine again.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
This issue was moved by MartinHjelmare from home-assistant/home-assistant/issues/14145.