Files
home-assistant-core/homeassistant/components/local_file/services.yaml
T
Raman Gupta 42ce5e8b07 Update service domain for local_file from 'camera' to 'local_file' (#28890)
* update service domain for local_file from camera to local_file

* remove service.yaml entry in camera component as part of change

* fix test

* move constants to const.py

* add local_file/const.py to .coveragerc

* remove local_file/const.py from .coveragerc since component has tests
2019-11-26 09:22:55 -08:00

10 lines
353 B
YAML

update_file_path:
description: Use this service to change the file displayed by the camera.
fields:
entity_id:
description: Name of the entity_id of the camera to update.
example: 'camera.local_file'
file_path:
description: The full path to the new image file to be displayed.
example: '/config/www/images/image.jpg'