Automation help with WADWAZ-1 window/door sensor 255 to 0

I’m slowly migrating my devices from SmartThings to HA and I was able to add the WADWAX-1 (Linear Nortek Window/Door sensor) to HA and figured out it was changing the values on one of the entities to 0 = closed and 255 when open. I renamed the entity to Garage/Door sensor. My problem is I don’t know how that equates in the automation. I tried using trigger type as ‘State’, but that didn’t really work. Any help or guidance would be great?

Sorry I am still very new too this UI.

That should happen when it closes. Can you verify the state changes from 255 to 0 when it closes in the developer tools states section?

Sorry I haven’t used this before, but if I have the contact open and choose the entity the state is 255. I’m not sure what the purpose of ‘Set State’, but I tried clicking that with the contact open and closed nothing happens. If I delete the entity and add it back with the contact closed the state is 0.

Is that what your wanting me to do?

Scroll down to see a table with all of the entities. I think your automation should work.

1 Like

Weird… I must of had something configured wrong. I changed it from 0 to 255 and it worked!

Thank you for help @KTibow!