.110 & 2.25 can't edit previously added gabrages
See original GitHub issueThis is another bug on my two hasses: Can’t edit previously added integrations. It stops with info ‘Please wait, installing integrations’. But if i add another (new) one i can edit it, configuration dialog shows immediately. I probably should re add all my garbage and forget about it but i ve enabled debug log for previous issue so here it is (i hope this time with more sense ;> ) :
Logger: aiohttp.server
Source: custom_components/garbage_collection/config_singularity.py:49
First occurred: 8:47:26 (1 occurrences)
Last logged: 8:47:26
Error handling request
Traceback (most recent call last):
File "/home/hass/homeassistant/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/home/hass/homeassistant/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/home/hass/homeassistant/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
return await handler(request)
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/ban.py", line 73, in ban_middleware
return await handler(request)
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/auth.py", line 127, in auth_middleware
return await handler(request)
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 125, in handle
result = await result
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py", line 186, in post
return await super().post(request)
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py", line 54, in wrapper
result = await method(view, request, *args, **kwargs)
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py", line 72, in post
"show_advanced_options": data["show_advanced_options"],
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 129, in async_init
flow, flow.init_step, data, init_done
File "/home/hass/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 201, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/home/hass/homeassistant/.homeassistant/custom_components/garbage_collection/config_flow.py", line 379, in async_step_init
CONFIGURATION.clean(self.config_entry.options)
File "/home/hass/homeassistant/.homeassistant/custom_components/garbage_collection/config_singularity.py", line 49, in clean
del data[key]
TypeError: 'mappingproxy' object does not support item deletion
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Garbage service for houses and smallplexes - Portland.gov
To set up or change your garbage, recycling, and compost collection service, ... to take the previous week's materials at no additional cost...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alternatively, you can do every_n_days, with period of 28, and leave the first_date 😃
Or maybe, they are not monthly, but every 4 weeks. So if you use frequency every_n_weeks, period 4 and first_week 3. I did not check the whole table, but like half of it and it looks like this is what it is.