Zone not working in config

Hello,

I have added below config in configuration.yaml, but it gives me an error (see picture below).

zone:
  - name: Work
    latitude: secret
    longtitude: secret
    radius: 25
    icon: mdi:worker
    
  - name: Home
    latitude: secret
    longtitude: secret
    radius: 15
    icon: mdi:home

image

Do you see any error in the logs?

And which log are you reffering to (sorry new to HA).

You misspelled “longitude:”
It may be that simple.

Just for reference, there really is only one log in relation to Home Assistant. That’s the log file located in the config directory.

HassIO may have it’s own logs, but unrelated to configuration options in Home Assistant.

Ah thank you, I did know about that one.

@Dixey thank you that did the trick! (stupid me)

Also, it looks like you restarted HA without doing a config check first. That’s a bad practice.

In this case it worked out OK because the error was able to be ignored and HA could start back up and throw that “invalid config” box. But there are times that it can’t do that and it then makes troubleshooting and restarting after you fix the issue a lot harder.

Do yourself a favor and always do a config check after saving changes and before restarting HA.