Skip to content

Commit

Permalink
Clarify info messages detailing VCP change counts.
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltrails committed Sep 24, 2024
1 parent d883cea commit e141c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vdu_controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3989,7 +3989,7 @@ def _perform_transition(self, _: PresetTransitionWorker) -> None:
self.expected_values[key] = self.final_values[key]
if self.values_are_as_expected():
log_info(f"Restored {self.preset.name}, elapsed: {self.total_elapsed_seconds():.2f} seconds "
f"{self.change_count} changes")
f"{self.change_count} VCP-changes")
self.work_state = PresetTransitionState.FINISHED
else:
log_error(f"Failed to restore non transitioning controls {self.preset.name}")
Expand Down Expand Up @@ -6300,7 +6300,7 @@ def stepping_brightness(self, lux_config: LuxConfig, lux_meter: LuxMeterDevice)
start_of_cycle = False
self.doze(self.step_pause_millis / 1000.0) # Let i2c settle down, then continue - TODO is this really necessary?
if change_count != 0: # If any work was done in previous steps, finish up the remaining tasks
log_info(f"LuxAutoWorker: stepping completed in {change_count} stepped adjustments, {profile_preset_name=}")
log_info(f"LuxAutoWorker: stepping completed {change_count} VCP-changes, {profile_preset_name=}")
self.status_message(tr("Brightness adjustment completed"), timeout=5000)
if profile_preset_name is not None: # if a point had a Preset attached, activate it now
# Restoring the Preset's non-brightness settings. Invoke now, so it will happen in this thread's sleep period.
Expand Down

0 comments on commit e141c4e

Please sign in to comment.