Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update template sensor example to use state_attr #89

Open
robmarkcole opened this issue Feb 2, 2021 · 1 comment
Open

Update template sensor example to use state_attr #89

robmarkcole opened this issue Feb 2, 2021 · 1 comment

Comments

@robmarkcole
Copy link
Owner

Using the recommended approach is a bit clunky but looks like:

{{ state_attr('image_processing.rekognition_local_file_1', 'summary').person }}

Is this better than the currently listed approach? If yes update readme

@camui-alexandru
Copy link

how can make a template sensor to show number of cars and one to show number of persons in a picture?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants