Hi guys,
I am trying to to build a home automation system using a pi3, broadlink mini and iffft.
I managed to implement on/off functions for the TV but now i trying to build a sequence of commands in order to action multiple devices.
For this i wrote the following lines in the configuration.yaml:
In order to test i am using the following curl command:
curl -X POST -H “Content-Type: application/json” -d ‘{“entity_id”: “script.cinema”}’ http://myip:8123/api/services/script/cinema
Nothing is happening and in the logs I have the following line:
2017-11-11 18:06:22 WARNING (MainThread) [homeassistant.core] Unable to find service script/cinema
Ok. Do you have the script listed on your dev-page? The left one of the bottom icons (seems like a remote button). On the dropdown menu, select “Script” and there has to appear on the second dropdown menu.
Silly question. Have you rebooted HA after adding the script part to your configuratiom.yaml?
Also, can you post your script part of the config? Don’t you see any error when loading HA?
@danichispa
Hey dude…i finally solved it after reading more carefuly the configuration.yaml I noticed that there is a inclusion of the script.yaml.
So i edited the script.yaml file and I added