mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
73_GardenaSmartBridge: fix crash then call ARRAY reference
git-svn-id: https://svn.fhem.de/fhem/trunk@19473 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d13f72c8cf
commit
a9b721a9e8
@ -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: 73_GardenaSmartBridge: fix crash then call ARRAY reference
|
||||
- change: 49_SSCam: enhanced log entries of snapinfos with debugactivetoken
|
||||
- change: 49_SSCam: attributes rec/snapemailtxt, rec/snaptelegramtxt may
|
||||
contain ":", StmKey quoted depending on attribute
|
||||
|
@ -59,7 +59,7 @@ use strict;
|
||||
use warnings;
|
||||
use FHEM::Meta;
|
||||
|
||||
my $version = "1.6.3";
|
||||
my $version = "1.6.4";
|
||||
|
||||
|
||||
sub GardenaSmartBridge_Initialize($) {
|
||||
@ -735,7 +735,7 @@ sub WriteReadings($$) {
|
||||
readingsBulkUpdateIfChanged( $hash, 'zones',
|
||||
scalar( @{ $decode_json->{zones} } ) );
|
||||
}
|
||||
elsif ( $decode_json->{id} ne $hash->{helper}{locations_id} ) {
|
||||
elsif ( $decode_json->{id} ne $hash->{helper}{locations_id} and ref($decode_json->{abilities}) eq 'ARRAY' ) {
|
||||
my $properties = scalar( @{ $decode_json->{abilities}[0]{properties} } );
|
||||
|
||||
do {
|
||||
|
Loading…
x
Reference in New Issue
Block a user