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

update 3r waterleak ts #7916

Merged
merged 6 commits into from
Sep 9, 2024
Merged

update 3r waterleak ts #7916

merged 6 commits into from
Sep 9, 2024

Conversation

3reality-support
Copy link
Contributor

No description provided.

@@ -91,6 +91,18 @@ const definitions: Definition[] = [
fromZigbee: [fz.ias_water_leak_alarm_1, fz.battery],
toZigbee: [],
ota: ota.zigbeeOTA,
extend: [
Copy link
Owner

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?

Copy link
Contributor Author

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

Copy link
Contributor Author

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

Copy link
Owner

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?

Copy link
Contributor Author

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.

Copy link
Owner

Choose a reason for hiding this comment

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

I see, thanks!

fromZigbee: [fz.temperature, fz.humidity],
toZigbee: [],
exposes: [e.temperature(), e.humidity()],
extend: [battery({voltage: true}), forcePowerSource({powerSource: 'Battery'})],
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
extend: [battery({voltage: true}), forcePowerSource({powerSource: 'Battery'})],
extend: [battery({voltage: true}), forcePowerSource({powerSource: 'Battery'}), temperature(), humidity()],

And remove exposes, fromZigbee and toZigbee

Copy link
Contributor Author

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

@Koenkk Koenkk merged commit 0670d9f into Koenkk:master Sep 9, 2024
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Sep 9, 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.

3 participants