diff --git a/README.md b/README.md
index d50934c..784e0c0 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
- Reolink custom component for Home Assistant
+ Home Assistant Reolink addon
diff --git a/custom_components/reolink_dev/camera.py b/custom_components/reolink_dev/camera.py
index 0248b9f..125bcbe 100644
--- a/custom_components/reolink_dev/camera.py
+++ b/custom_components/reolink_dev/camera.py
@@ -150,16 +150,16 @@ def handler_enable_motion_detection(call):
if entity:
entity.enable_motion_detection()
- hass.services.async_register(DOMAIN, SERVICE_ENABLE_RECORDING, handler_enable_motion_detection)
+ hass.services.async_register(DOMAIN, SERVICE_ENABLE_MOTION_DETECTION, handler_enable_motion_detection)
-# Event disable recording
+# Event disable motion detection
def handler_disable_motion_detection(call):
component = hass.data.get(DOMAIN)
entity = component.get_entity(call.data.get(ATTR_ENTITY_ID))
if entity:
entity.disable_motion_detection()
- hass.services.async_register(DOMAIN, SERVICE_DISABLE_RECORDING, handler_disable_motion_detection)
+ hass.services.async_register(DOMAIN, SERVICE_DISABLE_MOTION_DETECTION, handler_disable_motion_detection)
class ReolinkCamera(Camera):