Add command emits to MQTT #186

This commit is contained in:
Robert Strouse 2023-10-31 16:15:43 -07:00
parent 7c983c9b2e
commit e2ec2ad436
3 changed files with 17 additions and 1 deletions

View file

@ -316,6 +316,7 @@ class SomfyShade : public SomfyRemote {
float p_currentPos(float pos);
float p_currentTiltPos(float pos);
uint16_t p_lastRollingCode(uint16_t code);
bool publish(const char *topic, const char *val, bool retain = false);
bool publish(const char *topic, uint8_t val, bool retain = false);
bool publish(const char *topic, int8_t val, bool retain = false);
bool publish(const char *topic, uint32_t val, bool retain = false);