mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +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()
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user