change uptime value

This commit is contained in:
Stephan Mühl
2023-04-09 19:41:01 +02:00
parent 2a8149400b
commit d8fe5095f0
2 changed files with 3 additions and 8 deletions

View File

@@ -399,6 +399,7 @@ void MQTTManager_::setup()
uptime = new HASensor(upID);
uptime->setName(HAupName);
uptime->setDeviceClass(HAupClass);
uptime->setUnitOfMeasurement("s");
sprintf(btnLID, HAbtnLID, macStr);
btnleft = new HABinarySensor(btnLID);