Yes you do.
I recommend against using the names automatically generated by auto discovery
If possible change the things names to something YOU understand, like mudroomdoor_z2
for the thing
and maybe MudRoom_Door_Z2
for the contact items
Having a structured approach to naming you items will allow you to write more efficient rules
See: Who has got some clever ideas for item naming schemes?
And then:
Design Pattern: Associated Items from design patterns:
Design Pattern: What is a Design Pattern and How Do I Use Them