[fix] - schedules_event incrementation

This commit is contained in:
Sebastian 2022-08-04 10:34:48 +02:00
parent e363b45862
commit 1c7097e476
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
[fix] - update event handled
[fix] - eventhandler ic24

View File

@ -844,7 +844,7 @@ sub WriteReadings {
&& AttrVal( $name, 'model', 'unknown' ) !~ /sensor.?/ ) {
readingsBulkUpdateIfChanged( $hash, 'scheduling-schedules_events_count',
scalar( @{$decode_json->{scheduled_events} } ) );
my $valve_id =1; my $event_id = 1; # ic24 [1..6] | wc, pump [1]
my $valve_id =1; my $event_id = 0; # ic24 [1..6] | wc, pump [1]
for my $event_schedules ( @{ $decode_json->{scheduled_events} } ) {
$valve_id = $event_schedules->{valve_id} if ( exists($event_schedules->{valve_id} ) ); #ic24

View File

@ -1,2 +1,2 @@
UPD 2022-07-21_19:43:48 49634 FHEM/73_GardenaSmartBridge.pm
UPD 2022-08-04_10:30:59 79000 FHEM/74_GardenaSmartDevice.pm
UPD 2022-08-04_10:33:44 79000 FHEM/74_GardenaSmartDevice.pm