mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Fix missing .name at entity_id in service example (#38515)
for propper filename
This commit is contained in:
parent
809c2980df
commit
0b0e323632
@ -36,7 +36,7 @@ snapshot:
|
||||
example: "camera.living_room_camera"
|
||||
filename:
|
||||
description: Template of a Filename. Variable is entity_id.
|
||||
example: "/tmp/snapshot_{{ entity_id }}"
|
||||
example: "/tmp/snapshot_{{ entity_id.name }}.jpg"
|
||||
|
||||
play_stream:
|
||||
description: Play camera stream on supported media player.
|
||||
@ -59,7 +59,7 @@ record:
|
||||
example: "camera.living_room_camera"
|
||||
filename:
|
||||
description: Template of a Filename. Variable is entity_id. Must be mp4.
|
||||
example: "/tmp/snapshot_{{ entity_id }}.mp4"
|
||||
example: "/tmp/snapshot_{{ entity_id.name }}.mp4"
|
||||
duration:
|
||||
description: (Optional) Target recording length (in seconds).
|
||||
default: 30
|
||||
|
Loading…
x
Reference in New Issue
Block a user