From 6c702fa42ee5339951b0253db384b3b55f25cf51 Mon Sep 17 00:00:00 2001 From: Tcharp38 Date: Tue, 30 Jul 2024 23:15:42 +0200 Subject: [PATCH] SNZB-01P --- .../SNZB-01P_eWeLink/SNZB-01P_eWeLink.json | 29 +++++++++++++++++++ docs/fr_FR/Changelog.md | 1 + 2 files changed, 30 insertions(+) diff --git a/core/config/devices/SNZB-01P_eWeLink/SNZB-01P_eWeLink.json b/core/config/devices/SNZB-01P_eWeLink/SNZB-01P_eWeLink.json index 6a7a49d55a..582a2184dd 100644 --- a/core/config/devices/SNZB-01P_eWeLink/SNZB-01P_eWeLink.json +++ b/core/config/devices/SNZB-01P_eWeLink/SNZB-01P_eWeLink.json @@ -30,6 +30,35 @@ "Identify": { "use": "act_zbCmdC-Identify", "nextLine": "after" + }, + "Click": { + "use": "inf_click", + "comment": "value = single, double or long", + "isVisible": 1 + }, + "Single click": { + "use": "inf_zbCmdC-0006-Toggle", + "trigOut": { + "01-click": { + "valueOffset": "single" + } + } + }, + "Double click": { + "use": "inf_zbCmdC-0006-On", + "trigOut": { + "01-click": { + "valueOffset": "double" + } + } + }, + "Long click": { + "use": "inf_zbCmdC-0006-Off", + "trigOut": { + "01-click": { + "valueOffset": "long" + } + } } } } diff --git a/docs/fr_FR/Changelog.md b/docs/fr_FR/Changelog.md index 6dfb954863..fa560c8fdb 100644 --- a/docs/fr_FR/Changelog.md +++ b/docs/fr_FR/Changelog.md @@ -1,6 +1,7 @@ # ChangeLog - Correction: 'Commande 0102-01- inconnue' (2719). +- Sonoff SNZB-01P: Mise-à-jour du modèle (2716). ## 240710-BETA-2