My custom components for Home Assistant
abmantis / homeassistant-custom-components Goto Github PK
View Code? Open in Web Editor NEWCustom components for home assistant
Custom components for home assistant
Thanks for doing this.
I’m trying to test it, but after copying those files to my custom_components/whirlpool/ and adding the text to the configuration file, I did a configuration test, but it doesn’t finish… it keeps loading and loading… which means that something is wrong.
So I removed the whirlpool configuration, and I had success on the validation of the config file.
What I’m I doing wrong?
Hi,
i'm glad somebody managed to get Whirlpool's devices to work (but anything is better than their app 😆 ). Is there any way to help you to get more appliances?
I have a microwave and i would like to get some basic info to HA. Unfortunately i'm not a programer to contribute on your project but i think i'm able to do everything in order to get needed info (based on your guidance).
Thank you!
2018-03-15 18:23:59 ERROR (SyncWorker_7) [custom_components.sensor.edp_redy_local] WTF? RuntimeError > Non-thread-safe operation invoked on an event loop other than the current one
2018-03-15 18:23:59 ERROR (SyncWorker_7) [asyncio] <CoroWrapper Entity.async_update_ha_state() running at /Users/dgomes/Projects/home-assistant/homeassistant/helpers/entity.py:186, created at /Users/dgomes/Projects/home-assistant/homeassistant/helpers/entity.py:299> was never yielded from
Coroutine object created at (most recent call last, truncated to 10 last lines):
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/concurrent/futures/thread.py", line 69, in _worker
work_item.run()
File "/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/dgomes/.homeassistant/custom_components/sensor/edp_redy_local.py", line 112, in update
parse_data(j)
File "/Users/dgomes/.homeassistant/custom_components/sensor/edp_redy_local.py", line 82, in parse_data
read_nodes(redymeter_section["NODES"])
File "/Users/dgomes/.homeassistant/custom_components/sensor/edp_redy_local.py", line 77, in read_nodes
load_sensor(node_id, node_name, node_power, None)
File "/Users/dgomes/.homeassistant/custom_components/sensor/edp_redy_local.py", line 55, in load_sensor
sensors[sensor_id].update_data(power, last_communication)
File "/Users/dgomes/.homeassistant/custom_components/sensor/edp_redy_local.py", line 142, in update_data
self.async_schedule_update_ha_state()
File "/Users/dgomes/Projects/home-assistant/homeassistant/helpers/entity.py", line 299, in async_schedule_update_ha_state
self.hass.async_add_job(self.async_update_ha_state(force_refresh))
Thank you for this component.
It appears to be broken after 0.84 release
getting these errors:
018-12-16 17:05:48 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.binary_sensor.device_tracker_sensor. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/src/app/homeassistant/loader.py", line 92, in get_component
module = importlib.import_module(path)
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/binary_sensor/device_tracker_sensor.py", line 28, in <module>
from homeassistant.helpers.restore_state import async_get_last_state
ImportError: cannot import name 'async_get_last_state'
Hi @abmantis :-)
First of all, thanks for a great piece of code for HA custom component :-)
I wanted to know whether you were aware of the Whirlpool side API change that caused the plugin to stop functioning properly.
Martin
2018-08-22 22:55:22 ERROR (MainThread) [custom_components.sensor.edp_redy_local] Failed to load data from redy box: Expecting value: line 1 column 1 (char 0)
Hi,
i've get this error on check configuration on home assistant 0.92.0:
General Errors:
- Integration device_tracker_sensor not found when trying to verify its binary_sensor platform.
I've get this error with add-on check configuration.
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.