DevIo.pm: noDevIoState changed to devioNoSTATE (Forum #120940)

git-svn-id: https://svn.fhem.de/fhem/trunk@24597 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-06-07 16:05:33 +00:00
parent 6ab2420ae0
commit 268ae36376
5 changed files with 5 additions and 5 deletions

View File

@ -208,7 +208,7 @@ CUL_Define($$)
$hash->{CMDS} = ""; $hash->{CMDS} = "";
$hash->{Clients} = $clientsSlowRF; $hash->{Clients} = $clientsSlowRF;
$hash->{MatchList} = \%matchListSlowRF; $hash->{MatchList} = \%matchListSlowRF;
$hash->{noDevIoSTATE} = 1; $hash->{devioNoSTATE} = 1;
if($dev eq "none") { if($dev eq "none") {
Log3 $name, 1, "$name device is none, commands will be echoed only"; Log3 $name, 1, "$name device is none, commands will be echoed only";

View File

@ -53,7 +53,7 @@ FBAHA_Define($$)
$hash->{Clients} = ":FBDECT:"; $hash->{Clients} = ":FBDECT:";
my %matchList = ( "1:FBDECT" => ".*" ); my %matchList = ( "1:FBDECT" => ".*" );
$hash->{MatchList} = \%matchList; $hash->{MatchList} = \%matchList;
$hash->{noDevIoSTATE} = 1; $hash->{devioNoSTATE} = 1;
DevIo_CloseDev($hash); DevIo_CloseDev($hash);
$hash->{DeviceName} = $dev; $hash->{DeviceName} = $dev;

View File

@ -92,7 +92,7 @@ ZWCUL_Define($$)
my %matchList = ( "1:ZWave" => "^[0-9A-Fa-f]+\$", my %matchList = ( "1:ZWave" => "^[0-9A-Fa-f]+\$",
"2:STACKABLE"=>"^\\*" ); "2:STACKABLE"=>"^\\*" );
$hash->{MatchList} = \%matchList; $hash->{MatchList} = \%matchList;
$hash->{noDevIoSTATE} = 1; $hash->{devioNoSTATE} = 1;
if($dev eq "none") { if($dev eq "none") {
Log3 $name, 1, "$name device is none, commands will be echoed only"; Log3 $name, 1, "$name device is none, commands will be echoed only";

View File

@ -154,7 +154,7 @@ ZWDongle_Define($$)
$hash->{DeviceName} = $dev; $hash->{DeviceName} = $dev;
$hash->{CallbackNr} = 0; $hash->{CallbackNr} = 0;
$hash->{nrNAck} = 0; $hash->{nrNAck} = 0;
$hash->{noDevIoSTATE} = 1; $hash->{devioNoSTATE} = 1;
my @empty; my @empty;
$hash->{SendStack} = \@empty; $hash->{SendStack} = \@empty;
ZWDongle_shiftSendStack($hash, 0, 5, undef); # Init variables ZWDongle_shiftSendStack($hash, 0, 5, undef); # Init variables

View File

@ -20,7 +20,7 @@ DevIo_setStates($$)
{ {
my ($hash, $val) = @_; my ($hash, $val) = @_;
setReadingsVal($hash, "state", $val, TimeNow()); setReadingsVal($hash, "state", $val, TimeNow());
if($hash->{noDevIoSTATE}) { if($hash->{devioNoSTATE}) {
evalStateFormat($hash); evalStateFormat($hash);
} else { } else {
$hash->{STATE} = $val; $hash->{STATE} = $val;