Ajout module tuya switch 2 voies avec neutre

Bonjour,

Pouvez vous ajouter ce micromodule 2 relais avec neutre ?
Lien vers le site marchand : ici
Configuration JSON Brut :

{
    "ieee": "84:fd:27:ff:fe:8c:47:27",
    "nwk": 3930,
    "status": 2,
    "lqi": "127",
    "rssi": "-78",
    "last_seen": "1623788850.9587088",
    "node_descriptor": "01:40:8e:02:10:52:52:00:00:2c:52:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 256,
            "profile_id": 260,
            "manufacturer": "_TYZB01_zsl6z0pw",
            "model": "TS0003",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                },
                {
                    "id": 10,
                    "name": "Time",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 65
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TYZB01_zsl6z0pw"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0003"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": ""
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "on_off",
                            "value": 0
                        },
                        {
                            "id": 16385,
                            "name": "on_time",
                            "value": 0
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "value": 0
                        }
                    ]
                }
            ]
        },
        {
            "id": 2,
            "status": 1,
            "device_type": 256,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [],
            "input_clusters": [
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "on_off",
                            "value": 0
                        },
                        {
                            "id": 16385,
                            "name": "on_time",
                            "value": 0
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "value": 0
                        }
                    ]
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "_TYZB01_zsl6z0pw",
        "model": "TS0003",
        "node_desc": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 4098,
            "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,
                    4,
                    5,
                    6
                ],
                "output_clusters": [
                    25,
                    10
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6
                ],
                "output_clusters": []
            }
        }
    },
    "class": "zigpy.device"
}

Image du module : TYZB01_zsl6z0pw.TS0003
Logs:

[2021-06-16 00:03:38][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:03:38][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 1::6::0 => Bool.false
[2021-06-16 00:03:40][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:03:40][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 1::6::0 => Bool.true
[2021-06-16 00:04:47][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"2":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:47][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 2::6::0 => Bool.true
[2021-06-16 00:04:50][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]},"2":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:50][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 1::6::0 => Bool.false
[2021-06-16 00:04:50][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 2::6::0 => Bool.false
[2021-06-16 00:04:54][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]},"2":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:54][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 1::6::0 => Bool.true
[2021-06-16 00:04:54][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 2::6::0 => Bool.true
[2021-06-16 00:04:56][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:56][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 1::6::0 => Bool.false
[2021-06-16 00:04:56][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:56][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 1::6::0 => Bool.true
[2021-06-16 00:04:57][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"2":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:57][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 2::6::0 => Bool.false
[2021-06-16 00:04:58][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"2":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:58][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 2::6::0 => Bool.true
[2021-06-16 00:04:59][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"2":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:04:59][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 2::6::0 => Bool.false
[2021-06-16 00:05:30][DEBUG] : {"devices":{"84:fd:27:ff:fe:8c:47:27":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-06-16 00:05:30][DEBUG] : Search attribut for 84:fd:27:ff:fe:8c:47:27 logicalId : 1::6::0 => Bool.false

Fabricant : Tuya
Ref : QS-Zigbee-S04-2C-LN

merci.

J"ai rapidement fait une intégration fichier a inclure dans le repertoire idoine pour ceux que ca pourrait interesser :

TYZB01_zsl6z0pw.TS0003

a transformer en .json : TYZB01_zsl6z0pw.TS0003.txt (1,9 Ko)