Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

little fix - attr whitelist_IDs #983

Merged
merged 3 commits into from
Jun 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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