bugfix
This commit is contained in:
parent
73f1cdca9e
commit
b6bba436db
@ -45,7 +45,7 @@ use JSON;
|
||||
use Net::Telnet;
|
||||
|
||||
|
||||
my $version = "0.1.33";
|
||||
my $version = "0.1.35";
|
||||
|
||||
|
||||
my %heosCmds = (
|
||||
@ -160,7 +160,7 @@ sub HEOSMaster_Undef($$) {
|
||||
HEOSMaster_Close($hash);
|
||||
delete $modules{HEOSMaster}{defptr}{$hash->{HOST}};
|
||||
|
||||
Log3 $name, 3, "HEOSPlayer ($name) - device $name deleted;
|
||||
Log3 $name, 3, "HEOSPlayer ($name) - device $name deleted";
|
||||
|
||||
return undef;
|
||||
}
|
||||
@ -245,14 +245,6 @@ sub HEOSMaster_Set($@) {
|
||||
HEOSMaster_Write($hash,$heosCmd,$action);
|
||||
}
|
||||
|
||||
sub HEOSMaster_send($) {
|
||||
|
||||
my $hash = shift;
|
||||
|
||||
HEOSMaster_Write($hash,'eventChangeVolume',undef);
|
||||
|
||||
}
|
||||
|
||||
sub HEOSMaster_Open($) {
|
||||
|
||||
my $hash = shift;
|
||||
@ -515,6 +507,16 @@ sub HEOSMaster_EnableChangeEvents($) {
|
||||
Log3 $name, 3, "HEOSMaster ($name) - set enableChangeEvents on";
|
||||
}
|
||||
|
||||
################
|
||||
### Nur für mich um dem Emulator ein Event ab zu jagen
|
||||
sub HEOSMaster_send($) {
|
||||
|
||||
my $hash = shift;
|
||||
|
||||
HEOSMaster_Write($hash,'eventChangeVolume',undef);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@ use warnings;
|
||||
use JSON;
|
||||
|
||||
|
||||
my $version = "0.1.33";
|
||||
my $version = "0.1.35";
|
||||
|
||||
|
||||
|
||||
@ -362,7 +362,7 @@ sub HEOSPlayer_WriteReadings($$) {
|
||||
readingsBeginUpdate($hash);
|
||||
|
||||
### Event Readings
|
||||
if( defined($readingsHash) ) {
|
||||
if( ref($readingsHash) eq "HASH" ) {
|
||||
|
||||
Log3 $name, 4, "HEOSPlayer ($name) - response json Hash back from HEOSPlayer_PreProcessingReadings";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user