From be15ca3f23d52b693b1ce03fbe90fc92d41a6ae8 Mon Sep 17 00:00:00 2001 From: Jeff Wilson Date: Mon, 20 Mar 2017 12:00:45 -0400 Subject: [PATCH] Don't warn if octoprint completion is null (#6719) --- homeassistant/components/sensor/octoprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/octoprint.py b/homeassistant/components/sensor/octoprint.py index cdbe46cc9ec..d58f55e0ab7 100644 --- a/homeassistant/components/sensor/octoprint.py +++ b/homeassistant/components/sensor/octoprint.py @@ -127,6 +127,6 @@ class OctoPrintSensor(Entity): # Error calling the api, already logged in api.update() return - if self._state is None: + if self._state is None and self.sensor_type != "completion": _LOGGER.warning("Unable to locate value for %s", self.sensor_type) return