Missing input switches for aqara T2 module

@Smanar
Ok new test with updated firmware and correct testing procedure. :smile:
Child lock settings work, with 0x0200 set to 0 the s1 and s2 switches are decoupled from the relays.

This is the addition i made to the original DDF and was used for testing S1 and S2 input switches.

{
      "type": "$TYPE_SWITCH",
      "restapi": "/sensors",
      "uuid": [
        "$address.ext",
        "0x01",
        "0x0012"
      ],
      "fingerprint": {
        "profile": "0x0104",
        "device": "0x0000",
        "endpoint": "0x01",
        "in": [
          "0x0012"
        ]
      },
      "items": [
        {
          "name": "attr/id"
        },
        {
          "name": "attr/lastannounced"
        },
        {
          "name": "attr/lastseen"
        },
        {
          "name": "attr/manufacturername"
        },
        {
          "name": "attr/modelid"
        },
        {
          "name": "attr/name"
        },
        {
          "name": "attr/swversion",
          "parse": {
            "at": "0x00f7",
            "ep": 1,
            "fn": "xiaomi:special",
            "idx": "0x0d",
            "script": "xiaomi_swversion.js"
          },
          "read": {
            "fn": "none"
          }
        },
        {
          "name": "attr/type"
        },
        {
          "name": "attr/uniqueid"
        },
        {
          "name": "config/on"
        },
        {
          "name": "config/reachable"
        },
        {
          "name": "state/buttonevent"
        },
        {
          "name": "state/lastupdated"
        }
      ]
    }

Here is my testing of S1 input switch:

debug.txt:1345:17:27:41:000 Websocket 192.168.84.125:62567 send message: {"attr":{"ddf_hash":null,"ddf_policy":"latest_prefer_stable","lastannounced":null,"lastseen":"2025-04-03T00:27Z","manufacturername":"Aqara","mode":1,"modelid":"**lumi.switch.acn047**","name":"Switch 34","nwkaddress":28619,"swversion":null,"type":"ZHASwitch","uniqueid":"54:ef:44:10:00:b7:2f:fa-01-0012"},"e":"changed","id":"34","r":"sensors","t":"event","uniqueid":"54:ef:44:10:00:b7:2f:fa-01-0012"} (ret = 395)

debug.txt:1346:17:27:41:000 Websocket 192.168.84.151:37958 send message: {"attr":{"ddf_hash":null,"ddf_policy":"latest_prefer_stable","lastannounced":null,"lastseen":"2025-04-03T00:27Z","manufacturername":"Aqara","mode":1,"modelid":"**lumi.switch.acn047**","name":"Switch 34","nwkaddress":28619,"swversion":null,"type":"ZHASwitch","uniqueid":"54:ef:44:10:00:b7:2f:fa-01-0012"},"e":"changed","id":"34","r":"sensors","t":"event","uniqueid":"54:ef:44:10:00:b7:2f:fa-01-0012"} (ret = 395)

debug.txt:1368:17:27:45:715 [INFO] - No button map for: **lumi.switch.acn047**, unicast to: 0x0000, endpoint: 0x01, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 32

debug.txt:1410:17:27:48:511 [INFO] - No button map for: **lumi.switch.acn047**, unicast to: 0x0000, endpoint: 0x01, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 34

debug.txt:1427:17:27:51:306 [INFO] - No button map for: **lumi.switch.acn047**, unicast to: 0x0000, endpoint: 0x01, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 36

debug.txt:1468:17:27:55:297 [INFO] - No button map for: **lumi.switch.acn047**, unicast to: 0x0000, endpoint: 0x01, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 38

debug.txt:1506:17:27:57:297 [INFO] - No button map for: **lumi.switch.acn047**, unicast to: 0x0000, endpoint: 0x01, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 40

debug.txt:1623:17:28:01:299 [INFO] - No button map for: **lumi.switch.acn047**, unicast to: 0x0000, endpoint: 0x01, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 42

Here is my testing of S2 input switch

debug.txt:1125:17:32:30:151 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x01, cluster: XIAOMI (0xFCC0), command: ATTRIBUTE_REPORT (0x0A), payload: F2FF4119AA7513840E3C0741000F0C23010500100A2308000C640B2003, zclSeq: 43
debug.txt:1130:17:32:30:178 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x01, cluster: XIAOMI (0xFCC0), command: ATTRIBUTE_REPORT (0x0A), payload: F2FF4119AA7513840F3B0741000F0C23010500100A2308000C640B2003, zclSeq: 44
debug.txt:1158:17:32:30:285 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x01, cluster: XIAOMI (0xFCC0), command: ATTRIBUTE_REPORT (0x0A), payload: F2FF4119AA751384103A0741000F0C23010500100A2308000C640B2003, zclSeq: 45
debug.txt:1179:17:32:30:435 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x01, cluster: XIAOMI (0xFCC0), command: ATTRIBUTE_REPORT (0x0A), payload: F2FF4119AA75138411390741000F0C23010500100A2308000C640B2003, zclSeq: 46
debug.txt:1300:17:32:38:752 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x01, cluster: XIAOMI (0xFCC0), command: ATTRIBUTE_REPORT (0x0A), payload: F2FF4119AA75138423270741000F0C23010600100A2308000C640B2003, zclSeq: 64
debug.txt:1432:17:32:47:706 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x02, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 66
debug.txt:1473:17:32:50:117 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x02, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 68
debug.txt:1478:17:32:50:160 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x01, cluster: XIAOMI (0xFCC0), command: ATTRIBUTE_REPORT (0x0A), payload: F2FF412FAA752984241007410025012300000000022100000323000000000423000000000523000000000A2308000C640B2003, zclSeq: 69
debug.txt:1491:17:32:51:312 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x02, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 71
debug.txt:1552:17:32:54:117 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x02, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 73
debug.txt:1602:17:32:56:912 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x02, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 75
debug.txt:1615:17:32:58:113 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x02, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 77
debug.txt:1651:17:33:00:108 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x02, cluster: MULTISTATE_INPUT (0x0012), command: ATTRIBUTE_REPORT (0x0A), payload: 5500210100, zclSeq: 79
debug.txt:1708:17:33:12:811 [INFO] - No button map for: lumi.switch.acn047, unicast to: 0x0000, endpoint: 0x01, cluster: XIAOMI (0xFCC0), command: ATTRIBUTE_REPORT (0x0A), payload: F2FF4119AA75138425250741000F0C23010500100A2308000C640B2003, zclSeq: 80