mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 14:04:15 +00:00
98_MSwitch.pm:fix event handling
git-svn-id: https://svn.fhem.de/fhem/trunk@17319 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4eb783fb92
commit
29f0cb31b8
@ -747,8 +747,8 @@ sub MSwitch_Set($@) {
|
|||||||
if ((($cmd eq 'on') || ($cmd eq 'off')) && ($args[0] ne ''))
|
if ((($cmd eq 'on') || ($cmd eq 'off')) && ($args[0] ne ''))
|
||||||
{
|
{
|
||||||
readingsSingleUpdate( $hash, "Parameter", $args[0], 1 );
|
readingsSingleUpdate( $hash, "Parameter", $args[0], 1 );
|
||||||
if ($cmd eq 'on'){$args[0] = "$name:on_with_Parameter:$args[0]";}
|
#if ($cmd eq 'on'){$args[0] = "$name:on_with_Parameter:$args[0]";}
|
||||||
if ($cmd eq 'off'){$args[0] = "$name:off_with_Parameter:$args[0]";}
|
#if ($cmd eq 'off'){$args[0] = "$name:off_with_Parameter:$args[0]";}
|
||||||
}
|
}
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user