mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-26 04:11:18 +00:00
Resend sensors to HA if online status received
This commit is contained in:
@@ -25,4 +25,7 @@ bool PassthroughMqttHandler::publishRaw(String data) {
|
||||
|
||||
uint8_t PassthroughMqttHandler::getFormat() {
|
||||
return 255;
|
||||
}
|
||||
}
|
||||
|
||||
void PassthroughMqttHandler::onMessage(String &topic, String &payload) {
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@ public:
|
||||
bool publishSystem(HwTools* hw, EntsoeApi* eapi, EnergyAccounting* ea);
|
||||
bool publishRaw(String data);
|
||||
|
||||
void onMessage(String &topic, String &payload);
|
||||
|
||||
uint8_t getFormat();
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user