omit vendor and sku in device name

pull/106/head
Jeff Culverhouse 11 months ago
parent 411a010a81
commit a580b56724

@ -264,7 +264,7 @@ def config_home_assistant(device):
"availability_topic": device["topics"]["status"], "availability_topic": device["topics"]["status"],
"qos": config['mqtt']['qos'], "qos": config['mqtt']['qos'],
"device": { "device": {
"name": f"{vendor} {device_type} - {device_name}", "name": device_name,
"manufacturer": vendor, "manufacturer": vendor,
"model": device_type, "model": device_type,
"identifiers": serial_number, "identifiers": serial_number,

Loading…
Cancel
Save