[fix] - uninitialized 727

This commit is contained in:
Sebastian 2022-07-24 20:25:21 +02:00
parent 33a10d3756
commit f3d153726b
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
cleanup
[fix] - exists gegen defined

View File

@ -707,9 +707,9 @@ sub WriteReadings {
$hash,
$decode_json->{abilities}[$abilities]{name} . '-'
. $propertie->{name},
($propertie->{value} eq '') ? RigReadingsValue( $hash, 'n/a') : RigReadingsValue( $hash, $propertie->{value} )
(defined ($propertie->{value} ) eq '') ? RigReadingsValue( $hash, 'n/a') : RigReadingsValue( $hash, $propertie->{value} )
)
if ( defined( $propertie->{value} )
if ( exists( $propertie->{value} )
&& $decode_json->{abilities}[$abilities]{name} . '-'
. $propertie->{name} ne 'radio-quality'
&& $decode_json->{abilities}[$abilities]{name} . '-'

View File

@ -1,2 +1,2 @@
UPD 2022-07-21_19:43:48 49634 FHEM/73_GardenaSmartBridge.pm
UPD 2022-07-22_21:07:48 73554 FHEM/74_GardenaSmartDevice.pm
UPD 2022-07-24_20:24:56 73564 FHEM/74_GardenaSmartDevice.pm