When a cached command has been successful the code stops retrying a command. However, it does not return the reset command or retries values to the client. This can cause issue where a client (for example Home Assistant) is monitoring these specific values so that it knows when to send the next request to the device.
This change would return the command and retries as 0 in the first response message when the cached command is cleared.
When a cached command has been successful the code stops retrying a command. However, it does not return the reset command or retries values to the client. This can cause issue where a client (for example Home Assistant) is monitoring these specific values so that it knows when to send the next request to the device.
This change would return the command and retries as 0 in the first response message when the cached command is cleared.