Skip to content
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

Merged

Conversation

Kane610
Copy link
Member

@Kane610 Kane610 commented Jan 4, 2018

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:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
  • New dependencies are only imported inside functions that use them ([example][ex-import]).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

@@ -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
Copy link
Contributor

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Member Author

@Kane610 Kane610 left a 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.

Copy link
Member

@MartinHjelmare MartinHjelmare left a 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 MartinHjelmare changed the title Deconz - Add support for Zigbee green power devices such as the Hue Tap Add Deconz support for Zigbee green power devices like Hue Tap Jan 15, 2018
@MartinHjelmare MartinHjelmare merged commit 3979387 into home-assistant:dev Jan 15, 2018
@Kane610
Copy link
Member Author

Kane610 commented Jan 15, 2018

@MartinHjelmare it was just a hopeful wish

@balloob balloob mentioned this pull request Jan 26, 2018
@Kane610 Kane610 deleted the deconz-support-green-power-switch branch January 31, 2018 21:24
@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
@ghost ghost removed the platform: sensor.deconz label Mar 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants