GithubHelp home page GithubHelp logo

hass-components-sha's People

Contributors

shamruk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hass-components-sha's Issues

update to 2022.2 failure

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.

update request is slow and spitting errors

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

Custom component does not work

Hi!
I am using Home Assistant version 0.109.6 (hass.io in docker) in Raspberry Pi4

  • entities in systems appeared
  • switches in the interface do not change the state of the relay, and after a few seconds return to the off state
  • in the log of the developer panel:
    Level: ERROR
    Logger: custom_components.kincony-sha
    Source: custom_components/kincony-sha/init.py:141
    Integration: Kincony Sha (documentation)
    First occurred: 0:04:47 (1 occurrences)
    Last logged: 0:04:47

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!

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.