home_status_target's freezer branch special-cases "garage" and canonicalizes every other target to the bare freezer entity. So a question about a specific second freezer is silently rewritten into a question about a different appliance:
Reproduced on main @ 9e54db4 via route():
is the basement freezer on -> home_status {entity: "freezer"}
check the basement freezer -> home_status {entity: "freezer"}
is the kitchen freezer on -> home_status {entity: "freezer"}
Expected: the caller's qualifier survives ("basement freezer" / "kitchen freezer"), the same way the sibling branches (switches, covers, locks, lights) keep a qualified target, and exactly the unconditional-collapse bug the dryer branch fixed in #846. The bare "is the freezer on" and the garage forms must keep their current entities.
home_status_target's freezer branch special-cases "garage" and canonicalizes every other target to the barefreezerentity. So a question about a specific second freezer is silently rewritten into a question about a different appliance:Reproduced on
main@ 9e54db4 viaroute():Expected: the caller's qualifier survives ("basement freezer" / "kitchen freezer"), the same way the sibling branches (switches, covers, locks, lights) keep a qualified target, and exactly the unconditional-collapse bug the dryer branch fixed in #846. The bare "is the freezer on" and the garage forms must keep their current entities.