So I have post in the “Developer tools” section in “Services” to test if the camera will record and I get the error Failed to call service camera.record. Error rendering data template: UndefinedError: 'entity_id' is undefined
I get this error Failed to call service camera.record. template value should be a string for dictionary value @ data['sequence'][0]['data']. Got {'duration': 30, 'lookback': 0, 'filename': '/tmp/{{ state_attr(entity_id, \'computer_camera\' }}_{{ now().strftime("%Y%m%d-%H%M%S") }}.mp4'}
with this {{ state_attr(entity_id, 'name' }}
When I load with the example data in HA, it fills in this filename: /tmp/snapshot_{{ entity_id.name }}.mp4