ardeus-ua / ha-tasmota

tasmota ws2812 custom component for Home Assistant
1 stars 0 forks source link

Effects not working #1

Open daaf84 opened 6 years ago

daaf84 commented 6 years ago

I copied the config, and I can change on/off state, brightness and color. But I can't change the effects....

I'v got this in my log:

> Log Details (ERROR)
> Thu Mar 22 2018 19:00:29 GMT+0100 (CET)
> 
> Error doing job: Exception in callback MQTT._mqtt_handle_message(<paho.mqtt.cl...at 0x5e8866f0>)
> Traceback (most recent call last):
>   File "/home/homeassistant/.pyenv/versions/3.6.3/lib/python3.6/asyncio/events.py", line 127, in _run
>     self._callback(*self._args)
>   File "/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/homeassistant/components/mqtt/__init__.py", line 643, in _mqtt_handle_message
>     msg.topic, payload, msg.qos)
>   File "/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/homeassistant/core.py", line 252, in async_run_job
>     target(*args)
>   File "/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/homeassistant/components/light/tasm.py", line 189, in brightness_received
>     device_value = float(templates[CONF_BRIGHTNESS](payload))
> ValueError: could not convert string to float: