summaryrefslogtreecommitdiff
path: root/src/home/mqtt/payload/sensors.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/mqtt/payload/sensors.py')
-rw-r--r--src/home/mqtt/payload/sensors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/mqtt/payload/sensors.py b/src/home/mqtt/payload/sensors.py
index 3ecc243..f99b307 100644
--- a/src/home/mqtt/payload/sensors.py
+++ b/src/home/mqtt/payload/sensors.py
@@ -1,10 +1,10 @@
-from .base_payload import MQTTPayload
+from .base_payload import MqttPayload
_mult_100 = lambda n: int(n*100)
_div_100 = lambda n: n/100
-class Temperature(MQTTPayload):
+class Temperature(MqttPayload):
FORMAT = 'IhH'
PACKER = {
'temp': _mult_100,