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 support for toggle command on Legrand 067774 #2845

Merged
merged 3 commits into from
Jul 29, 2021

Conversation

Ravexkgd
Copy link
Contributor

With old firmwares supported actions on and off, while new firmwares only support action toggle.

Added support for toggle and battery level

As described in #2841

With old firmwares supported actions on and off, while new firmwares only support action toggle.

Added support for toggle and battery level
@@ -117,23 +117,23 @@ module.exports = [
onEvent: readInitialBatteryState,
},
{
zigbeeModel: [' Double gangs remote switch', 'Double gangs remote switch'],
zigbeeModel: [' Double gangs remote switch\u0000\u0000\u0000\u0000'],
Copy link
Owner

Choose a reason for hiding this comment

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

Why has Double gangs remote switch been removed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because external converter doesn't work with it.
I think it's possible to use old variant, but i don't have device with old firmware version to check it.

model: '067774',
vendor: 'Legrand',
vendor: ' Legrand',
Copy link
Owner

Choose a reason for hiding this comment

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

Please remove the trailing space.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

According to logs, that's the vendor name device send's.

@Koenkk Koenkk merged commit 56179b0 into Koenkk:master Jul 29, 2021
@Ravexkgd Ravexkgd deleted the patch-1 branch July 30, 2021 16:08
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