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

Merged
merged 7 commits into from
Jan 27, 2025

Conversation

svenjochems
Copy link
Contributor

@svenjochems svenjochems commented Jan 18, 2025

Some Niko switches are not reporting state updates as 'action' values.
Based on research in Koenkk/zigbee2mqtt#13737 and zigpy/zha-device-handlers#3701.

Changes:

  • Add switchActionReporting attribute to enable or disable the reporting of action values
  • Move custom Niko Clusters manuSpecificNiko1 and manuSpecificNiko2 from zigbee-herdsman to modernExtend manuSpecificNikoConfig and manuSpecificNikoState
  • Change ledState property from ON/OFF to ON/OFF/Blue/Red/Purple
  • Add ledSyncMode option
  • Change action implementation to support pushing multiple buttons together
  • action null values are not published anymore

src/devices/niko.ts Outdated Show resolved Hide resolved
src/devices/niko.ts Outdated Show resolved Hide resolved
src/devices/niko.ts Outdated Show resolved Hide resolved
src/devices/niko.ts Outdated Show resolved Hide resolved
@svenjochems
Copy link
Contributor Author

@Koenkk @sjorge I have finished my changes. This PR is ready for review

@Koenkk Koenkk merged commit 4ae589e into Koenkk:master Jan 27, 2025
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jan 27, 2025

Looks good, thanks!

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.

4 participants