Git Product home page Git Product logo

homeassistant-konke's People

Contributors

jedmeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homeassistant-konke's Issues

Klight 在HA升级到0.112后报错

首先期待作者回归。

日志如下:

日志详细信息( ERROR )
Logger: homeassistant.helpers.entity
Source: custom_components/konke/light.py:179
First occurred: 下午4:11:25 (25 occurrences)
Last logged: 下午4:23:46

Update for light.klight fails
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pykonkeio/device/klight.py", line 40, in update
_, r, g, b, w, t, _ = m2.split('#')
ValueError: not enough values to unpack (expected 7, got 6)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 272, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 463, in async_device_update
await self.async_update() # type: ignore
File "/config/custom_components/konke/light.py", line 179, in async_update
await self._device.update(type='light')
File "/usr/local/lib/python3.7/site-packages/pykonkeio/device/klight.py", line 46, in update
raise error.ErrorMessageFormat
pykonkeio.error.ErrorMessageFormat: Error: wrong message

SwitchDevice is deprecated

Log Details (WARNING)
Logger: homeassistant.components.switch
Source: components/switch/init.py:125
Integration: Switch (documentation, issues)
First occurred: 11:29:32 AM (4 occurrences)
Last logged: 11:29:32 AM

SwitchDevice is deprecated, modify KonkeOutlet to extend SwitchEntity
SwitchDevice is deprecated, modify KonkeUsbSwitch to extend SwitchEntity
SwitchDevice is deprecated, modify KonkePowerStripOutlet to extend SwitchEntity
SwitchDevice is deprecated, modify KonkePowerStripUSB to extend SwitchEntity

控客红外遥控无法使用

Unable to install package pykonkeio>=2.1.8: Could not find a version that satisfies the requirement pykonkeio>=2.1.8 (from versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 2.1.4, 2.1.5, 2.1.6, 2.1.7)
No matching distribution found for pykonkeio>=2.1.8
You are using pip version 18.0, however version 19.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
2019-01-31 00:20:02 ERROR (MainThread) [homeassistant.requirements] Not initializing remote.konke because could not install requirement pykonkeio>=2.1.8
2019-01-31 00:20:02 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform remote.konke: Could not install all requirements.
2019-01-31 00:20:02 INFO (MainThread) [homeassistant.components.switch] Setting up switch.konke
2019-01-31 00:20:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service_call_id=cb792eb2d70642c898f2012e48cb5288, service_data=title=Invalid config, message=The following components and platforms could not be set up:

  • remote.konke

Please check your config., notification_id=invalid_config, service=create>
2019-01-31 00:20:02 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.asuswrt
2019-01-31 00:20:02 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=None, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:

  • remote.konke

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.