@RandomHassUser wrote:
If I create an intermediate hass script that calls a python_script, the lovelace ui will allow me to call it via call-service, for example:
tap_action: action: call-service service: script.hass_script_intermediary
Is there a way I can call the python_script directly from lovelace? Lovelace doesn’t seem to show or allow them under entities.
Being able to call python_scripts directly would save a lot of time not having to create intermediary scripts for each python call. This example below will not work:
tap_action: action: call-service service: python_script.endpoint action: [payload]
Is there a different action to call a python_script, or does this functionality not exist in lovelace?
Posts: 3
Participants: 2