Fix typo in Camera.turn_on (#119386)

This commit is contained in:
tronikos 2024-06-12 05:50:34 -07:00 committed by GitHub
parent 3a4b46208f
commit 2ca580898d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -698,11 +698,11 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
await self.hass.async_add_executor_job(self.turn_off)
def turn_on(self) -> None:
"""Turn off camera."""
"""Turn on camera."""
raise NotImplementedError
async def async_turn_on(self) -> None:
"""Turn off camera."""
"""Turn on camera."""
await self.hass.async_add_executor_job(self.turn_on)
def enable_motion_detection(self) -> None: