summaryrefslogtreecommitdiff
path: root/src/home/mqtt
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-06-07 22:41:19 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-06-07 22:41:19 +0300
commitae8070b2dd8c05dc6ed057d733f6d57f396ad100 (patch)
tree7b78ac1a691d4066c36f3ca5ca1b429c7a114a07 /src/home/mqtt
parentc44a3669100f72d108404a8fdccd18f55018c18b (diff)
save
Diffstat (limited to 'src/home/mqtt')
-rw-r--r--src/home/mqtt/module/temphum.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/home/mqtt/module/temphum.py b/src/home/mqtt/module/temphum.py
index 9cdfedb..5501f91 100644
--- a/src/home/mqtt/module/temphum.py
+++ b/src/home/mqtt/module/temphum.py
@@ -1,8 +1,8 @@
-from enum import auto
+# from enum import auto
from .._node import MqttNode
from .._module import MqttModule
from .._payload import MqttPayload
-from ...util import HashableEnum
+# from ...util import HashableEnum
from typing import Optional
from ...temphum import BaseSensor
@@ -23,25 +23,25 @@ class MqttTemphumDataPayload(MqttPayload):
error: int
-class MqttTempHumNodes(HashableEnum):
- KBN_SH_HALL = auto()
- KBN_SH_BATHROOM = auto()
- KBN_SH_LIVINGROOM = auto()
- KBN_SH_BEDROOM = auto()
-
- KBN_BH_2FL = auto()
- KBN_BH_2FL_STREET = auto()
- KBN_BH_1FL_LIVINGROOM = auto()
- KBN_BH_1FL_BEDROOM = auto()
- KBN_BH_1FL_BATHROOM = auto()
-
- KBN_NH_1FL_INV = auto()
- KBN_NH_1FL_CENTER = auto()
- KBN_NH_1LF_KT = auto()
- KBN_NH_1FL_DS = auto()
- KBN_NH_1FS_EZ = auto()
-
- SPB_FLAT120_CABINET = auto()
+# class MqttTempHumNodes(HashableEnum):
+# KBN_SH_HALL = auto()
+# KBN_SH_BATHROOM = auto()
+# KBN_SH_LIVINGROOM = auto()
+# KBN_SH_BEDROOM = auto()
+#
+# KBN_BH_2FL = auto()
+# KBN_BH_2FL_STREET = auto()
+# KBN_BH_1FL_LIVINGROOM = auto()
+# KBN_BH_1FL_BEDROOM = auto()
+# KBN_BH_1FL_BATHROOM = auto()
+#
+# KBN_NH_1FL_INV = auto()
+# KBN_NH_1FL_CENTER = auto()
+# KBN_NH_1LF_KT = auto()
+# KBN_NH_1FL_DS = auto()
+# KBN_NH_1FS_EZ = auto()
+#
+# SPB_FLAT120_CABINET = auto()
class MqttTempHumModule(MqttModule):