mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-27 04:33:04 +00:00
Various changes after testing new HA features
This commit is contained in:
@@ -323,7 +323,7 @@ void HomeAssistantMqttHandler::publishSensor(const HomeAssistantSensor& sensor)
|
||||
deviceModel.c_str(),
|
||||
VERSION,
|
||||
manufacturer.c_str(),
|
||||
sensorNamePostFix.c_str(),
|
||||
deviceUrl.c_str(),
|
||||
strlen_P(sensor.stacl) > 0 ? ", \"stat_cla\" :" : "",
|
||||
strlen_P(sensor.stacl) > 0 ? (char *) FPSTR(sensor.stacl) : ""
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user