Jeedom integration

I was looking for something about calling Jeedom from HA. My Jeedom control all my Zwave automation. No single topic about it in these forum pages…
Jeedom is capable to be call with API or simple URL… So trying RESTful Command with no success, I discover HA is able also to do basic HTTP call with “switch” and command line. Fighting with quotes, I finaly could send command to jeedom and get status. Jeedom return minimal data, so perfect to avoid parsing answers. I can switch on/off my pump, get status ans also get power usage as “sensor”.

Enjoy below exemple… (french text…)

  - switch:
      unique_id: thx113856
      name: "Piscine pompe"
      command_on: 'curl ""'
      command_off: 'curl ""'
      command_state: 'curl ""'
      scan_interval: 6
      value_template: "{{ value_json == 1 }}"
  - sensor:
      unique_id: thx113869
      name: PowerPoolPump
      command: 'curl ""'