mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-26 04:07:57 +00:00
Fixed bug
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
statusTopic = F("homeassistant/status");
|
||||
discoveryTopic = F("homeassistant/sensor/");
|
||||
}
|
||||
// strcpy(this->mqttConfig.subscribeTopic, statusTopic.c_str());
|
||||
strcpy(this->mqttConfig.subscribeTopic, statusTopic.c_str());
|
||||
};
|
||||
|
||||
bool publish(AmsData* data, AmsData* previousState, EnergyAccounting* ea, EntsoeApi* eapi);
|
||||
|
||||
Reference in New Issue
Block a user