coroutine was expected error. Service to call http to local webserver to control LG tv prior 2012 #576
Unanswered
amoranvalero
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I am trying to send the power off command to an LG TV prior to 2012 vis http post query.
The code is trigger as a service power_off_async and executed properly (using a tasked coroutine) but I always have an error entry of type TypeError: a coroutine was expected, got None in line 31 at the end of async getSessionid coroutine.
The script:
I don't understand since the service power_off_async is called and the tv turn off but there is always an error flagged in the error log of HA.
Beta Was this translation helpful? Give feedback.
All reactions