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 Niko switch action reporting functionality #8635

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

svenjochems
Copy link
Contributor

Some Niko switches are not reporting state updates as 'action' values.
Based on research in Koenkk/zigbee2mqtt#13737 and zigpy/zha-device-handlers#3701, this PR adds the switchActionReporting functionality to the Niko switch converters.
Depends on Koenkk/zigbee-herdsman#1301

@@ -330,6 +376,7 @@ const definitions: DefinitionWithExtend[] = [
'release_right_ext',
]),
e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled']),
e.binary('action_reporting', ea.ALL, true, false),
Copy link
Owner

Choose a reason for hiding this comment

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

Could you add a description here? (.withDescription() like below)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants