Skip to content

Commit

Permalink
Merge pull request #1543 from cavefire/h200-child-devices
Browse files Browse the repository at this point in the history
Fix H200 + D230 Doorbell stream
  • Loading branch information
AlexxIT authored Feb 17, 2025
2 parents 0e9009b + 2ca97a4 commit ae3b535
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/tapo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ func dial(req *http.Request, brand, username, password string) (net.Conn, *http.
if err != nil {
return nil, nil, err
}
_, _ = io.Copy(io.Discard, res.Body) // discard leftovers
_ = res.Body.Close() // ignore response body

auth := res.Header.Get("WWW-Authenticate")
Expand Down

0 comments on commit ae3b535

Please sign in to comment.