testing #80
2
CHANGED
2
CHANGED
@ -1 +1 @@
|
|||||||
Reviewed-by: Marko Oldenburg <marko@noreply@cooltux.net>
|
spellcheck + corrections
|
||||||
|
@ -737,7 +737,7 @@ sub ErrorHandling {
|
|||||||
my $i = 0;
|
my $i = 0;
|
||||||
for my $dev_settings ( @{ $devJson->{settings} } ) {
|
for my $dev_settings ( @{ $devJson->{settings} } ) {
|
||||||
$output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
|
$output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
|
||||||
$output .= "name: $dev_settings->{name} ";
|
$output .= "name: $dev_settings->{name} \n";
|
||||||
if ( ref( $dev_settings->{value} ) eq 'ARRAY'
|
if ( ref( $dev_settings->{value} ) eq 'ARRAY'
|
||||||
|| ref( $dev_settings->{value} ) eq 'HASH' )
|
|| ref( $dev_settings->{value} ) eq 'HASH' )
|
||||||
{
|
{
|
||||||
@ -753,16 +753,7 @@ sub ErrorHandling {
|
|||||||
|
|
||||||
for my $dev_settings ( @{ $devJson->{abilities} } ) {
|
for my $dev_settings ( @{ $devJson->{abilities} } ) {
|
||||||
$output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
|
$output .= "[" . $i++ . "]id: $dev_settings->{id} \n";
|
||||||
$output .= "name: $dev_settings->{name} ";
|
$output .= "name: $dev_settings->{name} \n";
|
||||||
|
|
||||||
if ( ref( $dev_settings->{value} ) eq 'ARRAY'
|
|
||||||
|| ref( $dev_settings->{value} ) eq 'HASH' )
|
|
||||||
{
|
|
||||||
$output .= 'N/A \n';
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$output .= "value: $dev_settings->{value} \n";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$hash->{helper}{debug_device_output} = $output;
|
$hash->{helper}{debug_device_output} = $output;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,2 @@
|
|||||||
UPD 2022-06-29_20:30:48 49913 FHEM/73_GardenaSmartBridge.pm
|
UPD 2022-07-21_19:43:48 49634 FHEM/73_GardenaSmartBridge.pm
|
||||||
UPD 2022-06-29_20:31:47 66815 FHEM/74_GardenaSmartDevice.pm
|
UPD 2022-09-18_08:52:23 122934 FHEM/74_GardenaSmartDevice.pm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user