mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 01:46:08 +00:00
34_ESPEasy.pm: Fixed attr resendFailedCmd check
git-svn-id: https://svn.fhem.de/fhem/trunk@18584 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
618249b370
commit
491484cf41
@ -37,7 +37,7 @@ use HttpUtils;
|
|||||||
use Color;
|
use Color;
|
||||||
use SetExtensions;
|
use SetExtensions;
|
||||||
|
|
||||||
my $module_version = "2.16"; # Version of this module
|
my $module_version = "2.17"; # Version of this module
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# modul version and required ESP Easy firmware / JSON lib version
|
# modul version and required ESP Easy firmware / JSON lib version
|
||||||
@ -1382,7 +1382,7 @@ sub ESPEasy_Attr(@)
|
|||||||
}
|
}
|
||||||
|
|
||||||
elsif ($aName =~ m/^(autosave|autocreate|authentication|disable|deepsleep)$/
|
elsif ($aName =~ m/^(autosave|autocreate|authentication|disable|deepsleep)$/
|
||||||
|| $aName =~ m/^(presenceCheck|displayTextEncode|resendFailedCmd)$/) {
|
|| $aName =~ m/^(presenceCheck|displayTextEncode)$/) {
|
||||||
$ret = "0,1" if ($cmd eq "set" && not $aVal =~ m/^(0|1)$/)}
|
$ret = "0,1" if ($cmd eq "set" && not $aVal =~ m/^(0|1)$/)}
|
||||||
|
|
||||||
elsif ($aName eq "combineDevices") {
|
elsif ($aName eq "combineDevices") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user