summaryrefslogtreecommitdiff
path: root/src/polaris_kettle_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/polaris_kettle_util.py')
-rwxr-xr-xsrc/polaris_kettle_util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/polaris_kettle_util.py b/src/polaris_kettle_util.py
index 61c1c7d..81326dd 100755
--- a/src/polaris_kettle_util.py
+++ b/src/polaris_kettle_util.py
@@ -8,7 +8,7 @@ import paho.mqtt.client as mqtt
from typing import Optional
from argparse import ArgumentParser
from queue import SimpleQueue
-from home.mqtt import MQTTBase
+from home.mqtt import MqttBase
from home.config import config
from syncleo import (
Kettle,
@@ -21,7 +21,7 @@ logger = logging.getLogger(__name__)
control_tasks = SimpleQueue()
-class MQTTServer(MQTTBase):
+class MqttServer(MqttBase):
def __init__(self):
super().__init__(clean_session=False)
@@ -78,7 +78,7 @@ def main():
arg = config.load('polaris_kettle_util', use_cli=True, parser=parser)
if arg.mode == 'mqtt':
- server = MQTTServer()
+ server = MqttServer()
try:
server.connect_and_loop(loop_forever=True)
except KeyboardInterrupt: