mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 22:56:34 +00:00
70_BRAVIA.pm: set application - fixed command typo
git-svn-id: https://svn.fhem.de/fhem/trunk@15867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
305a04256f
commit
357a548cca
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 70_BRAVIA: typo fixed, 'set application' works now
|
||||
- feature: 93_DbRep: V7.4.0, new commands dumpSQLite/restoreSQLite,
|
||||
execute commands before/after set optimizeTables,
|
||||
vacuum, restoreMySQL, restoreSQLite available,
|
||||
|
@ -488,8 +488,8 @@ sub BRAVIA_Set($@) {
|
||||
}
|
||||
}
|
||||
|
||||
# app
|
||||
elsif ( $a[1] eq "app" ) {
|
||||
# application
|
||||
elsif ( $a[1] eq "application" or $a[1] eq "app") {
|
||||
if (defined($a[2]) && $presence eq "present" && $power ne "on" ) {
|
||||
Log3 $name, 4, "BRAVIA $name: indirect switching request to ON";
|
||||
BRAVIA_Set( $hash, $name, "on" );
|
||||
@ -1995,7 +1995,7 @@ sub BRAVIA_GetNormalizedName($) {
|
||||
my ( $name ) = @_;
|
||||
$name =~ s/^\s+//;
|
||||
$name =~ s/\s+$//;
|
||||
$name =~ s/\s/_/g;
|
||||
$name =~ s/\s/#/g;
|
||||
$name =~ s/,/./g;
|
||||
return $name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user