The lights work fine when controlled from ios app. Gateway is synced with home assistant and recognizes and populates lights but I am unable to turn on or off the lights through home assistant. Here is the error log:
Error executing service <ServiceCall light.turn_off: entity_id=[‘light.center_led’]>
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/greenwave.py”, line 110, in turn_off
greenwave.turn_off(self._host, self._did, self._token)
File “/usr/lib/python3.6/site-packages/greenwavereality/greenwavereality.py”, line 75, in turn_off
scheme + ‘://’ + host + ‘/gwr/gop.php?cmd=DeviceSendCommand&data=1’ + token + ‘’ + did + ‘0&fmt=xml’)
TypeError: must be str, not int
Hi k8gg, I have Hassio installed using the optimized “resinos-hassio-1.3-raspberrypi3.img.bz2” image on my RPI3. What I would like to know is how do I get to the directory to copy the “greenwave.py” to the " .homeassistant/custom_components/light", being that the command line is so restricted. Or do I need to install everything manually?
Bumping this to keep the need to have this corrected in the baseline.
I’m still using the custom component also and I can confirm that the issue is still not resolved in 0.89.1.
In order breaking changes, so I created a test system and updated to 0.89.1. ,
I manually modified the custom component directory structure to custom_components/greenwave, renamed greenwave.py to light.py and created init.py in the directory.
With the hub in sync mode, it found all lights. Lights operate correctly
Hello, I’m new Home Assistant, but from what I read, there is still a fairly large group of people using the TCP Connected bulb. It looks like the the Greenwave Reality core integration is still receiving this error when trying to turn on/off a light:
Failed to call service light/turn_on. can only concatenate str (not “int”) to str