plugin-ZIGBEE Beta

désolé erreur de manipulation concernant le :
XIAOMI AQARA - MICROMODULE ON/OFF ZIGBEE 3.0 2500W AVEC NEUTRE

Référence SSM-U01

{
    "ieee": "54:ef:44:10:00:09:6b:a1",
    "nwk": 33283,
    "status": 2,
    "lqi": "175",
    "rssi": "-72",
    "last_seen": "1613397722.7286587",
    "node_descriptor": "01:40:8e:5f:11:52:52:00:00:2c:52:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 256,
            "profile_id": 260,
            "manufacturer": "LUMI",
            "model": "lumi.switch.n0agl1",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 21
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "LUMI"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "lumi.switch.n0agl1"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": "Aug  8 2020"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 0
                        },
                        {
                            "id": 16384,
                            "name": "sw_build_id",
                            "value": ""
                        }
                    ]
                },
                {
                    "id": 2,
                    "name": "Device Temperature",
                    "attributes": []
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "on_off",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 9,
                    "name": "Alarms",
                    "attributes": []
                },
                {
                    "id": 10,
                    "name": "Time",
                    "attributes": []
                },
                {
                    "id": 1794,
                    "name": "Metering",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "current_summ_delivered",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 2820,
                    "name": "Electrical Measurement",
                    "attributes": [
                        {
                            "id": 1291,
                            "name": "active_power",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 64704,
                    "name": "Manufacturer Specific",
                    "attributes": []
                }
            ]
        },
        {
            "id": 41,
            "status": 1,
            "device_type": 256,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [],
            "input_clusters": [
                {
                    "id": 18,
                    "name": "MultistateInput",
                    "attributes": [
                        {
                            "id": 85,
                            "name": "present_value",
                            "value": 0
                        }
                    ]
                }
            ]
        },
        {
            "id": 21,
            "status": 1,
            "device_type": 256,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [],
            "input_clusters": [
                {
                    "id": 12,
                    "name": "AnalogInput",
                    "attributes": []
                }
            ]
        },
        {
            "id": 31,
            "status": 1,
            "device_type": 256,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [],
            "input_clusters": [
                {
                    "id": 12,
                    "name": "AnalogInput",
                    "attributes": []
                }
            ]
        },
        {
            "id": 242,
            "status": 1,
            "device_type": 97,
            "profile_id": 41440,
            "manufacturer": null,
            "model": null,
            "output_clusters": [
                {
                    "id": 33,
                    "name": "GreenPowerProxy",
                    "attributes": []
                }
            ],
            "input_clusters": []
        }
    ],
    "signature": {
        "manufacturer": "LUMI",
        "model": "lumi.switch.n0agl1",
        "node_desc": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 4447,
            "maximum_buffer_size": 82,
            "maximum_incoming_transfer_size": 82,
            "server_mask": 11264,
            "maximum_outgoing_transfer_size": 82,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    0,
                    2,
                    3,
                    4,
                    5,
                    6,
                    9,
                    10,
                    1794,
                    2820,
                    64704
                ],
                "output_clusters": [
                    25
                ]
            },
            "41": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    18
                ],
                "output_clusters": []
            },
            "21": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    12
                ],
                "output_clusters": []
            },
            "31": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    12
                ],
                "output_clusters": []
            },
            "242": {
                "profile_id": 41440,
                "device_type": 97,
                "input_clusters": [],
                "output_clusters": [
                    33
                ]
            }
        }
    },
    "class": "zigpy.device"
}