Skip to content

Commit

Permalink
little fix - attr whitelist_IDs (#983)
Browse files Browse the repository at this point in the history
* Update 00_SIGNALduino.pm

 * revised save option whitelist_IDs (user see now ? on Save config)
  • Loading branch information
HomeAutoUser committed Jun 20, 2021
1 parent 2737c16 commit de34765
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGED
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2021-06-16 - Update 00_SIGNALduino.pm

* revised save option whitelist_IDs (user see now ? on Save config)
2021-06-07 - Fix Multiple Send delay (#941)

* Multiple set commands are not processed
Expand Down
5 changes: 3 additions & 2 deletions FHEM/00_SIGNALduino.pm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use List::Util qw(first);


use constant {
SDUINO_VERSION => '3.5.2+20210607',
SDUINO_VERSION => '3.5.2+20210616',
SDUINO_INIT_WAIT_XQ => 1.5, # wait disable device
SDUINO_INIT_WAIT => 2,
SDUINO_INIT_MAXRETRY => 3,
Expand Down Expand Up @@ -3266,6 +3266,7 @@ function SD_plistWindow(txt)
sub SIGNALduino_FW_saveWhitelist {
my $name = shift;
my $wl_attr = shift;
my $hash = $defs{$name};

if (!IsDevice($name)) {
Log3 undef, 3, "$name: FW_saveWhitelist, is not a valid definition, operation aborted.";
Expand All @@ -3282,7 +3283,7 @@ sub SIGNALduino_FW_saveWhitelist {
else {
$wl_attr =~ s/,$//; # Komma am Ende entfernen
}
$attr{$name}{whitelist_IDs} = $wl_attr;
CommandAttr($hash,"$name whitelist_IDs $wl_attr");
Log3 $name, 3, "$name: FW_saveWhitelist, $wl_attr";
SIGNALduino_IdList("x:$name", $wl_attr);
}
Expand Down
2 changes: 1 addition & 1 deletion controls_signalduino.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UPD 2021-06-07_23:19:13 223048 FHEM/00_SIGNALduino.pm
UPD 2021-06-16_21:34:11 223086 FHEM/00_SIGNALduino.pm
UPD 2020-06-15_17:41:39 17876 FHEM/10_FS10.pm
UPD 2020-05-26_11:51:12 20465 FHEM/10_SD_GT.pm
UPD 2016-09-18_21:22:06 10111 FHEM/14_BresserTemeo.pm
Expand Down

0 comments on commit de34765

Please sign in to comment.