AND Conditions Help

Getting the following error for my newly added automation with an AND condition in it. All other automation I use only have a single condition so I haven’t got an example other than the ‘docs’ area on the website to work from.

Error:

ERROR (MainThread) [homeassistant.bootstrap] Invalid config for [automation]: extra keys not allowed @ data['condition'][0]['conditions'][1]['state']. Got None
not a valid value for dictionary value @ data['condition'][0]['conditions'][1]['condition']. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/

Automation File:
> alias: “Motion in Front Lights On”
trigger:
platform: state
entity_id: binary_sensor.front_camera_person_detected
state: ‘on’
condition:
condition: and
conditions:
- condition: state
entity_id: sun.sun
state: ‘below_horizon’
- condition: state
entity_id: light.porch
state: off
action:
- service: script.turn_off
data:
entity_id: script.porch_light_delay_off
- service: light.turn_on
data:
entity_id: light.porch
- service: script.turn_on
data:
entity_id: script.porch_light_delay_off

Try putting your off in the second condition in quotes.

fixed! That was simple. Thanks @333ryan18