Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Merry Christmass all 🙂
- I have some issue with a template from my nest doorbell 😦
- So when i call the service, it creates the file but it dosent have a image in it.
- Also it dosent add the time stamp to the file, only "doorbell_"
- This is the code:
- service: camera.snapshot
- target:
- device_id: 6f76b7518d4efa9
- entity_id: camera.doorbell
- data:
- filename: >-
- /config/www/nest/notify/doorbell_{{
- states.input_text.as_doorbell_snap_timestamp.state }}.jpg
- This is the input text i call before the snap
- service: input_text.set_value
- entity_id: input_text.as_doorbell_snap_timestamp
- data:
- value: "{{ now().strftime(\"%Y%m%d_%H%M%S\") }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement