Built-in Shelly integration: Pro 1PM switch flips on/off from input status (fw 2.1.1)

Ran into this today. Found it due to 'Some devices are generating excessive events.' and my two Shelly Pro 1PM were the culprits, might apply to other Shelly devices as well, especially ones with PM. I couldn't find a way to control this from the Shelly side on stock firmware (there's not reporting threshold I could see).

Hub: C-8 Pro, platform 2.5.2.139. Devices: Shelly Pro 1PM (SPSW-201PE16EU), firmware 2.1.1 (20261026-151206/2.1.1-g07e9ad2), driver "Shelly WiFi v2 Switch".

Issue 1: the relay is on continuously (Switch.GetStatus: output: true, counts.switch_on: 1), but the device logs switch off/on several times per second. Debug log shows the driver applying input sections to the switch attribute:

parse [id:0, state:false, sectionName:input:0, sectionType:input]  ->  switch is now off
parse [id:1, state:null,  sectionName:input:1, sectionType:input]  ->  switch is now off
parse [... switch:0 output:true ...]                                ->  switch is now on

Input config: input:0 type switch, enabled (state false); input:1 disabled (state null). Expected: input sections should not update the relay's switch attribute (and a disabled input with state null should be ignored).

Issue 2: the power reports are arriving too often, up to several per second on every wattage change.

Bonus issue #3:

Logs: app:6 2026-11-08 12:30:13.235 error groovy.lang.MissingPropertyException: No such property: identity for class: com.hubitat.hub.controller.shelly.ShellyDevice on line 113 (method main)

Shelly WiFi Controller Integration has an "add" button for a Gen1 Shelly 1 (MAC DC:4F:22:77:07:03) that was discovered but never added. I suspected that one, but setting discoverable=false on it didn't help (not yet tested after a hub reboot, might be cached). Every other Shelly keeps working. Only the page is broken, so I can't add or pair Shellys.