HA not able to find or run Curl command?

By that if you mean multiple definitions of “sensor” the answer is no…

but entries yes - this is how the sensor.yaml file looks:

  - platform: command_line
    command: echo "20"
    unit_of_measurement: "°C"
    scan_interval: 60
    name: "Outside Temperature"
  - platform: command_line
    command: "curl -s http://x.x.x.x/api/xdevices.json?Get=XTHL | grep THL1-LUM | cut -d : -f 2 | cut -d , -f 1 |  tr -d [:space:]"
    unit_of_measurement: "lux"
    scan_interval: 60
    name: "Outside Luminosity"    
  - platform: command_line
    command: "curl -s http://x.x.x.x/api/xdevices.json?Get=XTHL | grep THL1-HUM | cut -d : -f 2 | cut -d , -f 1 |  tr -d [:space:]"
    unit_of_measurement: "%"
    scan_interval: 60
    name: "Outside Humidity"    
  - platform: command_line
    command: "curl -s http://x.x.x.x/api/xdevices.json?Get=XTHL | grep THL2-LUM | cut -d : -f 2 | cut -d , -f 1 |  tr -d [:space:]"
    unit_of_measurement: "lux"
    scan_interval: 60
    name: "Kitchen Luminosity"    
  - platform: command_line
    command: "curl -s http://x.x.x.x/api/xdevices.json?Get=XTHL | grep THL2-HUM | cut -d : -f 2 | cut -d , -f 1 |  tr -d [:space:]"
    unit_of_measurement: "%"
    scan_interval: 60
    name: "Kitchen Humidity"    
  - platform: command_line
    command: "curl -s http://x.x.x.x/api/xdevices.json?Get=XTHL | grep THL3-LUM | cut -d : -f 2 | cut -d , -f 1 |  tr -d [:space:]"
    unit_of_measurement: "lux"
    scan_interval: 60
    name: "Living Room Luminosity"    
  - platform: command_line
    command: "curl -s http://x.x.x.x/api/xdevices.json?Get=XTHL | grep THL3-HUM | cut -d : -f 2 | cut -d , -f 1 |  tr -d [:space:]"
    unit_of_measurement: "%"
    scan_interval: 60
    name: "Living Room Humidity"  

It’s a similar thing with the switches - switch.yaml looks like this:

    platform: command_line
    switches:
      garden_wall_lights:
        command_on: curl -s http://x.x.x.x/api/xdevices.json?SetR=12
        command_off: curl -s http://x.x.x.x/api/xdevices.json?ClearR=12
        command_state: "bash /config/shell/garden_wall_lights"
        value_template: '{{ value == "1" }}'
      garden_main_lights:
        command_on: curl -s http://x.x.x.x/api/xdevices.json?SetR=11
        command_off: curl -s http://x.x.x.x/api/xdevices.json?ClearR=11
        command_state: "curl -s http://x.x.x.x/api/xdevices.json?Get=R |grep R11 |cut -d : -f 2 | cut -b 2"
        value_template: '{{ value == "1" }}' 
      porch_light:
        command_on: curl -s http://x.x.x.x/api/xdevices.json?SetR=10
        command_off: curl -s http://x.x.x.x/api/xdevices.json?ClearR=10
        command_state: "curl -s http://x.x.x.x/api/xdevices.json?Get=R |grep R10 |cut -d : -f 2 | cut -b 2"
        value_template: '{{ value == "1" }}'   

This is just a small snippet as there are quite a few entries like these…

switch.yaml is 632 lines long!

sensor.yaml is 1842 lines long!

Could you give a sample of what curl -s http://x.x.x.x/api/xdevices.json?Get=R returns

It outputs all the relay numbers and states within the IPX controller:

homeassistant:/config# curl -s http://x.x.x.x/api/xdevices.json?Get=R
{
    "product": "IPX800_V4",
    "status": "Success",
    "R1": 1,
    "R2": 0,
    "R3": 0,
    "R4": 0,
    "R5": 0,
    "R6": 0,
    "R7": 1,
    "R8": 1,
    "R9": 0,
    "R10": 0,
    "R11": 0,
    "R12": 0,
    "R13": 0,
    "R14": 0,
    "R15": 0,
    "R16": 0,
    "R17": 0,
    "R18": 0,
    "R19": 0,
    "R20": 0,
    "R21": 0,
    "R22": 1,
    "R23": 0,
    "R24": 0,
    "R25": 0,
    "R26": 0,
    "R27": 0,
    "R28": 0,
    "R29": 0,
    "R30": 0,
    "R31": 0,
    "R32": 0,
    "R33": 0,
    "R34": 0,
    "R35": 0,
    "R36": 0,
    "R37": 0,
    "R38": 0,
    "R39": 0,
    "R40": 0,
    "R41": 0,
    "R42": 0,
    "R43": 0,
    "R44": 0,
    "R45": 0,
    "R46": 0,
    "R47": 0,
    "R48": 0,
    "R49": 0,
    "R50": 0,
    "R51": 0,
    "R52": 0,
    "R53": 0,
    "R54": 0,
    "R55": 0,
    "R56": 0