Upgrade config error

Hi,

I am running HA in docker on my Synology NAS. I have done a couple of upgrades already, but today I am getting an error which I have not seen before and it is resulting in HA not booting.

17-03-17 08:50:43 ERROR (Thread-3) [homeassistant.util.yaml] duplicate key: "condition"
  in "/config/automation.yaml", line 654, column 0
  in "/config/automation.yaml", line 655, column 0
17-03-17 08:50:43 ERROR (MainThread) [homeassistant.bootstrap] Error loading /config/configuration.yaml: duplicate key: "condition"
  in "/config/automation.yaml", line 654, column 0
  in "/config/automation.yaml", line 655, column 0

in my configuration the offending lines are as follows:

device_tracker:
#  - platform: icloud
#    username: xxxxxxxxx
#    password: xxxxxxx
#    account_name: JJ

  - platform: nmap_tracker
    hosts: 192.168.1.1/24
    home_interval: 10

#  - platform: unifi
#    username: xxxxx
#    password: xxxxxx
#    host: xxxxxxx
#    port: 32774

As you can see I have these #'d in an attempt to resolve the issue which it has not.

ANy ideas on how to get around this?

Thanks

I found the error, and resolved this… It was in my automations, a typo which crept in…