mirror of
https://github.com/home-assistant/core.git
synced 2025-08-25 15:31:36 +02:00
Adjust Xiaomi integration
This commit is contained in:
@@ -142,7 +142,7 @@ class XiaomiCamera(Camera):
|
|||||||
"""Return a still image response from the camera."""
|
"""Return a still image response from the camera."""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
host = self.host.async_render()
|
host = self.host.async_render(parse_result=False)
|
||||||
except TemplateError as exc:
|
except TemplateError as exc:
|
||||||
_LOGGER.error("Error parsing template %s: %s", self.host, exc)
|
_LOGGER.error("Error parsing template %s: %s", self.host, exc)
|
||||||
return self._last_image
|
return self._last_image
|
||||||
|
Reference in New Issue
Block a user