OpenWeather API error when trying to automate

UPDATE: I used a YAML validator to discover that I had used sensor: before and you can only use it once and have to have them all below that. Problem solved. IT WORKED!

So I put this in my configuration.yaml; the API key and lat/long have been changed to protect the guilty. I should be able to go into Developer Tools, States and see the state of this sensor, but it’s not there. I have rebooted and reloaded and it’s not that. I have a registered API key that will reply correctly if I just paste the API request in my browser as a URL. Any idea what I am doing wrong?

sensor: