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

Fixed Legrand/Bticino LedInDark feature #6032

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Conversation

FabianMangold
Copy link
Contributor

This PR:

  • Adds a missing FZ converter to handle Legrand / Bticino's "LedInDark" feature
  • Adds the relevant configuration to the affected devices
  • Removes Legrand's 067776_inverted switch

@FabianMangold FabianMangold changed the title Fixed Legrand/Bticino feature LedInDark Fixed Legrand/Bticino LedInDark feature Aug 1, 2023
@@ -3930,6 +3930,13 @@ const converters = {
}
},
},
legrand_ledInDark: {
Copy link
Owner

Choose a reason for hiding this comment

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

Please rename to legrand_led_in_dark

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, done! (Sorry, first contribution)

// Some require coverInverted:
// - https://github.com/Koenkk/zigbee2mqtt/issues/15101#issuecomment-1356787490
// - https://github.com/Koenkk/zigbee2mqtt/issues/16090
fingerprint: [
Copy link
Owner

@Koenkk Koenkk Aug 2, 2023

Choose a reason for hiding this comment

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

Why was this removed? It will break 067776 for some users.

Copy link
Contributor Author

@FabianMangold FabianMangold Aug 2, 2023

Choose a reason for hiding this comment

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

That's correct, and it was not my intention to break anything.

Until recently, this was required as there was no other alternative. Now that OTA is available, those devices work perfectly with the classic (non inverted) 067776.
I am preparing another PR with more extensive changes to the 067776, (add support for Venetian / BSO mode) and wanted to avoid duplication.
The change has been reverted for now nevertheless, hope that is OK.

@Koenkk Koenkk merged commit 88f17a5 into Koenkk:master Aug 3, 2023
1 check passed
@Koenkk
Copy link
Owner

Koenkk commented Aug 3, 2023

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.

2 participants