summaryrefslogtreecommitdiff
path: root/scripts/main.js
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-11-13 04:18:23 -0500
committerKyle Gunger <kgunger12@gmail.com>2024-11-13 04:18:23 -0500
commit049dc24ec02f3a14377d833ebf60efc4de12d918 (patch)
tree1a771f9ed743c96ee1d272cb746847e394c1a60e /scripts/main.js
parent74a8430a3334570e1dce4c112b166c80923f8402 (diff)
Thermostat widget JS
Diffstat (limited to 'scripts/main.js')
-rw-r--r--scripts/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/main.js b/scripts/main.js
index 3cdbe12..cedfb79 100644
--- a/scripts/main.js
+++ b/scripts/main.js
@@ -18,6 +18,8 @@ class Client {
content.appendChild(this.light.element);
this.wheel = new WidgetColorWheel();
content.appendChild(this.wheel.element);
+ this.therm = new WidgetThermostat({temp: 72, gague: 69});
+ content.appendChild(this.therm.element);
// content.appendChild(Widget("button").el);
// content.appendChild(Widget("checkbox").el);
// content.appendChild(Widget("slider").el);