Tapo matter smart plug suddenly malfunctions and cycles on/off when toggled

Hello,

I installed my first Matter device a couple weeks ago, a Tapo P125M smart plug. I had no issues, it worked perfectly. After the last Matter update, and a HA core update it got unstable. When I toggle the switch on the dashboard, either web or companion app it immediately starts cycling back and forth until I press the button on the plug to stop it.

The switch wwas set up with the HA visual editor. Here is the yaml:

type: entities
entities:
  - entity: switch.scott_bedroom_laptop_charger_2
title: Plugs

Now the strange part is I also set up the switch on an Elecro 7" touch panel. Here is the yaml:

switch:
  - platform: homeassistant
    id: switch_scott_bedroom_laptop_charger_2
    entity_id: switch.scott_bedroom_laptop_charger_2
    on_state:
      then:
        - lvgl.widget.update:
            id: w_mlv6cv9gycigf
            state:
              checked: !lambda return x;
    internal: true

This works without a problem. What am I missing?

Well this issue gets more confusing. I just accepted the latest Matter integration update (9.1.0) and the problem exacerbated. The cycling of the switch on/off increased in frequency and the ESPHome display now had the same issue. I deleted the plug entry and re-added it which seems to have stabilized on the HA web interface but having issues getting it to work again on the esp32 panel. Is Matter this fragile? Do I expect this eveytime I accept an update?