ardeus-ua / ha-tasmota Goto Github PK
View Code? Open in Web Editor NEWtasmota ws2812 custom component for Home Assistant
tasmota ws2812 custom component for Home Assistant
2018-07-16 16:03:35 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.light.tasm. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/loader.py", line 86, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/config/custom_components/light/tasm.py", line 11, in
from homeassistant.components.light import (
ImportError: cannot import name 'SUPPORT_RGB_COLOR'
2018-07-16 16:03:35 ERROR (MainThread) [homeassistant.loader] Unable to find component light.tasm
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:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.