Automatic screen rotation - screen inverted in portrait mode (KDE with wayland)

Hello everybody,

the automatic screen rotation works on my 2-in-1 laptop (under KDE with Wayland), but when I flip the screen to the left or to the right (90 degree), the screen is inverted (the task bar is above and inverted). I installed iio-sensor-proxy and the ACCEL_MOUNT_MATRIX values → -1, 0, 0; 0, 1, 0; 0, 0, 1 are good in the 60-sensor.hwdb file (it worked before). So, where the problem come from ? From KDE ? from the values ? from Wayland ?

Can you help me ?

Note: Manjaro 21.2rc1 minimal installed with Wayland packages, iio-sensor-proxy and other things to make the 2-in-1 laptop works.

Thanks.