[fix] - rollback

This commit is contained in:
Sebastian 2022-06-28 23:09:33 +02:00
parent 7cefd1c7e3
commit 200751b72b
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
[test] set empty
d

View File

@ -652,7 +652,7 @@ sub WriteReadings {
$hash,
$decode_json->{abilities}[$abilities]{name} . '-'
. $propertie->{name},
($propertie->{value} eq '') ? undef : RigReadingsValue( $hash, $propertie->{value} )
($propertie->{value} eq '') ? 'N/A' : RigReadingsValue( $hash, $propertie->{value} )
)
if ( exists( $propertie->{value} ) # defined ignored 'value':null
&& $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_23:08:30 70402 FHEM/74_GardenaSmartDevice.pm
UPD 2022-06-28_23:09:26 70402 FHEM/74_GardenaSmartDevice.pm