Closed ngraziano closed 7 years ago
If TV is in sleep mode (not totally off) when I try to connect, its response is :
{"error":[7,"not power-on"],"id":1}
and there is not the necessary cookie for authentication but is_connected() return True
is_connected()
True
I get sleep mode for few minutes when I turn the TV off.
I change to use response.json(), it was use before for log so this should be good. I also change the test to be allow null response.
perfect!
If TV is in sleep mode (not totally off) when I try to connect, its response is :
and there is not the necessary cookie for authentication but
is_connected()
returnTrue
I get sleep mode for few minutes when I turn the TV off.