Configuring D6T-1A with esphome

Newbie question: how to port arduino code to esphome? I’m trying to find how to add D6T-1A occupancy sensor to homeassistant with esphome. I found a repo for d6t-44L(ESPHome D6T Custom Component · GitHub) but nothing available for D6T-1A. I found an arduino code( D6T-1A, but not sure how port it. A little bit of handholding would really appreciated! Thanks

Usually it’s not that hard to use arduino code in an ESPHome custom sensor.

Custom Sensor Component — ESPHome is a good starting point :slightly_smiling_face:.

1 Like

Thank you!

1 Like