mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Do not log warning on rest_command if no error (#6713)
This commit is contained in:
parent
ba3c9f9765
commit
9f4cd5fafe
@ -90,7 +90,7 @@ def async_setup(hass, config):
|
|||||||
auth=auth
|
auth=auth
|
||||||
)
|
)
|
||||||
|
|
||||||
if request.status == 200:
|
if request.status < 400:
|
||||||
_LOGGER.info("Success call %s.", request.url)
|
_LOGGER.info("Success call %s.", request.url)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user