-
-
Notifications
You must be signed in to change notification settings - Fork 29.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Deconz support for Zigbee green power devices like Hue Tap #11455
Add Deconz support for Zigbee green power devices like Hue Tap #11455
Conversation
@@ -26,13 +25,13 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None): | |||
if discovery_info is None: | |||
return | |||
|
|||
from pydeconz.sensor import DECONZ_SENSOR | |||
from pydeconz.sensor import DECONZ_SENSOR, SWITCH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid confusion, I would suggest changing this to …, SWITCH as DECONZ_SWITCH
here, since the term switch
in HA refers to actuators, not sensors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@balloob would you mind add this to 0.61? An extra benefit of this is that unknown sensors won't break setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're too late for 0.61.
@MartinHjelmare it was just a hopeful wish |
Description:
Add support for Zigbee green power devices such as the Hue Tap.
Checklist:
If the code communicates with devices, web services, or third-party tools:
tox
run successfully. Your PR cannot be merged unless tests passREQUIREMENTS
variable ([example][ex-requir]).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.