summaryrefslogtreecommitdiff
path: root/localwebsite/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'localwebsite/handlers')
-rw-r--r--localwebsite/handlers/MiscHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php
index 983570f..10817e1 100644
--- a/localwebsite/handlers/MiscHandler.php
+++ b/localwebsite/handlers/MiscHandler.php
@@ -17,8 +17,8 @@ class MiscHandler extends RequestHandler
global $config;
$clients = [];
- foreach ($config['si7021d_servers'] as $key => $params) {
- $cl = new Si7021dClient(...$params);
+ foreach ($config['temphumd_servers'] as $key => $params) {
+ $cl = new TemphumdClient(...$params);
$clients[$key] = $cl;
$cl->readSensor();