diff options
-rwxr-xr-x | src/polaris_kettle_bot.py | 4 | ||||
-rwxr-xr-x | src/polaris_kettle_util.py | 2 | ||||
-rw-r--r-- | src/syncleo/__init__.py (renamed from src/polaris/__init__.py) | 2 | ||||
-rw-r--r-- | src/syncleo/kettle.py (renamed from src/polaris/kettle.py) | 0 | ||||
-rw-r--r-- | src/syncleo/protocol.py (renamed from src/polaris/protocol.py) | 0 | ||||
-rwxr-xr-x | test/test_polaris_stuff.py | 8 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/polaris_kettle_bot.py b/src/polaris_kettle_bot.py index c031cb1..c48e592 100755 --- a/src/polaris_kettle_bot.py +++ b/src/polaris_kettle_bot.py @@ -13,7 +13,7 @@ from home.api.types import BotType from home.mqtt import MQTTBase from home.config import config from home.util import chunks -from polaris import ( +from syncleo import ( Kettle, PowerType, DeviceListener, @@ -21,7 +21,7 @@ from polaris import ( ConnectionStatusListener, ConnectionStatus ) -import polaris.protocol as kettle_proto +import syncleo.protocol as kettle_proto from typing import Optional, Tuple, List, Union from collections import namedtuple from functools import partial diff --git a/src/polaris_kettle_util.py b/src/polaris_kettle_util.py index 82b2588..61c1c7d 100755 --- a/src/polaris_kettle_util.py +++ b/src/polaris_kettle_util.py @@ -10,7 +10,7 @@ from argparse import ArgumentParser from queue import SimpleQueue from home.mqtt import MQTTBase from home.config import config -from polaris import ( +from syncleo import ( Kettle, PowerType, protocol as kettle_proto diff --git a/src/polaris/__init__.py b/src/syncleo/__init__.py index f1a7c1d..32563a5 100644 --- a/src/polaris/__init__.py +++ b/src/syncleo/__init__.py @@ -9,4 +9,4 @@ from .protocol import ( IncomingMessageListener, ConnectionStatusListener, ConnectionStatus -)
\ No newline at end of file +) diff --git a/src/polaris/kettle.py b/src/syncleo/kettle.py index d6e0dd6..d6e0dd6 100644 --- a/src/polaris/kettle.py +++ b/src/syncleo/kettle.py diff --git a/src/polaris/protocol.py b/src/syncleo/protocol.py index 36a1a8f..36a1a8f 100644 --- a/src/polaris/protocol.py +++ b/src/syncleo/protocol.py diff --git a/test/test_polaris_stuff.py b/test/test_polaris_stuff.py index f3c8e6a..b921891 100755 --- a/test/test_polaris_stuff.py +++ b/test/test_polaris_stuff.py @@ -7,13 +7,13 @@ sys.path.extend([ ) ]) -import src.polaris as polaris +import src.syncleo as polaris if __name__ == '__main__': - sc = [cl for cl in polaris.protocol.CmdIncomingMessage.__subclasses__() - if cl is not polaris.protocol.SimpleBooleanMessage] - sc.extend(polaris.protocol.SimpleBooleanMessage.__subclasses__()) + sc = [cl for cl in syncleo.protocol.CmdIncomingMessage.__subclasses__() + if cl is not syncleo.protocol.SimpleBooleanMessage] + sc.extend(syncleo.protocol.SimpleBooleanMessage.__subclasses__()) for cl in sc: # if cl == polaris.protocol.HandshakeMessage: # print('skip') |