mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_ArduCounter.pm: fixed summary line for modular commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@14233 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b2720b7f06
commit
eaa475ac9e
@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
# $Id$
|
||||
# fhem Modul für Impulszähler auf Basis von Arduino mit ArduCounter Sketch
|
||||
# fhem Modul für Impulszähler auf Basis von Arduino mit ArduCounter Sketch
|
||||
#
|
||||
# This file is part of fhem.
|
||||
#
|
||||
@ -43,6 +43,7 @@
|
||||
# 2017-01-06 avoid reopening when disable=0 is set during startup
|
||||
# 2017-02-06 Doku korrigiert
|
||||
# 2017-02-18 fixed a bug that caused a missing open when the device is defined while fhem is already initialized
|
||||
# 2017-05-09 fixed character encoding for documentation text
|
||||
|
||||
# ideas / todo:
|
||||
#
|
||||
@ -65,7 +66,7 @@ my %ArduCounter_gets = (
|
||||
"info" => ""
|
||||
);
|
||||
|
||||
my $ArduCounter_Version = '4.7 - 18.2.2017';
|
||||
my $ArduCounter_Version = '4.71 - 9.5.2017';
|
||||
|
||||
#
|
||||
# FHEM module intitialisation
|
||||
@ -353,7 +354,7 @@ sub ArduCounter_Attr(@)
|
||||
my $vgl = $1; # attribute name in list - probably a regex
|
||||
my $opt = $2; # attribute hint in list
|
||||
if ($aName =~ $vgl) { # yes - the name in the list now matches as regex
|
||||
# $aName ist eine Ausprägung eines wildcard attrs
|
||||
# $aName ist eine Ausprägung eines wildcard attrs
|
||||
addToDevAttrList($name, "$aName" . $opt); # create userattr with hint to allow changing by click in fhemweb
|
||||
if ($opt) {
|
||||
# remove old entries without hint
|
||||
@ -875,7 +876,7 @@ sub ArduCounter_Ready($)
|
||||
=pod
|
||||
=item device
|
||||
=item summary Module for consumption counter based on an arduino with the ArduCounter sketch
|
||||
=item summary_DE Modul für Strom / Wasserzähler auf Arduino-Basis mit ArduCounter Sketch
|
||||
=item summary_DE Modul für Strom / Wasserzähler auf Arduino-Basis mit ArduCounter Sketch
|
||||
=begin html
|
||||
|
||||
<a name="ArduCounter"></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user