mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
76_SolarForecast: attr graphicHeaderOwnspec minor fix
git-svn-id: https://svn.fhem.de/fhem/trunk@28185 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
47e5c76437
commit
d0ceda6781
@ -1,5 +1,6 @@
|
||||
# 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: 76_SolarForecast: attr graphicHeaderOwnspec minor fix
|
||||
- bugfix: 82_LGTV_WebOS: fix connection problem / add SSL Support
|
||||
- bugfix: 98_CDCOpenData: falsche RegEx für FileLog
|
||||
- change: 36_Shelly: removed attr ShellyName, use 'set <name> <ShellyName>'
|
||||
|
@ -149,6 +149,7 @@ BEGIN {
|
||||
|
||||
# Versions History intern
|
||||
my %vNotesIntern = (
|
||||
"1.1.1" => "19.11.2023 graphicHeaderOwnspec: fix ignoring the last element of allsets/allattr ",
|
||||
"1.1.0" => "14.11.2023 graphicHeaderOwnspec: possible add set/attr commands, new setter consumerNewPlanning ",
|
||||
"1.0.10" => "31.10.2023 fix warnings, edit comref ",
|
||||
"1.0.9" => "29.10.2023 _aiGetSpread: set spread from 50 to 20 ",
|
||||
@ -9112,8 +9113,8 @@ sub __createOwnSpec {
|
||||
|
||||
return if(!$spec || !$show);
|
||||
|
||||
my $allsets = getAllSets ($name);
|
||||
my $allattrs = getAllAttr ($name);
|
||||
my $allsets = getAllSets ($name)." ";
|
||||
my $allattrs = getAllAttr ($name)." "; # Leerzeichen am Ende wichtig für Regexvergleich
|
||||
|
||||
my @fields = split (/\s+/sx, $spec);
|
||||
|
||||
@ -9200,7 +9201,7 @@ return $ownv;
|
||||
################################################################
|
||||
sub ___getFWwidget {
|
||||
my $name = shift;
|
||||
my $elm = shift; # Element
|
||||
my $elm = shift; # zu prüfendes Element
|
||||
my $allc = shift; # Kommandovorrat -> ist Element enthalten?
|
||||
my $ctyp = shift // 'set'; # Kommandotyp: set/attr
|
||||
|
||||
@ -9219,7 +9220,7 @@ sub ___getFWwidget {
|
||||
if ($ctyp eq 'attr') {
|
||||
$current = AttrVal ($name, $elm, '');
|
||||
$reading = '.'.$elm;
|
||||
|
||||
|
||||
push @attrreadings, $reading;
|
||||
readingsSingleUpdate ($defs{$name}, $reading, $current, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user