desk: Fix the fixes

This commit is contained in:
Geoffrey Frogeye 2024-07-01 13:50:24 +02:00
parent bafb22c573
commit a6becdae70
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -252,14 +252,17 @@ if __name__ == "__main__":
# Configure the required parameters for the MQTT broker # Configure the required parameters for the MQTT broker
mqtt_settings = ha_mqtt_discoverable.Settings.MQTT(host="192.168.7.53") mqtt_settings = ha_mqtt_discoverable.Settings.MQTT(host="192.168.7.53")
serial = "000C-34E7"
device_info = ha_mqtt_discoverable.DeviceInfo( device_info = ha_mqtt_discoverable.DeviceInfo(
name="Desk", name="Desk",
identifiers=["Linak", serial],
manufacturer="Linak", manufacturer="Linak",
model="CBD4P", model="CBD4P",
suggested_area="Desk", suggested_area="Desk",
hw_version="77402", hw_version="77402",
sw_version="1.91", sw_version="1.91",
serial_number="000C-34E7", serial_number=serial,
) )
ndigits = 1 ndigits = 1