2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

98_SMAUtils: contrib 2.4

git-svn-id: https://svn.fhem.de/fhem/trunk@26263 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2022-07-27 12:33:05 +00:00
parent 019e67c7d7
commit 12faf0eca7

View File

@ -17,6 +17,7 @@
#################################################################
# Versions History
#
# 2.4 27.07.2022 Forum: https://forum.fhem.de/index.php/topic,14624.msg1229389.html#msg1229389
# 2.3 08.04.2022 SBFspot V3.9.4 support added by Obi-Wan
# 2.2 16.09.2016 SMAUtils_Attr added
# 2.1 16.09.2016 sub Define changed
@ -273,7 +274,7 @@ readingsBeginUpdate($hash);
if (index($readingsname, $substr) != -1) {
$value = ltrim($reading[1]);
$value =~ /(\d+(?:\.\d+)?)/;
$value =~ /(-?\d+(?:\.\d+)?)/; # Forum: https://forum.fhem.de/index.php/topic,14624.msg1229389.html#msg1229389
$readingsvalue = $1;
}