Ape / samsungctl

Remote control Samsung televisions via a TCP/IP connection
MIT License
716 stars 189 forks source link

Add timeout support for websocket connections #55

Closed nunofgs closed 6 years ago

nunofgs commented 6 years ago

This PR allows passing the timeout configuration to a websocket connection.

This vastly improves the way the Home Assistant samsung plugin detects that the TV is off, because it will now timeout properly and report the TV as unreachable.

Ape commented 6 years ago

Thanks.

nunofgs commented 6 years ago

Thanks for merging @Ape.

Any chance you could publish a release so I can bump the home-assistant component?

Ape commented 6 years ago

@nunofgs I just released 0.7.0.

nunofgs commented 6 years ago

Fantastic. Thanks!