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

Can it do leak sensors too? #28

Open
workingmanrob opened this issue Aug 17, 2022 · 0 comments
Open

Can it do leak sensors too? #28

workingmanrob opened this issue Aug 17, 2022 · 0 comments

Comments

@workingmanrob
Copy link

I got both a door and leak sensor recently and using this code I was able to get the door sensor working like a champ and am now wondering if it could handle the leak sensor as well.

The device I have is like the one shown here - https://github.com/xcompass/Tuya-Water-Leak-Sensor - and looks remarkably similar to the Neo PIR sensor.

It is of course just a binary sensor - if wet, on - else off.

So I was able to put esphome on there and just created a wet / dry template sensor in home assistant that checks if the device is online - if so, wet - else dry. I'm sure it could be smarter than that though.

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

No branches or pull requests

1 participant