[test] set empty

This commit is contained in:
Sebastian 2022-06-28 23:07:34 +02:00
parent ae3bf5f68a
commit ee0c7fa4ba
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
[fix] - debug stuff - cleanup [fix] - readings

View File

@ -652,7 +652,8 @@ sub WriteReadings {
$hash, $hash,
$decode_json->{abilities}[$abilities]{name} . '-' $decode_json->{abilities}[$abilities]{name} . '-'
. $propertie->{name}, . $propertie->{name},
($propertie->{value} eq '') ? 'N/A' : RigReadingsValue( $hash, $propertie->{value} ) ($propertie->{value} eq '') ? CommandAttr( undef, $name . ' '. $decode_json->{abilities}[$abilities]{name} . '-'
. $propertie->{name}) : RigReadingsValue( $hash, $propertie->{value} )
) )
if ( exists( $propertie->{value} ) # defined ignored 'value':null if ( exists( $propertie->{value} ) # defined ignored 'value':null
&& $decode_json->{abilities}[$abilities]{name} . '-' && $decode_json->{abilities}[$abilities]{name} . '-'

View File

@ -1,2 +1,2 @@
UPD 2022-06-28_13:11:16 49241 FHEM/73_GardenaSmartBridge.pm UPD 2022-06-28_13:11:16 49241 FHEM/73_GardenaSmartBridge.pm
UPD 2022-06-28_23:03:29 70402 FHEM/74_GardenaSmartDevice.pm UPD 2022-06-28_23:07:24 70523 FHEM/74_GardenaSmartDevice.pm