Giter Club home page Giter Club logo

home-assistant-custom-components's People

Contributors

amir974 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

home-assistant-custom-components's Issues

async_setup_platform error

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

Error while setting up platform sensibosettingsonly

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]

Contains extra keys

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.

  • [name]. (See /config/configuration.yaml, line 66)."

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.

Could you add a license to these components?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.