30_pilight_*: fix set have to be return undef if no error accrued

git-svn-id: https://svn.fhem.de/fhem/trunk@8483 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
risiko79
2015-04-26 09:07:40 +00:00
parent 63e8d13e61
commit b3166d8027
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
##############################################
# $Id: 20_pilight_dimmer.pm 2015-02-26 Risiko $
#
# Usage
#
@@ -115,6 +114,7 @@ sub pilight_dimmer_Set($$)
Log3 $me, 4, "$me(Set): $msg";
IOWrite($hash, $msg);
return undef;
}

View File

@@ -1,5 +1,4 @@
##############################################
# $Id: 20_pilight_switch.pm 0.11 2015-03-29 Risiko $
#
# Usage
#
@@ -109,6 +108,7 @@ sub pilight_switch_Set($$)
my $msg = "$me,$v";
IOWrite($hash, $msg);
return undef;
}