2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

37_echodevice.pm: bugfixes

git-svn-id: https://svn.fhem.de/fhem/trunk@22920 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
michael.winkler 2020-10-05 17:57:47 +00:00
parent 086c89a2ff
commit 40f9b07f13

View File

@ -2,6 +2,9 @@
#
##############################################
#
# 2020.10.05 v0.2.0
# - BUG: Not a HASH reference at ./FHEM/37_echodevice.pm line 3532
#
# 2020.09.25 v0.1.9
# - BUG: Not a HASH reference at ./FHEM/37_echodevice.pm line 2687
#
@ -395,7 +398,7 @@ use Time::Piece;
use lib ('./FHEM/lib', './lib');
use MP3::Info;
my $ModulVersion = "0.1.9";
my $ModulVersion = "0.2.0";
my $AWSPythonVersion = "0.0.3";
my $NPMLoginTyp = "unbekannt";
@ -3529,6 +3532,7 @@ sub echodevice_Parse($$$) {
}
elsif($msgtype eq "devicesstate") {
if (ref($json) eq "HASH") {
if(!defined($json->{devices})) {}
elsif (ref($json->{devices}) ne "ARRAY") {}
else {
@ -3558,6 +3562,7 @@ sub echodevice_Parse($$$) {
}
}
}
}
elsif($msgtype eq "searchtunein") {
my $tuneincount = 0;