Fixed.
Doh!. Works as described…
There are two types of Home Assistant users. Those who have had automations stop working because an update to a component changed the entity_id, and those who will. It happens so often that when an automation stops working, this is the first thing I look for.