mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-19 01:27:26 +00:00
Adaptation to 2.1 contract
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include "web/root/hadiscover1_json.h"
|
||||
#include "web/root/hadiscover2_json.h"
|
||||
|
||||
bool HomeAssistantMqttHandler::publish(AmsData* data, AmsData* previousState) {
|
||||
bool HomeAssistantMqttHandler::publish(AmsData* data, AmsData* previousState, EnergyAccounting* ea) {
|
||||
if(topic.isEmpty() || !mqtt->connected())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user