Unable to create sensor in config file

Hello,
I’m trying to create sensor to get a REST API value, so added followwing in config file:

sensor:

But the sensor is not showing up after restart

Anyone an idea what’s missing here?

Many thanks,

Check the Log for errors.

According to the documentation for the RESTful Sensor integration, scan_interval is not shown in its list of configuration variables. Try removing it.

scan_interval is available in the REST Sensor integration (similar integration name but different way to configure it).