mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Add command emits to MQTT #186
This commit is contained in:
parent
7c983c9b2e
commit
e2ec2ad436
3 changed files with 17 additions and 1 deletions
1
Somfy.h
1
Somfy.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue