mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
70_BRAVIA.pm: fixed syntax error
git-svn-id: https://svn.fhem.de/fhem/trunk@15982 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e732a00ec6
commit
f5a3e1b5dc
@ -386,7 +386,7 @@ sub BRAVIA_Set($@) {
|
||||
BRAVIA_Set( $hash, $name, "channelDown" );
|
||||
}
|
||||
elsif ( $cmd eq "WOL" ) {
|
||||
$macAddr = AttrVal( $name, "macaddr", "" );
|
||||
my $macAddr = AttrVal( $name, "macaddr", "" );
|
||||
$macAddr = ReadingsVal( $name, "macAddr", "") if ($macAddr eq "");
|
||||
BRAVIA_wake( $name, $macAddr ) if ( $macAddr ne "" && $macAddr ne "-" );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user