Old doorbell (12-26V AC) Shelly 1 ESPHome

Found the inspiring post that got me working on this:
Make a dumb doorbell smart with Shelly 1 - Share your Projects! - Home Assistant Community (home-assistant.io)