New switch not showing in group

I upgraded to 0.67.1 today and later added a new zwave switch just like I have 40-50 times before. Under zwave config / nodes, the switch shows up with the correct name I renamed it to. It did not show up correctly in the gui until I gave it a name in entity_registry.yaml. Now it shows up correctly in the gui home page, but will not show up in the group I want it in unless I use it’s default name (switch.switch_2).

3 things need to match, and you should verify this:

your entity registry unique_id should match your zwave node_id

the light/device you just added (check for it in the states page):

light.mylight:
  node_id: 1
  value_id: 123456789123456789

zwave (check in states tab)

zwave.mylight:
  node_id: 1

entity_registry

light.mylight:
  unique_id: 1-123456789123456789

So if the entity_registry unique_id does not match the first and second number for the zwave & switch information, it will not be linked.

Once all that is set, then you should be able to use light.mylight in your config