mirror of https://github.com/arendst/Tasmota.git
Respect m_flags.skip in OpenTherm polling.
This commit is contained in:
parent
e1f5390c32
commit
d48283ca30
|
@ -539,7 +539,7 @@ unsigned long sns_opentherm_get_next_request(struct OT_BOILER_STATUS_T *boilerSt
|
|||
{
|
||||
struct OpenThermCommandT *cmd = &sns_opentherm_commands[sns_opentherm_current_command];
|
||||
// Return error if command known as not supported
|
||||
if (!cmd->m_flags.notSupported)
|
||||
if (!cmd->m_flags.notSupported && !cmd->m_flags.skip)
|
||||
{
|
||||
// Retrurn OT compatible request
|
||||
return cmd->m_ot_make_request(cmd, boilerStatus);
|
||||
|
|
Loading…
Reference in New Issue