remove name from ha discovery for sensors
This commit is contained in:
@@ -1172,7 +1172,7 @@ void Network::publishHassTopic(const String& mqttDeviceType,
|
||||
json["dev"]["mdl"] = deviceType;
|
||||
json["dev"]["name"] = name;
|
||||
json["~"] = baseTopic;
|
||||
json["name"] = name + String(" " + displayName);
|
||||
json["name"] = displayName;
|
||||
json["unique_id"] = String(uidString) + uidStringPostfix;
|
||||
if(deviceClass != "")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user