55_PIFACE: notifyFn switch added
git-svn-id: https://svn.fhem.de/fhem/trunk@4651 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -69,6 +69,7 @@ sub PIFACE_Initialize($){
|
|||||||
sub PIFACE_Define($$){
|
sub PIFACE_Define($$){
|
||||||
my ($hash, $def) = @_;
|
my ($hash, $def) = @_;
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
|
$hash->{NOTIFYDEV} = "global";
|
||||||
Log3($name, 3, "PIFACE $name active");
|
Log3($name, 3, "PIFACE $name active");
|
||||||
readingsSingleUpdate($hash, "state", "active",1);
|
readingsSingleUpdate($hash, "state", "active",1);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user