-
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 3r waterleak ts #7916
update 3r waterleak ts #7916
Conversation
@@ -91,6 +91,18 @@ const definitions: Definition[] = [ | |||
fromZigbee: [fz.ias_water_leak_alarm_1, fz.battery], | |||
toZigbee: [], | |||
ota: ota.zigbeeOTA, | |||
extend: [ |
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 also expose these features?
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.
hi,we don't need this temporarily, it will be added later
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 Can you merge it
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.
hi,we don't need this temporarily, it will be added later
If it's not needed, why was the cluster added?
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.
Sorry, I didn't explain clearly. Adding this cluster is only used on the dev console menu for the time being, and not on the expose menu.
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.
I see, thanks!
src/devices/third_reality.ts
Outdated
fromZigbee: [fz.temperature, fz.humidity], | ||
toZigbee: [], | ||
exposes: [e.temperature(), e.humidity()], | ||
extend: [battery({voltage: true}), forcePowerSource({powerSource: 'Battery'})], |
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.
extend: [battery({voltage: true}), forcePowerSource({powerSource: 'Battery'})], | |
extend: [battery({voltage: true}), forcePowerSource({powerSource: 'Battery'}), temperature(), humidity()], |
And remove exposes, fromZigbee and toZigbee
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.
It has been modified. Please check it again.,thanks
Thanks! |
No description provided.