mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
71_COE_Node: decimal for kWh fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@20596 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7f4f5a3bfd
commit
86b9147e55
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user