What is the correct node for check a state change from off to on?

I am trying to move the following automation (took it from here) to NodeRED but I am struggling to find the correct way to represent the platform: state with a node that will check that it changes from off to on. Can I get some ideas?

    - alias: Backups went stale
      id: 'backups_went_stale'
      trigger:
      - platform: state
        entity_id: binary_sensor.backups_stale
        from: 'off'
        to: 'on'
      condition: []
      action:
      - service: notify.android
        data:
          title: Backups are Stale
          message: Please visit the 'Home Assistant Google Drive Backup ' add-on status page
            for details.

Thanks in advance

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/node/trigger-state.html

Perfect! exactly what I needed!