antonioparraga / braviarc

Python library for Sony Bravia TV remote control
MIT License
79 stars 41 forks source link

Call raise_for_status to raise HTTPError #4

Closed ttu closed 8 years ago

ttu commented 8 years ago

HTTPErrors were not raised without raise_for_status, so when status code was e.g. 401, function returned True and is_connected also returned True.

Related issue from home-assistant: https://github.com/home-assistant/home-assistant/issues/2744

antonioparraga commented 8 years ago

And this is the reason because some guys had problems setting up their BRAVIA the first time! thank you!