core: Blink integration: blink.save_video not working
The problem
I am trying to save a video from motion detection on the Blink camera which would save a clip locally but I keep getting an error in Hassio and cannot deploy it.
Environment
I am running Hassio on a PI4, HA version 0.113.1 The integration of subject is Blink
- Home Assistant Core release with the issue:
- Last working Home Assistant Core release (if known):
- Operating environment (OS/Container/Supervised/Core): System | Raspbian GNU/Linux 10 (buster) Docker version | 19.03.12
- Integration causing this issue: Blink
- Link to integration documentation on our website: the integration described here https://www.home-assistant.io/integrations/blink/#save-video-locally-when-motion-detected
Problem-relevant automation.yaml
- id: ‘1595874301126’
alias: Snapshot e Clip Garagem Blink
trigger:
- entity_id: binary_sensor.blink_garage_motion_detected platform: state to: ‘on’ condition: [] action:
- data: filename: /share/blink/Garagem/videos/blink_video_{{ now().strftime(‘%Y%m%d_%H%M%S’) }}.mp4 service: blink.save_video mode: single
Traceback/Error logs
While executing automation automation.gravar_clip_garagem_blink_por_motion_detection Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/automation/init.py”, line 409, in async_trigger await self.action_script.async_run(variables, trigger_context) File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 764, in async_run await asyncio.shield(run.async_run()) File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 173, in async_run await self._async_step(log_exceptions=False) File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 181, in _async_step await getattr( File “/usr/src/homeassistant/homeassistant/helpers/script.py”, line 370, in _async_call_service_step await service_task File “/usr/src/homeassistant/homeassistant/core.py”, line 1219, in async_call processed_data = handler.schema(service_data) File “/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py”, line 272, in call return self._compiled([], data) File “/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py”, line 594, in validate_dict return base_validate(path, iteritems(data), out) File “/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py”, line 432, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: extra keys not allowed @ data[‘entity_id’]
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (3 by maintainers)
Hi @vdiogo , I was getting the same error msg and in my case it turned out that I had to create manually all the folders in the path described on filename:. the blink.save_video service would not create it automatically as the camera.snapshot service does for stills.