Automation when starting to charge my electric car

Hi,
Im trying to add a feature that announces that my car is starting to charge and when the charge is complete. I have a z-wave sensor that measures the load.

I have been poking around with this but cannot get it to work. no obvious error messages either… (im kind of new to this)

If the power has been below 100 for 1 hour and spikes to 1500 for 2 mins, and if this is between 08:00 and 21:00 (dont want the google announcements in the middle of the night.)

- alias: Charging car
  trigger:
    - platform: numeric_state
      entity_id: sensor.popp_co_700397_wall_plug_switch_outdoor_schuko_ip44_power
      above: 2000
    - for: '00:02:00'
  condition:
      condition: time
      after: '08:00:00'
      before: '21:00:00'         
  action:
    - service: tts.google_translate_say
      entity_id: media_player.google_home
      data:
        language: 'en'
        message: 'Your car is now charging'

I don’t believe you didn’t get an error message. Remove the hyphen before ‘for’.