nick2525 / broadlink_s1c_s2c Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tomerfi/home-assistant-custom-components
Broadlink s2c and Broadlink s1c sensors for Home Assistant
License: MIT License
This project forked from tomerfi/home-assistant-custom-components
Broadlink s2c and Broadlink s1c sensors for Home Assistant
License: MIT License
Hi. I have 2 pir sensors with the S1c alarm hub. Up until recently, this integration has been working brilliantly thanks.
I've come across an issue with one of my pir sensors where the tamper switch is stuck,
So in HA I either get 'tampered' status or 'unknown'
But in the app when I pass motion across the sensor I do see 'person detected'.
Could it be in your coding somewhere that it is returning 'unknown' due to the tampered switch constantly on?
It changes from 'tampered' to 'unknown' when I pass my hand across the sensor.
Any hack to ignore the tampered status and return motion-detected?
Thanks
Can we change the domain from sensor to binary_sensor?!
Hello,
Could someone please tell me if this integration will work with this version of HA?
https://github.com/home-assistant/operating-system/releases/download/5.13/hassos_rpi4-64-5.13.img.xz
i am wondering how to add unique ID for these entities from my S1c?
This entity ('sensor.broadlink_s1c_door_sensor') does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.
I haven't had much luck on my HAOS hyperV setup using HACS. Still diagnosing before posting logs but just wanted to see if I was barking up the wrong tree trying to shoehorn this device through this integration. Anyone able to get it working?
I've gone through the guides carefully and I'm still getting "the device storage is full." Maybe I'll save some time and hear it's not possible.
Error reporter in startup, but the integration works...
Logger: homeassistant.config_entries
Source: components/broadlink/updater.py:34
First occurred: 10:23:30 (2 occurrences)
Last logged: 10:23:30
Error setting up entry S2 for broadlink
Error setting up entry S1 for broadlink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/broadlink/init.py", line 35, in async_setup_entry
return await device.async_setup()
File "/usr/src/homeassistant/homeassistant/components/broadlink/device.py", line 117, in async_setup
update_manager = get_update_manager(self)
File "/usr/src/homeassistant/homeassistant/components/broadlink/updater.py", line 34, in get_update_manager
return update_managersdevice.api.type
KeyError: 'S1C'
After the last update, this error appears and my sensors from broadlink s1c no longer work.
With the previous version they worked perfectly
Logger: homeassistant.loader
Source: custom_components/broadlink_s1c/sensor.py:78
Integration: broadlink_s1c (documentation, issues)
First occurred: 09:23:14 (1 occurrences)
Last logged: 09:23:14
Unexpected exception importing platform custom_components.broadlink_s1c.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/broadlink_s1c/sensor.py", line 78, in
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'
Hi.
I just tried up update to the latest HA core and broadlink entities failed to load.
Rolled back to 2021.3.4 and working again.
Are you aware of any known breaking changes yet? Maybe too early to say?
Thanks
Is there a possibility to add a unique_id to the sensors?
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.