mirror of
https://github.com/home-assistant/frontend.git
synced 2026-09-15 21:19:13 +01:00
A state condition with match "any" joins its entities with "or", but the summary kept a plural verb for multiple entities, reading "If A or B are on". With "or" English uses singular agreement: "If A or B is on". The match "all" case joins with "and" and correctly stays plural. Nest a select on a new matchAny flag inside the multiple-entities plural branch so the verb agrees with the join. Other languages keep their count-based plural (the extra argument is ignored). Add a test that renders the actual en.json string to lock in the grammar.