Jsonrest custom component - Platform not found

Is anyone using @sti0’s jsonrest custom component? I have tried setting it up for the first time, running 0.97.2, but I’m getting a “platform not found” error. Here’s the error in dev-info:

Platform not found: sensor.jsonrest
6:36 PM components/hassio/__init__.py (ERROR)
You are using a custom integration for jsonrest which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
6:36 PM loader.py (WARNING)

I’ve put jsonrest.py in config/custom_components/jsonrest together with a manifest.json file that looks like this:

{
  "domain": "jsonrest",
  "name": "jsonrest",
  "documentation": "https://github.com/mad-ady/home-assistant-customizations/tree/master/custom_components/sensor",
  "dependencies": ["sensor"],
  "codeowners": [],
  "requirements": []
}

I also tried with null dependencies.

Here’s one of the sensors I’d like to use it with.

sensor:
  - platform: jsonrest
    name: LinkTap Status
    verify_ssl: true
    scan_interval: 360
    resource: https://www.link-tap.com/api/getAllDevices
    method: POST
    payload: '{"username": "xxx", "apiKey": "xxx"}'

Any suggestions? I wonder if I’m doing something wrong in configuring this custom component after the Great Migration.

Hi,
this custom component is deprecated. Just use the built-in rest sensor component.

BR
sti0

OK, thanks. I was hoping that jsonrest would let me use values below the top level of an an array as attributes. Testing another way of doing that now.