From 5854eef47b2e0ebfd077fcef2cb3c728881b8c63 Mon Sep 17 00:00:00 2001 From: ZiroNL Date: Thu, 31 Oct 2019 18:57:00 +0100 Subject: [PATCH] Add services.yaml to onvif component (#28349) --- homeassistant/components/onvif/services.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/homeassistant/components/onvif/services.yaml b/homeassistant/components/onvif/services.yaml index e69de29bb2d..667538f056a 100644 --- a/homeassistant/components/onvif/services.yaml +++ b/homeassistant/components/onvif/services.yaml @@ -0,0 +1,16 @@ +onvif_ptz: + description: If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your camera. + fields: + entity_id: + description: 'String or list of strings that point at entity_ids of cameras. Else targets all.' + example: 'camera.backyard' + tilt: + description: 'Tilt direction. Allowed values: UP, DOWN, NONE' + example: 'UP' + pan: + description: 'Pan direction. Allowed values: RIGHT, LEFT, NONE' + example: 'RIGHT' + zoom: + description: 'Zoom. Allowed values: ZOOM_IN, ZOOM_OUT, NONE' + example: 'NONE' +