-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Update frient powermeter led 2 #8044
base: master
Are you sure you want to change the base?
Conversation
src/devices/frient.ts
Outdated
await entity.read('seMetering', ['develcoPulseConfiguration'], manufacturerOptions); | ||
}, | ||
} satisfies Tz.Converter, | ||
interface_mode: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you refactor this to extend
? You can find an example in this PR: https://github.com/Koenkk/zigbee-herdsman-converters/pull/8043/files. This replaced the fz/tz and exposes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm.. perhaps, I'm searching for a more comprehensive example, where there are both getter and setter defined (ie both fromZigbee and toZigbee in the same modernExtend function).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Koenkk I think I got it now
This should fix Koenkk/zigbee2mqtt#19042