mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Don't warn if octoprint completion is null (#6719)
This commit is contained in:
parent
9a305c9742
commit
be15ca3f23
@ -127,6 +127,6 @@ class OctoPrintSensor(Entity):
|
|||||||
# Error calling the api, already logged in api.update()
|
# Error calling the api, already logged in api.update()
|
||||||
return
|
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)
|
_LOGGER.warning("Unable to locate value for %s", self.sensor_type)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user