Rest_command - unable to use (need help with config)

Hi to all,

i trying to use rest_command

  1. i added the rest_command: !include config/rest.yaml in my configuration.yaml
  2. create new file config/rest.yaml
  3. the file include the following:

The issue:

  1. when i trying to use service to call rest, i didnt find any …
  2. my config is good?

Change that to:

rest_command: !include rest.yaml

all my files are under config

Hmm. For comparison, all my configuration files are in /home/ha/docker/homeassistant so when I refer to them within the config file they look like this:

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
rest_command: !include rest.yaml

In order to assist you:

  • I created rest.yaml, containing two rest commands, in the same directory as all other *.yaml files.
    url: ''
    url: ''
  • Added rest_command: !include rest.yaml to the config file.
  • Restarted Home Assistant
  • The two rest commands appear in the Services list.


I’m not sure why this doesn’t work for you.