From a6becdae7089c7674463638106694fd410870c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Mon, 1 Jul 2024 13:50:24 +0200 Subject: [PATCH] desk: Fix the fixes --- curacao/desk/desk_mqtt.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/curacao/desk/desk_mqtt.py b/curacao/desk/desk_mqtt.py index 4d109b1..83c65ad 100755 --- a/curacao/desk/desk_mqtt.py +++ b/curacao/desk/desk_mqtt.py @@ -252,14 +252,17 @@ if __name__ == "__main__": # Configure the required parameters for the MQTT broker mqtt_settings = ha_mqtt_discoverable.Settings.MQTT(host="192.168.7.53") + serial = "000C-34E7" + device_info = ha_mqtt_discoverable.DeviceInfo( name="Desk", + identifiers=["Linak", serial], manufacturer="Linak", model="CBD4P", suggested_area="Desk", hw_version="77402", sw_version="1.91", - serial_number="000C-34E7", + serial_number=serial, ) ndigits = 1