mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Fix typo in Camera.turn_on (#119386)
This commit is contained in:
parent
3a4b46208f
commit
2ca580898d
@ -698,11 +698,11 @@ class Camera(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|||||||
await self.hass.async_add_executor_job(self.turn_off)
|
await self.hass.async_add_executor_job(self.turn_off)
|
||||||
|
|
||||||
def turn_on(self) -> None:
|
def turn_on(self) -> None:
|
||||||
"""Turn off camera."""
|
"""Turn on camera."""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
async def async_turn_on(self) -> None:
|
async def async_turn_on(self) -> None:
|
||||||
"""Turn off camera."""
|
"""Turn on camera."""
|
||||||
await self.hass.async_add_executor_job(self.turn_on)
|
await self.hass.async_add_executor_job(self.turn_on)
|
||||||
|
|
||||||
def enable_motion_detection(self) -> None:
|
def enable_motion_detection(self) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user