Nest thermostat motion sensor

Hi,
I have a nest thermostat successfully integrated in home assistant. Do you know if there is any chance to catch when the screen of the thermostat turns on? The screen usually turns on when people approach to thermostat and I need to use it to start an automation in home assistant.

Thanks for help!

@nickkindt I cannot get this to work, would you be able to provide a bit more insight?
I keep getting the following error when adding the automation:
Message malformed: extra keys not allowed @ data[‘0’]

My code:

- id: '1692558832489'
  alias: Lights on by Nest motion
  description: ''
  trigger:
    - platform: state
      entity_id:
        - binary_sensor.ping_nest
      to: 'on'
      for:
        hours: 0
        minutes: 0
        seconds: 25
  condition:
    - condition: sun
      after: sunset
    - condition: state
      entity_id: light.front_door_lamp
      state: 'off'
    - condition: state
      entity_id: automation.bedtime
      state: 'off'
  action:
    - service: light.turn_on
      data:
        rgb_color:
          - 255
          - 255
          - 255
        brightness_pct: 40
      target:
        entity_id:
          - light.front_door_lamp