-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Blocklist does not work with multiple words or phrases #1148
Comments
Hello @f0ggy987, thank you for your interest in our work! |
The description states that it takes regex in the documentation, try this
Or
|
Thank you for the quick response! From a quick test it looks like the solution is:
I thought I had previously tried a RegEx, unsuccessfully but I guess I must have typed it incorrectly :-) Someone on the forum claimed a comma-separated list worked for them, which sent me down that path. Thanks again! |
When I first implemented this it was comma separated, but I realised that limited the filter somewhat so moved to regex to allow much more flexibility. There may even be scenarios where Commas would work for single word filters |
Is there an existing issue for this?
Current Behavior
Entering:
PC,Pay Day
into the blocklist will not block any events, even when these words appear in the event title.
Additionally the documentation is not clear on formatting required for the blocklist:
Expected behaviour
Entering:
PC,Pay Day
into the blocklist should block events with either PC or the phrase Pay Day in their title from appearing
Example title - Expected behavior:
PC session - should be blocked
Pay Day - should be blocked
Pay the Day Cleaner - should NOT be blocked
Steps To Reproduce
Enter a comma separated list of words into the blocklist
Mode
Event (default)
Card Version
7.7.1
Home Assistant Version
2023.9.2
Configuration
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: