mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
spelling: components/ezviz (#64247)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
7884de3a31
commit
d47a25856b
@ -39,7 +39,7 @@ from .const import (
|
||||
DIR_UP,
|
||||
DOMAIN,
|
||||
SERVICE_ALARM_SOUND,
|
||||
SERVICE_ALARM_TRIGER,
|
||||
SERVICE_ALARM_TRIGGER,
|
||||
SERVICE_DETECTION_SENSITIVITY,
|
||||
SERVICE_PTZ,
|
||||
SERVICE_WAKE_DEVICE,
|
||||
@ -198,7 +198,7 @@ async def async_setup_entry(
|
||||
)
|
||||
|
||||
platform.async_register_entity_service(
|
||||
SERVICE_ALARM_TRIGER,
|
||||
SERVICE_ALARM_TRIGGER,
|
||||
{
|
||||
vol.Required(ATTR_ENABLE): cv.positive_int,
|
||||
},
|
||||
|
@ -134,7 +134,7 @@ class EzvizConfigFlow(ConfigFlow, domain=DOMAIN):
|
||||
except PyEzvizError as err:
|
||||
raise PyEzvizError from err
|
||||
|
||||
# Secondly try to wake hybernating camera.
|
||||
# Secondly try to wake hibernating camera.
|
||||
try:
|
||||
await self.hass.async_add_executor_job(
|
||||
ezviz_client.get_detection_sensibility, data[ATTR_SERIAL]
|
||||
|
@ -25,7 +25,7 @@ ATTR_TYPE = "type_value"
|
||||
|
||||
# Service names
|
||||
SERVICE_PTZ = "ptz"
|
||||
SERVICE_ALARM_TRIGER = "sound_alarm"
|
||||
SERVICE_ALARM_TRIGGER = "sound_alarm"
|
||||
SERVICE_WAKE_DEVICE = "wake_device"
|
||||
SERVICE_ALARM_SOUND = "alarm_sound"
|
||||
SERVICE_DETECTION_SENSITIVITY = "set_alarm_detection_sensibility"
|
||||
|
Loading…
x
Reference in New Issue
Block a user