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

Automations: and Scripts: Fix remaining inconsistent "Confirm …" condition for zones #22542

Open
NoRi2909 opened this issue Oct 26, 2024 · 0 comments

Comments

@NoRi2909
Copy link

NoRi2909 commented Oct 26, 2024

Describe the issue you are experiencing

In #22497 all condition strings starting with "Confirm …" were changed to just "If …" for consistency – except for this one that was missed:

In automations:

Screenshot 2024-10-26 10 54 39

In scripts:

Screenshot 2024-10-26 10 56 22

So here the remaining "Confirm" should also replaced by a simple "if":

"full": "Confirm {entity} {numberOfEntities, plural,\n one {is}\n other {are}\n} in {zone} {numberOfZones, plural,\n one {zone} \n other {zones}\n} "

For the final touch you should also change the temporary placeholder shown before an actual entity is selected by the user from

"no_entity": "Confirm state",

to

 If state confirmed

This will also allow a consistent translation of that last one.

What version of Home Assistant Core has the issue?

core-2024.10.4

Additional information

Note that the fixes from #22497 are not live yet as the PR was applied shortly after the current release was frozen.

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