@s2svetko wrote:
I am on Home Assistant 0.102.3. My configuration.yaml is like this:
eufy: username: !secret eufy_username password: !secret eufy_password
I am seeing this error in my log:
2019-12-03 09:59:40 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform eufy
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File “/usr/local/lib/python3.7/asyncio/tasks.py”, line 442, in wait_for
return fut.result()
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/components/eufy/light.py”, line 32, in setup_platform
add_entities([EufyLight(discovery_info)], True)
File “/usr/src/homeassistant/homeassistant/components/eufy/light.py”, line 57, in init
self._bulb.connect()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 128, in connect
return device.connect(self)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 66, in connect
self.update()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 192, in update
response = self.get_status()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 141, in get_status
response = self.send_packet(packet, True)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 131, in send_packet
return device.send_packet(self, packet, response)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 90, in send_packet
self.connect()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 128, in connect
return device.connect(self)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 66, in connect
self.update()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 192, in update
response = self.get_status()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 141, in get_status
response = self.send_packet(packet, True)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 131, in send_packet
return device.send_packet(self, packet, response)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 90, in send_packet
self.connect()
…
repeats TONS of times
…
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 128, in connect
return device.connect(self)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 66, in connect
self.update()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 192, in update
response = self.get_status()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 138, in get_status
packet.sequence = self.get_sequence()
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 134, in get_sequence
return device.get_sequence(self)
File “/usr/local/lib/python3.7/site-packages/lakeside/init.py”, line 112, in get_sequence
packet.sequence = random.randrange(3000000)
File “/usr/local/lib/python3.7/site-packages/google/protobuf/internal/python_message.py”, line 662, in field_setter
new_value = type_checker.CheckValue(new_value)
File “/usr/local/lib/python3.7/site-packages/google/protobuf/internal/type_checkers.py”, line 130, in CheckValue
if not isinstance(proposed_value, numbers.Integral):
File “/usr/local/lib/python3.7/abc.py”, line 139, in instancecheck
return _abc_instancecheck(cls, instance)
RecursionError: maximum recursion depth exceeded while calling a Python object
Posts: 1
Participants: 1