I am experiencing quite an annoying problem. I am trying to add my first REST sensor, and I simply cannot get it to work. My configuration.yaml file looks like this:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
http:
base_url: ......
......
...
...
...
sensor:
- platform: rest
resource: http://192.168.1.100:1234/calendar/GetEvents?take=5
name: Calendar Events
If I try to curl the URL, it works fine. Check configuration: All good. Restarted HA: All good.
If I go to Configuration -> Entities, I cannot find it. I can’t find it under Developer Tools -> States either.
I simply cannot find it anywhere. I don’t have a lot of stuff in my Home Assistant environment, so I would easily be able to spot it under another name, but it’s not there.
I’m also trying to get this to work, tried about everything but doesn’t work.
The entities do not show up, also no errors or any logs around them…
Any luck?
Think I just solved my problem…
Seems you should only have 1 “sensor:” element in configuration.yaml.
If you have multiple of these, your sensors will not show up.
Hope this helps.