read status from url

Hi guys
I’m new and I’m slowly learning to use home assistant.
I’m not an expert

I wanted to know, if HASS can read (through URL) the status of some devices on a web server and display them in HASS.

example:
http: //192.xxxxxxx/statusxxxxx

answer:
{
“life”: 0,
“domus”: “000000000000”,
“status”: [0,0,1,1,0,1,1,0,0,0,0,1,0,1,1],
}

and display on HASS (for example with lamp icons)
the status of the devices

lamp 1 = off
lamp 2 = off
lamp 3 = on
lamp 4 = on
…etc…
.
.
lamp 15 = on

Thank you very much
sorry for my English

Yes, you should be able to do this with the RESTful Sensor and Template Binary Sensor. E.g.:

sensor:
  - platform: rest
    name: Lights
    resource: http://192.xxxxxxx/statusxxxxx…
    value_template: NA
    json_attributes:
      - status
binary_sensor:
  - platform: template
    sensors:
      lamp_1:
        friendly_name: Lamp 1
        value_template: "{{ state_attr('sensor.lights', 'status')[0] == 1 }}"
        device_class: light
      lamp_2:
        friendly_name: Lamp 2
        value_template: "{{ state_attr('sensor.lights', 'status')[1] == 1 }}"
        device_class: light

etc.