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

Automation trigger ID with whitespace #23885

Open
4 tasks done
AJediIAm opened this issue Jan 25, 2025 · 0 comments
Open
4 tasks done

Automation trigger ID with whitespace #23885

AJediIAm opened this issue Jan 25, 2025 · 0 comments

Comments

@AJediIAm
Copy link

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

Moved from integration to frontend
Original issue: home-assistant/core#136515 (comment)

I noticed an automation was not working as intended. I expect it is due to a whitespace at the end of the trigger ID.

Image

It would be nice if whitespace would be automatically removed or ignored since I cannot imagine anyone wants to use this whitespace.

Describe the behavior you expected

Whitespace is automatically trimmed from Trigger IDs.

Steps to reproduce the issue

  1. Create a trigger with an ID with an accidental whitespace at the end
  2. Use the trigger ID as an condition in an action.
  3. Observe how the action's trigger ID does not match the trigger's ID.
    ...

What version of Home Assistant Core has the issue?

2025.1.4

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue?

No response

Which operating system are you using to run this browser?

No response

State of relevant entities

Problem-relevant frontend configuration

Javascript errors shown in your browser console/inspector

Additional information

No response

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

1 participant