Time Condition Not Functioning

Newbie here lol,

I have a condition where I don’t want an automation to work from 7:00 to 15:00. It doesn’t function at all. The automation itself functions, just not the condition.

trigger:
  - below: '700'
    entity_id: sensor.plant_2
    platform: numeric_state
  condition:
    condition: time
    after: '07:00:00'
    before: '15:00:00'

Thanks!

Your condition describes the opposite:
It would only trigger when it is after 7:00 and before 15:00.

Also the indentation of the condition is not correct:

trigger:
  - below: '700'
    entity_id: sensor.plant_2
    platform: numeric_state
condition:
  condition: time
  before: '07:00:00'
  after: '15:00:00'

And check if your automation is active.