mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-25 07:43:04 +05:00
feat: configure Home Assistant discovery and retry publications
This commit is contained in:
1 parent
65df4b7f5a
commit
8b2678bbbc
17 files changed
+78
-26
No files matched your search
+1
-1
@@ -124,7 +124,7 @@ std::string mqttTopic(const Parts&... parts) {
|
||||
|
||||
// Home Assistant discovery
|
||||
extern HA::Discovery haDiscovery;
|
||||
void publishHaEntity(HaEntity entityId, bool remove);
|
||||
bool publishHaEntity(HaEntity entityId, bool remove);
|
||||
void publishDynamicSensor(
|
||||
const Sensors::Settings& sensor,
|
||||
Sensors::ValueType valueType = Sensors::ValueType::PRIMARY, bool enabledByDefault = true
|
||||
|
||||
Reference in new issue
Block a user