[fix] - readings schedules_event

This commit is contained in:
Sebastian
2022-07-08 12:51:51 +02:00
parent 9e389681f0
commit 5e10125a09
3 changed files with 6 additions and 6 deletions

View File

@ -780,16 +780,16 @@ sub WriteReadings {
$event_id++; # event id
while ( my ( $r, $v ) = each %{ $event_schedules } ) {
readingsBulkUpdateIfChanged( $hash, 'scheduling-schedules_event_valve_'
readingsBulkUpdateIfChanged( $hash, 'scheduling-schedules_event_'
. $event_id
. '_'
. '_valve_'
. $valve_id
. '_'
. $r,
$v) if (ref($v) ne 'HASH' );
readingsBulkUpdateIfChanged( $hash, 'scheduling-schedules_event_valve_'
readingsBulkUpdateIfChanged( $hash, 'scheduling-schedules_event_'
. $event_id
. '_'
. '_valve_'
. $valve_id
. '_'
. $v->{type},