summaryrefslogtreecommitdiff
path: root/src/home/mqtt/payload/temphum.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/mqtt/payload/temphum.py')
-rw-r--r--src/home/mqtt/payload/temphum.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/home/mqtt/payload/temphum.py b/src/home/mqtt/payload/temphum.py
deleted file mode 100644
index c0b744e..0000000
--- a/src/home/mqtt/payload/temphum.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from .base_payload import MqttPayload
-
-two_digits_precision = lambda x: round(x, 2)
-
-
-class TempHumDataPayload(MqttPayload):
- FORMAT = '=ddb'
- UNPACKER = {
- 'temp': two_digits_precision,
- 'rh': two_digits_precision
- }
-
- temp: float
- rh: float
- error: int