ShellyForHASS: Flood Error
Hey there. I having problems with adding my Flood. H&T sensor was no problem.
Log:
TypeError: __init__() missing 1 required positional argument: 'info_type'
2019-12-10 18:06:40 ERROR (CoAP) [pyShelly] Error receiving UDP, __init__() missing 1 required positional argument: 'info_type', Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pyShelly/__init__.py", line 318, in _coap_loop
ipaddr, code, payload)
File "/usr/local/lib/python3.7/site-packages/pyShelly/__init__.py", line 161, in _update_block
Block(self, block_id, device_type, ipaddr, code)
File "/usr/local/lib/python3.7/site-packages/pyShelly/block.py", line 36, in __init__
self._setup()
File "/usr/local/lib/python3.7/site-packages/pyShelly/block.py", line 205, in _setup
self._add_device(Flood(self))
File "/usr/local/lib/python3.7/site-packages/pyShelly/sensor.py", line 40, in __init__
super(Flood, self).__init__(block, 23, 'flood')
File "/usr/local/lib/python3.7/site-packages/pyShelly/sensor.py", line 31, in __init__
super(BinarySensor, self).__init__(block, pos, device_type)
TypeError: __init__() missing 1 required positional argument: 'info_type'
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pyShelly/__init__.py", line 318, in _coap_loop
ipaddr, code, payload)
File "/usr/local/lib/python3.7/site-packages/pyShelly/__init__.py", line 161, in _update_block
Block(self, block_id, device_type, ipaddr, code)
File "/usr/local/lib/python3.7/site-packages/pyShelly/block.py", line 36, in __init__
self._setup()
File "/usr/local/lib/python3.7/site-packages/pyShelly/block.py", line 205, in _setup
self._add_device(Flood(self))
File "/usr/local/lib/python3.7/site-packages/pyShelly/sensor.py", line 40, in __init__
super(Flood, self).__init__(block, 23, 'flood')
File "/usr/local/lib/python3.7/site-packages/pyShelly/sensor.py", line 31, in __init__
super(BinarySensor, self).__init__(block, pos, device_type)
TypeError: __init__() missing 1 required positional argument: 'info_type'
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 23 (8 by maintainers)
Finally got it to install - and it works now.
I do respect that it takes time. I have done open source myself so I’m not trying to rush anything here. But using beta is normally something you do if you’re okay with minor issues and crashes.
If you believe just use beta. Why not just release in stable if no risk??
Maybe use label to indicate that the issue is fixed but still being tested aka beta.