A sensor/detector for connecting an alarm system to HA

If you’re up for a little soldering, it looks like you could build one using an ESP32 device, a DC sensor, and ESPHome.

I found this thread:

That mentions this sensor:

Attach that to the I2C bus of an ESP32, and you should be able build a YAML file for ESPHome that will get the device to report the state to Home Assistant.

I’m doing something similar with a different sensor to detect an AC current.