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

improve support for Tongou TOWSMR1 Din rail switch _TZE204_kobbcyum #8364

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

octa22
Copy link
Contributor

@octa22 octa22 commented Nov 23, 2024

This PR improves support for the Tongou TOWSMR1 Din rail RCBO (_TZE204_kobbcyum)

// Required to get the device to start reporting
await device.getEndpoint(1).command('manuSpecificTuya', 'dataQuery', {});
},
whiteLabel: [tuya.whitelabel('Tongou', 'TOWSMR1', 'Single-phase multifunction RCBO (DIN Module)', ['_TZE204_kobbcyum'])],
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
whiteLabel: [tuya.whitelabel('Tongou', 'TOWSMR1', 'Single-phase multifunction RCBO (DIN Module)', ['_TZE204_kobbcyum'])],

This can be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, removed

e.numeric('leakage_current', ea.STATE).withUnit('mA').withDescription('Current leakage'),
e
.enum('event', ea.STATE, [
'Normal',
Copy link
Owner

Choose a reason for hiding this comment

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

Please make all entries lowercase

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, made lowercase

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
@Koenkk Koenkk merged commit 213e201 into Koenkk:master Nov 25, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Nov 25, 2024

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