Fix typo in Camera.turn_on (#119386)
This commit is contained in:
parent
3a4b46208f
commit
2ca580898d
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue