Log messages cleanup (#2129)

* Log cleanup

* More logs
This commit is contained in:
Joakim Sørensen
2020-10-15 14:50:43 +02:00
committed by GitHub
parent 034393bd42
commit fe0e41adec
57 changed files with 287 additions and 239 deletions

View File

@@ -124,7 +124,9 @@ class APIProxy(CoreSysAttributes):
if data.get("type") != "auth_required":
# Invalid protocol
_LOGGER.error("Got unexpected response from HA WebSocket: %s", data)
_LOGGER.error(
"Got unexpected response from Home Assistant WebSocket: %s", data
)
raise APIError()
# Auth session