Automation to chirp when doors or windows are opened

Before my system crashed, I had an automation that made my Konnected piezo chip when a door or window is opened

I tried creating an automation but I don’t see the entity

chip= entity_id: switch.chirp_5