Skip to content
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

Error while saving entry time. (0.117.0b6) #2

Closed
tteck opened this issue Oct 28, 2020 · 8 comments
Closed

Error while saving entry time. (0.117.0b6) #2

tteck opened this issue Oct 28, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@tteck
Copy link

tteck commented Oct 28, 2020

Logger: homeassistant.components.websocket_api.http.connection.139909452651920
Source: custom_components/alarmo/alarm_control_panel.py:465
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 2:28:11 AM (2 occurrences)
Last logged: 2:28:17 AM

'leave'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1448, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1483, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 573, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 482, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 519, in _handle_entity_call
await result
File "/config/custom_components/alarmo/alarm_control_panel.py", line 465, in async_edit_config
self._config[ATTR_DELAYS][event][mode] = val
KeyError: 'leave'

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.93. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Oct 28, 2020
@tteck tteck changed the title Error while saving entry time Error while saving entry time. (0.117.0b6) Oct 28, 2020
@tteck
Copy link
Author

tteck commented Oct 28, 2020

I think that it has something to do with the upcoming 117.0
It worked with beta 117.0b4 (I think that was the version at install), but not with 117.0b6

@nielsfaber
Copy link
Owner

I will check it out this weekend.
Should be a simple fix.

I don’t think it is HA related, just my programming skills.
Thanks for reporting

@nielsfaber
Copy link
Owner

Does this problem still occur for you?
Or is it solved in the mean time?

@tteck
Copy link
Author

tteck commented Nov 15, 2020

It still occurs.

@tteck
Copy link
Author

tteck commented Nov 15, 2020

When you release the current "major update" I'm hopeful

@nielsfaber
Copy link
Owner

v1.1.0 is hereby released.
Since the storage is completely changed it would surprise me if you still have this error after updating.

@tteck
Copy link
Author

tteck commented Nov 16, 2020

v1.1.0 solved issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants