First Alert Z-Wave Combo Fire and Carbon Monoxide Detector Repeating Alert

I have the automation below setup for my First Alert Z-Wave Combo Fire and Carbon Monoxide Detector. Everything works fine, except the automation is triggered on a regular basis (every 30-60 minutes), which send out the alert when triggered. Is there any easy way to condition/re-write this automation to prevent this from happening if the status of the device hasn’t changed since the last poll?

alias: "smoke_and_co_detector_idle"
trigger:
  - platform: state
    entity_id: sensor.smoke_and_co_detector_alarm_type
    to: '13'
action:
  - service: logbook.log
    data:
      name: "Smoke Detector Ok: "
      message: "Smoke Detector Ok"
  - service: notify.ios_iphone
    data:
      title: "Smoke Detector Ok"
      message: "Smoke Detector Ok"