Describe the bug
The services "camera.enable_motion_detection" and "camera.disable_motion_detection" are inverted, when calling "camera.enable_motion_detection" the motion detection turns OFF, and when calling "camera.disable_motion_detection" the motion detection turns ON.
To Reproduce
Steps to reproduce the behavior:
Go to 'Developer Tools -> Services'
Run service 'camera.enable_motion_detection' with parameters 'name of your camera'
See that motion_detection was turned OFF
Run service 'camera.disable_motion_detection' with parameters 'name of your camera'
See that motion_detection was turned ON
Expected behavior
When calling "camera.enable_motion_detection" the motion detection must turn ON, and when calling "camera.disable_motion_detection" the motion detection must turn OFF.
Log
Not applicable.
Camera (please complete the following information):
Device Model: Tapo C200
FW: 1.0.16 Build 200930 Rel.26253n(4555)
Using stream component
[no]
Camera works through onvif component OR different cameras work in general
[yes]
Camera has all attributes filled out properly in developer tools
[yes]
HASS Environment
[default HASSIO on a raspberry pi4]
Describe the bug The services "camera.enable_motion_detection" and "camera.disable_motion_detection" are inverted, when calling "camera.enable_motion_detection" the motion detection turns OFF, and when calling "camera.disable_motion_detection" the motion detection turns ON.
To Reproduce Steps to reproduce the behavior:
Expected behavior When calling "camera.enable_motion_detection" the motion detection must turn ON, and when calling "camera.disable_motion_detection" the motion detection must turn OFF.
Log Not applicable.
Camera (please complete the following information):
Using stream component [no]
Camera works through onvif component OR different cameras work in general [yes]
Camera has all attributes filled out properly in developer tools [yes]
HASS Environment [default HASSIO on a raspberry pi4]
Additional context Not applicable.