diff --git a/get_data.py b/get_data.py index 3cae87c..c35b94d 100644 --- a/get_data.py +++ b/get_data.py @@ -41,18 +41,6 @@ def send_to_mqtt(data: MQTTdata) -> None: """ msgs = [ - { - "topic": f"sensors/home/{data['mac']}/temperature", - "payload": data["temperature"], - }, - { - "topic": f"sensors/home/{data['mac']}/humidity", - "payload": data["humidity"], - }, - { - "topic": f"sensors/home/{data['mac']}/battery", - "payload": data["battery"], - }, { "topic": f"sensors/home/{data['mac']}/tele/SENSOR", "payload": json.dumps(data),