amir974 / home-assistant-custom-components Goto Github PK
View Code? Open in Web Editor NEWcustom components for home-assistant.io project I made for personal use...
License: Apache License 2.0
custom components for home-assistant.io project I made for personal use...
License: Apache License 2.0
I'm trying to setup this custom component but I'm getting the below error, I think it might be related to this new PR 6127 that was released or could be something else I'm doing wrong. Any help is appreciated.
Using HASS 0.39
Error log:
7-02-26 22:10:32 INFO (MainThread) [homeassistant.loader] Loaded climate.sensibosettingsandswitch from custom_components.climate.sensibosettingsandswitch
17-02-26 22:10:32 INFO (MainThread) [homeassistant.bootstrap] Setting up climate
17-02-26 22:10:32 INFO (MainThread) [homeassistant.components.climate] Setting up climate.sensibosettingsandswitch
17-02-26 22:10:32 INFO (Thread-12) [custom_components.climate.sensibosettingsandswitch] Initialized Sensibo CLIMATE Home
17-02-26 22:10:33 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform sensibosettingsandswitch
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:110600)
File "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:113980)
File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:108900)
File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/climate/sensibosettingsandswitch.py", line 89, in setup_platform
None, 99, None, "auto", None, my_target_temp_high, my_target_temp_low, my_api_key, my_min_temp, my_max_temp)
File "/config/custom_components/climate/sensibosettingsandswitch.py", line 132, in __init__
self.update()
File "/config/custom_components/climate/sensibosettingsandswitch.py", line 149, in update
current_settings = client.pod_ac_state(uid)
File "/config/custom_components/climate/sensibosettingsandswitch.py", line 47, in pod_ac_state
return result['result'][0]['acState']
IndexError: list index out of range
Hi, getting this error when setting up the sensibo custom component. I had the climate.sensibo state come up a while back, but now i'm not getting any state returned? The error i'm getting is as below.
I'm running hass.io 0.88.1
2019-02-24 23:10:00 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform sensibosettingsonly Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform SLOW_SETUP_MAX_WAIT, loop=hass.loop) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for return fut.result() File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/sensibosettingsonly/climate.py", line 88, in setup_platform None, 99, None, "auto", None, my_target_temp_high, my_target_temp_low, my_api_key, my_min_temp, my_max_temp) File "/config/custom_components/sensibosettingsonly/climate.py", line 131, in __init__ self.update() File "/config/custom_components/sensibosettingsonly/climate.py", line 138, in update uid = devices[self._name]
Just a heads up, since HA version 0.88 I keep getting this error:
"Your configuration contains extra keys that the platform does not support (but were silently accepted before 0.88). Please find and remove the following.This will become a breaking change.
The issue is that if I do remove [name], then I don't have a notify.pushoverglances service anymore so I cannot call the service.
I'd like to make additional public changes to one of these components, but your code doesn't have a license to indicate whether that is allowed. Would it be possible for you to add a license to this repo?
Thanks!
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.