MQTT / Owntracts Leading to Boot Problem

Evening All,

I followed this BRUH Automation tutorial and eneded up with the below in my configuration.yaml. Thing is it won’t boot when I have the below entered. I have to go in # it all up and then reboot. I have tried taking out each bit at a time but each one causes a non boot. When I take it all out, it boots fine.

Can someone with more brains have a look at see what I’m missing? I’m using Hass.io on a RP3.

zone:
  - name: Place
    latitude: xxxx
    longitude: xxxx
    radius: 100

   - name: Work
    latitude: xxxx
    longitude: xxxx
    radius: 250

device_tracker:
  - platform: owntracks
    max_gps_accuracy: 200

mqtt:
  broker: mxx.cloudmqtt.com
  port: 11921
  client_id: HA-1
  keepalive: 60
  username: username
  password: password

I don’t see why device_tracker and mqtt would cause a non boot unless they need addon’s but - name: Work is indented incorrectly and both Place and Work should probably have single quotes round them.

Do you have any other device_trackers or mqtt devices in your config?

1 Like

You have weird spacing in zones>>work

1 Like

I’m just curious, why does mqtt: need a client_id?

Because HA connects to the broker and every client that connects to the broker needs a cliente id…

Must have been the spacing or the lack of quotes as it works now, thank you for your help.

Still don’t understand why it wouldn’t boot when I just took the zones out.