Persist the disco configuration in MQTT

This commit is contained in:
Robert Strouse 2024-01-15 17:35:46 -08:00
parent da551f3385
commit 0e91539457
4 changed files with 19 additions and 1 deletions

View file

@ -351,6 +351,7 @@ class SomfyShade : public SomfyRemote {
bool publish(const char *topic, uint16_t val, bool retain = false);
bool publish(const char *topic, bool val, bool retain = false);
void publishDisco();
void unpublishDisco();
};
class SomfyGroup : public SomfyRemote {
protected: