Controlling a cover conected to a shelly 2PM via KNX switch

Hi,

I’m struggling to control a new cover which I have connected to a shelly 2PM via the HA integrated KNX switch. Controlling the cover using the native shelly integration works fine - hence the problem is related to the KNX integration.

This is what I did so far:
I created two KNX addresses in ETS (one for up/down and one for stopp) like I would do it for a KNX actor controlled cover. I have assigned the two groups to a KNX switch. I have also linked the two addresses to HA like this:

knx:

  binary_sensor:

    - name: "Taster Sonnensegel"

      state_address: "5/1/25"

    - name: "Taster Sonnensegel stopp"

      state_address: "5/1/26"

I assume that the problem sits with that configuration as I only treat the switch like a binary sensor were in reality the data they submit is not binary. But I didn’t find anything more sensible in the KNX integration documentation. Did someone manage to get something like that implemented and can point me to the right way of doing this?

Thanks

what is it then? Covers are usually triggered by DPT 1 telegrams.

The connonical way to do this would be Events (knx_event) instead of binary sensors since your actions are state-less. Binary sensors keep an internal state and only trigger actions if the state changed - which eg. for the “stopp” sensor probably never happens as it always receives a 1.

Thanks. knx_event was the needed hint. Switching to knx_events made it work!