Nous A5t working?

I am currently running a Nous A5t multiple socket with tasmota via mqtt. It works well with Home Assistant. Nevertheless, I would like to operate this device with esphome in order to have a uniform administration. There is a device description here:

https://www.esphome-devices.com/devices/Nous-A5t#basic-configuration

In the yaml file there is a note that the small buttons are not working at the moment:

binary_sensor:
  - platform: status
    name: "${friendly_name} - Status"
    device_class: connectivity

  - platform: gpio
    pin:
      number: GPIO16
      # mode: INPUT_PULLUP
      inverted: True
    id: "${friendly_name}_button_state0"
    on_press:
      - switch.toggle: button_switch1
      - switch.toggle: button_switch2
      - switch.toggle: button_switch3

# Small buttons currently not working

sensor:
  - platform: wifi_signal
    name: "${friendly_name} - Wifi Signal"
    update_interval: 60s
    icon: mdi:wifi

Does anyone have this device with esphome in operation and can say something about it? Of course I don’t want to go backwards.

Replace

  - platform: adc
    pin: VCC
    name: "${friendly_name} - VCC Volt"
    icon: mdi:flash-outline

with this:

  - platform: adc
    pin: VCC
    id: a0_vcc
    update_interval: 1s
    internal: true
    on_value_range:
      - below: 4
        then:
          - lambda: !lambda |-
              if (id(a0_vcc).state > 3) {
                id(relay1).toggle();
              } else if (id(a0_vcc).state <= 3 && id(a0_vcc).state > 2) {
                id(relay2).toggle();
              } else {
                id(relay3).toggle();
              }

Thank you for your response. I flashed my device and it works properly.

I read on a Tasmota page that there is a problem with this button.

Since these are analog inputs with narrow switching thresholds, there often seems to be interference from external electrical influences (switch-on pulses or interference from highly inductive loads).

This leads to incorrect switching on or off actions.

I’ve experienced that before with this device.

That’s why it probably makes sense not to use the analogue inputs for switching the sockets individually.