mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 07:06:30 +00:00
Fix convert bug
This commit is contained in:
parent
8276018b76
commit
efd1de2fc2
@ -45,7 +45,7 @@ class HostControll(object):
|
|||||||
writer.write("{}\n".format(command).encode())
|
writer.write("{}\n".format(command).encode())
|
||||||
data = await reader.readline()
|
data = await reader.readline()
|
||||||
|
|
||||||
response = data.decode().Upper()
|
response = data.decode().upper()
|
||||||
_LOGGER.info("Receive from HostControll: %s.", response)
|
_LOGGER.info("Receive from HostControll: %s.", response)
|
||||||
|
|
||||||
if response == "OK":
|
if response == "OK":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user