Unfortunately I cannot use the PWM LED component as I always get the following error:
Traceback (most recent call last):
File "/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1015, in _event_to_service_call
yield from service_handler.func(service_call)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/__init__.py", line 248, in async_handle_light_service
yield from light.async_turn_on(**params)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/rpi_gpio_pwm.py", line 145, in turn_on
brightness=_from_hass_brightness(self._brightness))
File "/home/homeassistant/.homeassistant/deps/pwmled/led/__init__.py", line 66, in set
self._update_pwm()
File "/home/homeassistant/.homeassistant/deps/pwmled/led/__init__.py", line 75, in _update_pwm
self._driver.set_pwm(values)
File "/home/homeassistant/.homeassistant/deps/pwmled/driver/__init__.py", line 56, in set_pwm
self._set_pwm(self._to_raw_pwm(values))
File "/home/homeassistant/.homeassistant/deps/pwmled/driver/gpio.py", line 30, in _set_pwm
self._pi.set_PWM_dutycycle(self._pins[i], raw_values[i])
File "/home/homeassistant/.homeassistant/deps/pigpio.py", line 1396, in set_PWM_dutycycle
self.sl, _PI_CMD_PWM, user_gpio, int(dutycycle)))
File "/home/homeassistant/.homeassistant/deps/pigpio.py", line 977, in _pigpio_command
sl.s.send(struct.pack('IIII', cmd, p1, p2, 0))
AttributeError: 'NoneType' object has no attribute 'send'
Please help me!