How to change the reporting attribute for 6 switches in a HA script using mqtt

Hi All,

I have 6 switches ( Innr SP 240) and i want to change the minimum_report_interval for rmsCurrent (and more attributes) ina HA script.
I made a script

description: ""
      sequence:
      - action: mqtt.publish
        metadata: {}
        data:
          topic: zigbee2mqtt/0xbc8d7efffe01a238/set
          payload: |
            {
              "reporting": {
                "cluster": "haElectricalMeasurement",
                "attribute": "rmsCurrent",
                "minimum_report_interval": 11,
                "maximum_report_interval": 300,
                "reportable_change": 1
              }
            }

but when I run it I get the folowing error:

z2m: No converter available for ‘reporting’ on ‘beganegrond_gang_nachtlamp’: ({“attribute”:“rmsCurrent”,“cluster”:“haElectricalMeasurement”,“maximum_report_interval”:300,“minimum_report_interval”:11,“reportable_change”:1})

Am i missing something or is there a other way to do this?

  • Installation methodHome Assistant OS
  • Core2025.11.1
  • Supervisor2025.11.1
  • Operating System16.3
  • Frontend20251105.0
    Zigbee2MQTT version 2.6.3
    Frontend version 2.2.3
    zigbee-herdsman-converters version 25.59.0
    zigbee-herdsman version 6.3.2

Thanks,

J-W

Hi,

Have you confirmed you can make the desired changes via MQTT outside of HA? I like to use the app MQTT Explorer (windows app) as another window into the MQTT world. It’s a great troubleshooting tool for this kind of thing.

Cheers