shamruk / hass-components-sha Goto Github PK
View Code? Open in Web Editor NEWThis is non-official integration of KC868-H32 (relay controller by Kincony) for Home Assistant
This is non-official integration of KC868-H32 (relay controller by Kincony) for Home Assistant
Aafter update to 2022.2.6
Configuration invalid
Platform error switch.kincony-sha - cannot import name 'SwitchDevice' from 'homeassistant.components.switch' (/usr/src/homeassistant/homeassistant/components/switch/init.py)
Please help.
Logger: homeassistant.helpers.entity
Source: custom_components/kincony-sha/init.py:143
First occurred: 9:29:46 PM (1 occurrences)
Last logged: 9:29:46 PM
Update for switch.ls_1 fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
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/kincony-sha/switch.py", line 110, in update
self._state = self._clinet.getStatus()
File "/config/custom_components/kincony-sha/init.py", line 143, in getStatus
return x.group(1) == "1"
AttributeError: 'NoneType' object has no attribute 'group'
switches are updating but very slow in home assistant bur HA spits errors. except switch 1 when turned all off via button press with kincony switch terminal board . switch 1 stays on in HA and vice versa
Hey @shamruk, I would appreciate your review and testing of HASS component filed with this PR: home-assistant/core#70908
Thanks!
Hi!
I am using Home Assistant version 0.109.6 (hass.io in docker) in Raspberry Pi4
cannot connect socket
Level: WARNING
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:538
Integration: Switch (documentation, issues)
First occurred: 0:05:01 (11 occurrences)
Last logged: 0:10:11
Updating kincony-sha switch took longer than the scheduled update interval 0:00:30
please help deal with the problem
Thank you!
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.