mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
Update DOCS.md
This commit is contained in:
@@ -502,7 +502,7 @@ def summary_log(current_gain, clipping, rms_amplitude, thd_percentage):
|
|||||||
if SUMMARY_MODE:
|
if SUMMARY_MODE:
|
||||||
current_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
|
current_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
|
||||||
clipping_status = "Yes" if clipping else "No"
|
clipping_status = "Yes" if clipping else "No"
|
||||||
print(f"{current_time} | Gain: {current_gain:.1f} dB | Clipping: {clipping_status} | "
|
print(f"[{current_time}] [SUMMARY] Gain: {current_gain:.1f} dB | Clipping: {clipping_status} | "
|
||||||
f"Noise: {rms_amplitude:.5f} | THD: {thd_percentage:.2f}%")
|
f"Noise: {rms_amplitude:.5f} | THD: {thd_percentage:.2f}%")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user