From 6af5b76eab55e15c54b54f5aeaf25fdd5b686046 Mon Sep 17 00:00:00 2001 From: Jey Cee Date: Fri, 30 Jun 2023 22:16:19 +0200 Subject: [PATCH] fix D2-05-00 Goto top/bottom --- lib/definitions/devices.json | 4 ++-- lib/definitions/eep/A5-12/A5-12-01.json | 6 ++++-- lib/definitions/eep/D2-05/D2-05-00.json | 16 ++++------------ 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/lib/definitions/devices.json b/lib/definitions/devices.json index 94ee8ae..b24b3f9 100644 --- a/lib/definitions/devices.json +++ b/lib/definitions/devices.json @@ -4309,11 +4309,11 @@ "help": { "en": { "1": "Click on 'Add Device'.", - "2": "Start teachin mode on your Rollershutter. For more information please read the manual of Rollershutter." + "2": "Press the button on the Roller-shutter 3 times. For more information please read the manual of Roller-shutter." }, "de": { "1": "Auf 'Gerät Hinzufügen' klicken.", - "2": "Anlernmodus am Rollershutter starten. Für weitere informationen bitte die Anleitung des Rollershutter lesen." + "2": "3 mal die Taste am Rollladenaktor drücken. Für weitere informationen bitte die Anleitung des Rollladenaktor lesen." } } }, diff --git a/lib/definitions/eep/A5-12/A5-12-01.json b/lib/definitions/eep/A5-12/A5-12-01.json index 0104a02..d8fe067 100644 --- a/lib/definitions/eep/A5-12/A5-12-01.json +++ b/lib/definitions/eep/A5-12/A5-12-01.json @@ -18,7 +18,8 @@ "type": "number", "read": true, "write": false, - "def": 0 + "def": 0, + "unit": "kWh" }, "native": {} }, @@ -48,7 +49,8 @@ "type": "number", "read": true, "write": false, - "def": 0 + "def": 0, + "unit": "W" }, "native": {} } diff --git a/lib/definitions/eep/D2-05/D2-05-00.json b/lib/definitions/eep/D2-05/D2-05-00.json index 6b53820..b13ff66 100644 --- a/lib/definitions/eep/D2-05/D2-05-00.json +++ b/lib/definitions/eep/D2-05/D2-05-00.json @@ -460,18 +460,14 @@ "description": "Command identifier", "bitoffs": "28", "bitsize": "4", - "value": { - "var": 1 - } + "value": 1 }, { "data": "fixed parameter", "description": "Vertical Position", "bitoffs": "1", "bitsize": "7", - "value": { - "var": 0 - } + "value": 0 }, { "data": "Rotation Angle", @@ -528,18 +524,14 @@ "description": "Command identifier", "bitoffs": "28", "bitsize": "4", - "value": { - "var": 1 - } + "value": 1 }, { "data": "fixed parameter", "description": "Vertical Position", "bitoffs": "1", "bitsize": "7", - "value": { - "var": 100 - } + "value": 100 }, { "data": "Rotation Angle",