__init__() missing 2 required keyword-only arguments: 'alive' and 'up_to_date' after update to 2.4.5
See original GitHub issueDescribe the bug
Loss of shutters since the last version 2.4.5
Logger: custom_components.tahoma
Source: custom_components/tahoma/__init__.py:112
Integration: Somfy TaHoma (documentation, issues)
First occurred: 15:13:41 (1 occurrences)
Last logged: 15:13:41
__init__() missing 2 required keyword-only arguments: 'alive' and 'up_to_date'
Traceback (most recent call last):
File "/config/custom_components/tahoma/__init__.py", line 112, in async_setup_entry
gateways = await client.get_gateways()
File "/usr/local/lib/python3.8/site-packages/backoff/_async.py", line 133, in retry
ret = await target(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pyhoma/client.py", line 135, in get_gateways
gateways = [Gateway(**g) for g in humps.decamelize(response)]
File "/usr/local/lib/python3.8/site-packages/pyhoma/client.py", line 135, in <listcomp>
gateways = [Gateway(**g) for g in humps.decamelize(response)]
TypeError: __init__() missing 2 required keyword-only arguments: 'alive' and 'up_to_date'
Environment (please complete the following information):
- hub: Somfy TaHoma
- ha-tahoma version: 2.4.5
- Home Assistant version: 2021.1.5
- Platform: cover
Device: (if your problem is related to a specific device)
- Model: [e.g. PositionableScreen, can be gathered from device list in HA]
- Type: [e.g.
io:DimmableLightIOComponent, can be gathered from device page in HA looking at Firmware]/config/devices/dashboard]
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
TypeError: __init__() missing 2 required keyword-only ...
I had not updated and got this error today. I only update to see if the error was fixed by new release (None...
Read more >UpdateIssueForm.__init__() missing 1 required keyword-only ...
I tried making an update view using class- ...
Read more >Netflix Error "TypeError:__init__() missing 2 required keyword ...
Hi,. Hoping if someone can help me out with this problem:- TypeError:init() missing 2 required keyword-only arguments: 'request' and 'response'.
Read more >TypeError: __init__() missing 2 required positional arguments
The Python TypeError: init () missing 2 required positional arguments occurs when we forget to provide 2 required arguments when instantiating a class....
Read more >HAProxy 2.4 Changelog
BUILD: h1: silence an initiialized warning with gcc-4.7 and -Os - BUG/MINOR: http-fetch: Update method after a prefetch in smp_fetch_meth() - BUILD: ...
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 Free
Top 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
@iMicknl thank you very much for your speed
@dckiller51, sorry that branch has been removed already. You can download the latest version (v2.4.6) via HACS or via GitHub, where this fix is included.