[fix] - schedules_event incrementation
This commit is contained in:
parent
e363b45862
commit
1c7097e476
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user