diff --git a/FHEM/10_FBDECT.pm b/FHEM/10_FBDECT.pm index b805126b4..34d68b1f9 100644 --- a/FHEM/10_FBDECT.pm +++ b/FHEM/10_FBDECT.pm @@ -309,6 +309,8 @@ FBDECT_ParseHttp($$$) readingsBulkUpdate($hash, $ptyp, $pyld); readingsBulkUpdate($hash, "batteryState", $pyld ? "low" : "ok") if($ptyp eq "batterylow"); + readingsBulkUpdate($hash, "batteryPercent", $pyld) # 87575/96302 + if($ptyp eq "battery"); } readingsEndUpdate($hash, 1);