[fix] - schedules + debug

This commit is contained in:
Sebastian 2022-08-09 10:34:04 +02:00
parent c86cae74e6
commit 71b435d90b
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
[fix] - corret debug output
[fix] - debug output

View File

@ -859,7 +859,7 @@ sub WriteReadings {
use Data::Dumper;
foreach my $dev_schedules ( sort keys %{ $hash->{READINGS} } ) {
my $dev_reading = ReadingsVal( $name, $dev_schedules, "error" );
push @ist, $dev_reading if $dev_schedules =~ /schedule.*_id/; # push reading _id
push @ist, $dev_reading if $dev_schedules =~ /schedule.*\d_id/; # push reading _id
push @ist, $1 if $dev_schedules =~ /schedule.*_(\d)_id/; # push readigs d from x_id
Log3 $name, 5, "[DEBUG] $name - Key ist : $dev_schedules ";

View File

@ -1,2 +1,2 @@
UPD 2022-07-21_19:43:48 49634 FHEM/73_GardenaSmartBridge.pm
UPD 2022-08-09_10:13:50 107781 FHEM/74_GardenaSmartDevice.pm
UPD 2022-08-09_10:33:55 107783 FHEM/74_GardenaSmartDevice.pm