Hi, I’ve a bunch of iglo lights and was delighted (sic) to see that they are now supported as of .61
Unfortunately I’ve not been able to get them to work and see the following error in the home-assistant.log when I try and turn one on.
Here is the error;
2018-03-30 13:36:40 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall light.turn_off: entity_id=['light.iglol1']>
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/core.py", line 1006, in _event_to_service_call
await service_handler.func(service_call)
File "/usr/lib/python3.6/site-packages/homeassistant/components/light/__init__.py", line 346, in async_handle_light_service
await light.async_turn_off(**params)
File "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/light/iglo.py", line 132, in turn_off
self._lamp.switch(False)
File "/usr/lib/python3.6/site-packages/iglo/lamp.py", line 69, in switch
self._send(data)
File "/usr/lib/python3.6/site-packages/iglo/lamp.py", line 115, in _send
sock.connect((self._ip, self._port))
TypeError: an integer is required (got type str)
Using hassio v0.65.6