Config file

Hi I am new to HA this week and just setting up and getting my head around things:

I seem to have messed up my config file as this is how it reads:

device_tracker.unifi_00_55_da_58_f1_96_default

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
  - platform: google_translate
  
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

but i get this error:

Error loading /config/configuration.yaml: expected ‘’, but found ‘’ in “/config/configuration.yaml”, line 4, column 1

I was trying to add this after installing iphone detect from HACS but i have got myself in a mess and I am a bit stuck. I have deleted the below as I got an error message swell

:

device_tracker:
  - platform: iphonedetect
    consider_home: 60
    scan_interval: 12
    new_device_defaults:
      track_new_devices: true
    hosts:
      hostname1: 192.168.0.17
      hostname2: 192.168.0.24

Any advice for someone completely new to HA would be very much appreciated. Thanks

Shouldnt be there

Thanks so much ! That;s fixed it. In terms of the second lot of code - can I add that? I’m trying to improve the presence detcection on the phones and trried this through HACS and think I have to copy that here. It’s all a bit new to me

Thanks again

Did you restart HA after adding the HACS integration?
Does it gives you any error?

No, no error now - I don’t think i have my head around the config file yet and what I can add or should add. All a bit confusing at the moment but i’ll get there. thank you