mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-02-10 02:10:47 +00:00
Fixed empty timestamp in Home-Assistant JSON (#1105)
* Nullable timestamps for HA JSON * Nullable timestamps for MQTT JSON
This commit is contained in:
@@ -79,6 +79,7 @@ private:
|
||||
void publishPriceSensors(PriceService* ps);
|
||||
void publishSystemSensors();
|
||||
void publishThresholdSensors();
|
||||
void toJsonIsoTimestamp(time_t t, char* buf, size_t buflen);
|
||||
|
||||
String boardTypeToString(uint8_t b) {
|
||||
switch(b) {
|
||||
|
||||
Reference in New Issue
Block a user