mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
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:
parent
fe1a8bfd0e
commit
d3c240ed21
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user