desk: Fix the fixes
This commit is contained in:
parent
bafb22c573
commit
a6becdae70
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue