forked from M-Labs/thermostat
State
This commit is contained in:
parent
9ad20dcf4d
commit
9e269ed161
@ -3,9 +3,16 @@ from qasync import asyncSlot
|
||||
from pytec.gui.model.property import Property, PropertyMeta
|
||||
import asyncio
|
||||
import logging
|
||||
from enum import Enum
|
||||
from pytec.aioclient import AsyncioClient
|
||||
|
||||
|
||||
class ThermostatConnectionState(Enum):
|
||||
DISCONNECTED = False
|
||||
CONNECTING = "connecting"
|
||||
CONNECTED = True
|
||||
|
||||
|
||||
class Thermostat(QObject, metaclass=PropertyMeta):
|
||||
hw_rev = Property(dict)
|
||||
fan = Property(dict)
|
||||
|
Loading…
Reference in New Issue
Block a user