Skip to content

Commit e141c4e

Browse files
committed
Clarify info messages detailing VCP change counts.
1 parent d883cea commit e141c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vdu_controls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3989,7 +3989,7 @@ def _perform_transition(self, _: PresetTransitionWorker) -> None:
39893989
self.expected_values[key] = self.final_values[key]
39903990
if self.values_are_as_expected():
39913991
log_info(f"Restored {self.preset.name}, elapsed: {self.total_elapsed_seconds():.2f} seconds "
3992-
f"{self.change_count} changes")
3992+
f"{self.change_count} VCP-changes")
39933993
self.work_state = PresetTransitionState.FINISHED
39943994
else:
39953995
log_error(f"Failed to restore non transitioning controls {self.preset.name}")
@@ -6300,7 +6300,7 @@ def stepping_brightness(self, lux_config: LuxConfig, lux_meter: LuxMeterDevice)
63006300
start_of_cycle = False
63016301
self.doze(self.step_pause_millis / 1000.0) # Let i2c settle down, then continue - TODO is this really necessary?
63026302
if change_count != 0: # If any work was done in previous steps, finish up the remaining tasks
6303-
log_info(f"LuxAutoWorker: stepping completed in {change_count} stepped adjustments, {profile_preset_name=}")
6303+
log_info(f"LuxAutoWorker: stepping completed {change_count} VCP-changes, {profile_preset_name=}")
63046304
self.status_message(tr("Brightness adjustment completed"), timeout=5000)
63056305
if profile_preset_name is not None: # if a point had a Preset attached, activate it now
63066306
# Restoring the Preset's non-brightness settings. Invoke now, so it will happen in this thread's sleep period.

0 commit comments

Comments
 (0)