# Describes the format for available camera services turn_off: name: Turn off description: Turn off camera. target: turn_on: name: Turn on description: Turn on camera. target: enable_motion_detection: name: Enable motion detection description: Enable the motion detection in a camera. target: disable_motion_detection: name: Disable motion detection description: Disable the motion detection in a camera. target: snapshot: name: Take snapshot description: Take a snapshot from a camera. target: fields: filename: name: Filename description: Template of a Filename. Variable is entity_id. required: true example: "/tmp/snapshot_{{ entity_id.name }}.jpg" selector: text: play_stream: name: Play stream description: Play camera stream on supported media player. target: fields: media_player: name: Media Player description: Name(s) of media player to stream to. required: true example: "media_player.living_room_tv" selector: entity: domain: media_player format: name: Format description: Stream format supported by media player. default: "hls" example: "hls" selector: select: options: - "hls" record: name: Record description: Record live camera feed. target: fields: filename: name: Filename description: Template of a Filename. Variable is entity_id. Must be mp4. required: true example: "/tmp/snapshot_{{ entity_id.name }}.mp4" selector: text: duration: name: Duration description: Target recording length. default: 30 example: 30 selector: number: min: 1 max: 3600 step: 1 unit_of_measurement: seconds mode: slider lookback: name: Lookback description: Target lookback period to include in addition to duration. Only available if there is currently an active HLS stream. default: 0 example: 4 selector: number: min: 0 max: 300 step: 1 unit_of_measurement: seconds mode: slider