homekit/test/test_polaris_stuff.py
Evgeny Zinoviev 8f20c9b825 polaris pwk 1725cgld full support
- significant improvements, correctnesses and stability fixes in
  protocol implementation
- correct handling of device appearances and disappearances
- flawlessly functioning telegram bot that re-renders kettle's state
  (temperature and other) in real time
2022-06-30 03:47:49 +03:00

21 lines
592 B
Python
Executable File

#!/usr/bin/env python3
import sys
import os.path
sys.path.extend([
os.path.realpath(
os.path.join(os.path.dirname(os.path.join(__file__)), '..')
)
])
import src.polaris 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__())
for cl in sc:
# if cl == polaris.protocol.HandshakeMessage:
# print('skip')
# continue
print(cl.__name__, cl.TYPE)