From 3a5e3c4786c00870853651245ddfb52423a0b51a Mon Sep 17 00:00:00 2001 From: delmar <> Date: Tue, 26 Nov 2019 08:11:08 +0000 Subject: [PATCH] 71_COE_Node: decimal for kWh fixed git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@20596 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- CHANGED | 1 + FHEM/71_COE_Node.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGED b/CHANGED index cd33d1cc3..f0d96eef4 100644 --- a/CHANGED +++ b/CHANGED @@ -1,6 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 71_COE_Node: decimal for kWh fixed - change: 73_AutoShuttersControl: fix 'table with attributes' message then commandref create - new: 66_EseraAnalogInOut.pm: new modul diff --git a/FHEM/71_COE_Node.pm b/FHEM/71_COE_Node.pm index 9f793cf62..9063d0e33 100644 --- a/FHEM/71_COE_Node.pm +++ b/FHEM/71_COE_Node.pm @@ -170,7 +170,7 @@ sub COE_Node_HandleAnalogValues { if ($existingConfig) { - if ($type == 1) { + if ($type == 1 || $type == 10) { $value = (substr $value, 0, (length $value)-1) . "." . (substr $value, -1); } elsif ($type == 13) { $value = (substr $value, 0, (length $value)-2) . "." . (substr $value, -2);