Shelly sensor addon config for ESPhome?

I got my Shelly 1PM Gen4 flashed with ESPhome.
Now i want to use the connections of the Shelly Sensor Addon to configure these Sensors in ESPhome.
Does anybody have a Shelly with Sensors running?
I did find close to none info, except a Tasmota template.

Which GPIOs are usable?

No one?
Right now i try to get the config by try and error. :smirk:

Did you try setup from esphome documentation ?

binary_sensor:
  - id: shelly_add_on_digital_in
    name: addon digital in
    platform: gpio
    pin: GPIO12
    filters:
      - delayed_off: 50ms

  - id: shelly_add_on_data
    name: addon data
    platform: gpio
    pin: GPIO16
    filters:
      - delayed_off: 50ms

  - id: shelly_add_on_analog_in
    name: addon analog in
    platform: gpio
    pin: GPIO17
    filters:
      - delayed_off: 50ms

Yes, i did find this info which is for the Gen4 1PM, but the Gen4 1 is not documented.
I even got a Gen4 1PM to test, but in the config addon GPIOs are only used as binary sensors but failled for me detecting real sensors. :frowning:
I guess it is not so straightforward. Googleing pointed at an old dallas_shelly extension for esphome, indicating one has to use two GPIOs.

Your original post says:

So which one you have…?

Right now: both!
(and a Gen3, and some dimmers and RGBWs, which run fine with vanilla Shelly firmware)
I started the thread with an non PM but bought another 1PM, as described.
But for the addon (which runs with all newer shellys) there is no info for esphome avaliable, only at Tasmota.

So what you get from Tasmota, likely it could be used to setup esphome?