Resend sensors to HA if online status received

This commit is contained in:
Gunnar Skjold
2023-12-15 20:03:24 +01:00
parent 0c1525b018
commit 00278659f8
12 changed files with 49 additions and 2 deletions

View File

@@ -25,4 +25,7 @@ bool PassthroughMqttHandler::publishRaw(String data) {
uint8_t PassthroughMqttHandler::getFormat() {
return 255;
}
}
void PassthroughMqttHandler::onMessage(String &topic, String &payload) {
}

View File

@@ -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