-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Service recorder.purge_entities don't update title in UI automation #20711
Comments
Just want to point out that this was never possible. Prior to the removal of target selector, if you had selected a label and clicked purge, it would have erased your entire database. That was the reason it was removed. |
Sorry, I probably expressed myself wrong, English is not my native language. Today I was in the way to try it and it's appear something change, then I found the PR to understand. I fully understand reasons of the PR, and fully agree with the problem resolution. But I think (probably for myself) that labels would have been a very good use case, if it could work. |
Yes perhaps someday someone can extend the service to fully support target selector. The title issue is possibly a duplicate of #20496 |
Checklist
Describe the issue you are experiencing
Hello
I think is issue is related to PR home-assistant/core#110066 which seems removed Target
I saw it on an automation I used to purge daily a very noisy sensor.
My automation at beginning was like that :
As you can see, title is ok, but target doens't appear because target was removed.
![image](https://private-user-images.githubusercontent.com/12786921/327684611-3436fd4d-e185-4102-8ed4-744935a8dcc4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwNzQ4OTMsIm5iZiI6MTcyMzA3NDU5MywicGF0aCI6Ii8xMjc4NjkyMS8zMjc2ODQ2MTEtMzQzNmZkNGQtZTE4NS00MTAyLThlZDQtNzQ0OTM1YThkY2M0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA3VDIzNDk1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2MGIzMjg1MDQwMjA2OGYzYmRiZmU3MTBlZDRkZmE1OGJiZDBhNzg2ODJiZjA0NzQ4ZDM0NjhhMTE3YjhmOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KzsSkROt40XrVMQ3RYUAN4mjwekN-TNG5MtQkYxKxSg)
So, I tried to modify the automation to respect the breaking change with this one :
By the way I just would also add something about this modification. Labels was just introduced some weeks ago, and could be selected in "Target" which is now removed of this service.
I was with the idea of simplifying my automations with use this labels as target on
recorder.purge_entities
and mark some noisy entities as for example "Purge 1 day", "Purge 7 days", ... But now it will no longer possibleDescribe the behavior you expected
Normally, the title is personalized to the target/entity used
Steps to reproduce the issue
recorder.purge_entities
What version of Home Assistant Core has the issue?
core-2024.5.0
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Google Chrome 124.0.6367.119
Which operating system are you using to run this browser?
Windows 10
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: