Open mlesniew opened 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.08%. Comparing base (
7122cdd
) to head (5dbd56e
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The
Device.update_state
andDevice.push_state_update
methods previously sent requests to the remote device without awaiting a response, leaving the caller unable to verify whether the operation was successfully received and confirmed.This PR modifies that behavior. Both methods now wait for a response from the device before returning.
Additionally, although both methods already accepted a
wait_for
parameter, but it was ignored. This parameter is now used as the timeout for receiving the response. If no response is received within the specified time, an exception is raised.