Seeed MR24HPB1 External Component

When ESPHome removed support for custom code files (moving it into external components), my MR24HPB1 presence sensor stopped working as I was using an external library include. I found plenty of support for the HPC1 and the kit you can get with it, but not so much for the HPB1 I have several of. So I made an external component to communicate with this board. I hope it’s of use to someone!

Contributions and issues welcome of course!

This is awesome thank you.
I noticed for the MR24D11C10 none of the text sensors are available. I was trying to set multiple MR24’s up. Any suggestions how I can do that with this code?

Hi there! I’m sorry I never came back to see this message. Did you ever have any luck with your MR24D11C10? I only have a bunch of MR24HPB1s so it’s all I was able to test on!

No worries. Unfortunately not I tried a few things based on how the documentation was written but no luck, I’ll eventually go back and tinker with it. Also noticed it never clears the “Radar Presence” state so if something is detected it’s always detected.