fix readings update

This commit is contained in:
Sebastian 2021-05-29 23:06:00 +02:00
parent 26b0c97c8f
commit 57b96d7fd8
2 changed files with 6 additions and 6 deletions

View File

@ -1,2 +1,2 @@
UPD 2021-05-29_22:48:25 5197 FHEM/73_HailoLibero.pm
UPD 2021-05-29_22:48:13 11392 lib/FHEM/Hailo/Libero.pm
UPD 2021-05-29_23:05:46 11377 lib/FHEM/Hailo/Libero.pm

View File

@ -346,11 +346,11 @@ sub ErrorHandling {
my ($detection_area) = ($data =~ /dist'>(\d*)/g);
my ($detection_sensitivity) = ($data =~ /delay'>(\d*)/g);
my ($eject_delay) = ($data =~ /pdelay'>(\d*)/g);
readingsBulkUpdateIfChanged($hash, 'led_brightness', $led_brightness, 1);
readingsBulkUpdateIfChanged($hash, 'eject_power', $eject_power, 1);
readingsBulkUpdateIfChanged($hash, 'detection_area', $detection_area, 1);
readingsBulkUpdateIfChanged($hash, 'detection_sensitivity', $detection_sensitivity, 1);
readingsBulkUpdateIfChanged($hash, 'eject_delay', $eject_delay, 1);
readingsBulkUpdateIfChanged($hash, 'led_brightness', $led_brightness);
readingsBulkUpdateIfChanged($hash, 'eject_power', $eject_power);
readingsBulkUpdateIfChanged($hash, 'detection_area', $detection_area);
readingsBulkUpdateIfChanged($hash, 'detection_sensitivity', $detection_sensitivity);
readingsBulkUpdateIfChanged($hash, 'eject_delay', $eject_delay);
}
return;