Hello,
I am trying to run the hello world python_script.
Using the VSCode Addon, I created a folder python_scripts (trailing s) in my configuration folder.
I have added python_script: (no trailing s) to my configuration.yaml
I have added a file in python_scripts:
hello_world.py
name = data.get("name", "world")
logger.info("Hello {} at {}".format(name, time.time()))
I restarted home-assistant.
I go to Link to Developer tools: call service – My Home Assistant
I get an error “Unable to find service python_script.hello_world”
What could be my mistake?
Best Regards,
Hendrik