2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 20:57:11 +00:00

93_DbRep: devices contained in the selection definition are marked as "Probably associated with" if possible

git-svn-id: https://svn.fhem.de/fhem/trunk@20074 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-08-27 21:39:26 +00:00
parent c1c0d92108
commit 174508b69b
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +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.
- feature: 93_DbRep: devices contained in the selection definition are marked
as "Probably associated with" if possible
- bugfix: 76_SMAInverter: fix Perl warnings
- bugfix: 93_DbRep: fix add newline at the end of DbReadingsVal result,
Forum: #103295

View File

@ -58,6 +58,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
# Version History intern
our %DbRep_vNotesIntern = (
"8.24.0" => "24.08.2019 devices marked as \"Associated With\" if possible, fhem.pl 20069 2019-08-27 08:36:02Z is needed ",
"8.23.1" => "26.08.2019 fix add newline at the end of DbRep_dbValue result, Forum: #103295 ",
"8.23.0" => "24.08.2019 prepared for devices marked as \"Associated With\" if possible ",
"8.22.0" => "23.08.2019 new attr fetchValueFn. When fetching the database content, manipulate the VALUE-field before create reading ",
@ -1216,7 +1217,7 @@ sub DbRep_Attr($$$$) {
if($aName eq "device") {
my $awdev = $aVal;
# DbRep_modAssociatedWith ($hash,$cmd,$awdev);
DbRep_modAssociatedWith ($hash,$cmd,$awdev);
}
if ($cmd eq "set") {
@ -1354,7 +1355,7 @@ sub DbRep_Notify($$) {
if($event =~ /DELETED/) {
my $awdev = AttrVal($own_hash->{NAME}, "device", "");
# DbRep_modAssociatedWith ($own_hash,"set",$awdev);
DbRep_modAssociatedWith ($own_hash,"set",$awdev);
}
if ($own_hash->{ROLE} eq "Agent") {