mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 05:36:37 +00:00
Remove HASP prefix from enitiy names
This commit is contained in:
parent
5ca89f9c84
commit
e3156d659d
@ -90,7 +90,7 @@ void mqtt_ha_add_unique_id(JsonDocument& doc, char* item)
|
||||
{
|
||||
char buffer[64];
|
||||
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("HASP %s %s"), haspDevice.get_hostname(), item);
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("%s %s"), haspDevice.get_hostname(), item);
|
||||
doc[FPSTR(FP_MQTT_HA_NAME)] = buffer;
|
||||
|
||||
snprintf_P(buffer, sizeof(buffer), PSTR("hasp_%s-%s"), HASP_MAC_ADDRESS, item);
|
||||
|
Loading…
x
Reference in New Issue
Block a user