Sunset Automation Trigger

Hi, dose anyone know whats this means ? really new to hass and am trying to enable a hue light after sunset by triggering another automation with this one.

config, please.

homeassistant:
  # Name of the location where Home Assistant is running
  name: HomeNetAutoMate
  # Location required to calculate the time the sun rises and sets
  latitude: 53.817505
  longitude: 3.035675
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 16
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/London

# Show links to resources in log and frontend
introduction:

# Enables the frontend
frontend:

# Enables configuration UI
config:

http:
  # Uncomment this to add a password (recommended!)
  # api_password: PASSWORD
  # Uncomment this if you are using SSL or running in Docker etc
  # base_url: example.duckdns.org:8123

# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time.
history:

# View all events in a logbook
logbook:

# Track the sun
sun:

# Weather Prediction
sensor:
  platform: yr
# Text to speech
tts:
  platform: google  
light:
  platform: hue
  host: 192.168.0.81 
binary_sensor:
  platform: hikvision
  host: 192.168.0.222
  port: 80
  ssl: True
  username: ********
  password: *******
  customize:
    motion:
      delay: 0
    line_crossing:
      delay: 0
    field_detection:
      delay: 0
group: !include groups.yaml
automation: !include automations.yaml

include your automations.yaml file too

Thanks for your time but i have fixed it must of been how may automation was written.

- alias: BackYard Movement Light On
  trigger:
    platform: state
    entity_id: binary_sensor.ip_cam_yard_field_detection
    to: 'on'
  condition:
    condition: or
    conditions:
      - condition: sun
        before: sunrise
      - condition: sun
        after: sunset
  action:
    service: light.turn_on
    entity_id: light.bike_shed
# 
#
#
- alias: BackYard Movement Light Off Timer
  trigger:
    platform: state
    entity_id: binary_sensor.ip_cam_yard_field_detection
    to: 'off'
    for:
      minutes: 2
  action:
    service: light.turn_off
    entity_id: light.bike_shed
#
#
#  
###########################
# Old Automations for ref #
###########################
# 1.
#- alias: BackYard Movement Light On
#  trigger:
#    platform: state
#    entity_id: binary_sensor.ip_cam_yard_field_detection
#    to: 'on'
#  action:
#    service: light.turn_on
#    entity_id: light.bike_shed
#

In my experience this error always fixes itself after awhile. It’s nothing you did.

Usually wait a few minutes and refresh the browser and it disappears.

https://github.com/home-assistant/home-assistant/issues/4391