From 891e7d82ca02ed2c2657739ce2dd058ab3e2703c Mon Sep 17 00:00:00 2001 From: NGnius Date: Fri, 29 Apr 2022 21:01:24 -0400 Subject: [PATCH] Add version and funnier placeholders --- main.py | 5 +++++ main_view.html | 28 +++++++++++++++++++++++----- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 999fe9e..0192ed2 100644 --- a/main.py +++ b/main.py @@ -1,12 +1,17 @@ import time #import subprocess +VERSION = "0.3.0" + class Plugin: CPU_COUNT = 8 SCALING_FREQUENCIES = [1700000, 2400000, 2800000] FAN_SPEEDS = [0, 1000, 2000, 3000, 4000, 5000, 6000] auto_fan = True + + async def get_version(self) -> str: + return VERSION # CPU stuff diff --git a/main_view.html b/main_view.html index a5626f9..93f0f58 100644 --- a/main_view.html +++ b/main_view.html @@ -6,6 +6,10 @@