patch_ic24 #69
@@ -731,7 +731,7 @@ sub ErrorHandling {
 | 
			
		||||
        my $i = 0;
 | 
			
		||||
        for my $dev_settings ( @{ $devJson->{settings} } ) {
 | 
			
		||||
            $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' )
 | 
			
		||||
            {
 | 
			
		||||
@@ -747,18 +747,7 @@ sub ErrorHandling {
 | 
			
		||||
 | 
			
		||||
        for my $dev_settings ( @{ $devJson->{abilities} } ) {
 | 
			
		||||
            $output .= "[" . $i++ . "]\nid: $dev_settings->{id} \n";
 | 
			
		||||
            $output .= "name: $dev_settings->{name} \n";
 | 
			
		||||
 | 
			
		||||
            if ((   ref( $dev_settings->{value} ) eq 'ARRAY'
 | 
			
		||||
                || ref( $dev_settings->{value} ) eq 'HASH' )
 | 
			
		||||
                && (defined($dev_settings->{value})))
 | 
			
		||||
 | 
			
		||||
            {
 | 
			
		||||
                $output .= 'N/A \n';
 | 
			
		||||
            }
 | 
			
		||||
            else {
 | 
			
		||||
                $output .= "value: $dev_settings->{value} \n";
 | 
			
		||||
            }
 | 
			
		||||
            $output .= "name: $dev_settings->{name} ";
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        $hash->{helper}{debug_device_output} = $output;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,2 +1,2 @@
 | 
			
		||||
UPD 2022-06-28_13:06:17 49580 FHEM/73_GardenaSmartBridge.pm
 | 
			
		||||
UPD 2022-06-28_13:08:35 49241 FHEM/73_GardenaSmartBridge.pm
 | 
			
		||||
UPD 2022-06-26_19:24:09 70125 FHEM/74_GardenaSmartDevice.pm
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user