From 9f4cd5fafedbdfeaecbb0f271d35c7873cbabab2 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 20 Mar 2017 23:18:33 -0700 Subject: [PATCH] Do not log warning on rest_command if no error (#6713) --- homeassistant/components/rest_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rest_command.py b/homeassistant/components/rest_command.py index dfcb5610073..abf25981af6 100644 --- a/homeassistant/components/rest_command.py +++ b/homeassistant/components/rest_command.py @@ -90,7 +90,7 @@ def async_setup(hass, config): auth=auth ) - if request.status == 200: + if request.status < 400: _LOGGER.info("Success call %s.", request.url) return