-
Notifications
You must be signed in to change notification settings - Fork 3
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
Recent visitor image entity #88
base: main
Are you sure you want to change the base?
Conversation
Would be nice to see this landed- just was trying to add a lovelace card showing my recent visitor, but that doesn't seem to be possible anymore? Generic cameras require URLs instead of templates, it seems, since I keep getting a "Relative URLs are not allowed" error message no matter how I format the quotes in the template string. Might be a bug with HA core itself, but in the meantime there doesn't seem to be a way to print the latest visitor image on-page, from what I can tell. |
I've been running the PR branch myself for a few weeks now. It's mostly working, but still has some quirks to figure out. Most notably it works great in response to real-time visits, but still has issues figuring out which image to use on initial startup. If you want to try it out, just use the update.install service to install the branch name ( As for the template camera issue, I've seen that before also, but iirc it only does that if the template doesn't currently evaluate to a full URL? Does the entity have an entity picture currently, and your template evaluates to a working URL when testing it in developer tools? I could be mistaken, since that screen only appears once, and once it's created there's no need to show it again. |
Eventually was able to get it to work- no idea how. The template was evaluating correctly to a full URL- 20th time was a charm for some reason, go figure, hah. |
Adds the recent visitor image entity, removing the need for workarounds like adding a generic camera with a template URL.
To test this PR pre-release version, go to Developer tools > Actions, and run: