Replies: 1 comment
-
**kwargs means that you can pass a dictionary containing any additional arguments you want to the service, and pyscript will pass them on to the service. In theory that means you could add {'domain':'my domain.com'}. The real question is whether the letsencrypt service supports that. You might be able to tell by looking in the developer tools/services section of your home assistant interface. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to call
core_letsencrypt
in a pyscript either by:service.call('hassio', 'addon_start', addon='core_letsencrypt', ...)
hassio.addon_start(addon='core_letsencrypt', ...)
and would like to pass dynamic configuration parameters which are set in the Let's Encrypt addon configuration tab:
The
service.call()
works using what is configured on that tab, but I want to set a domain dynamically by passing the domain into my pyscript. It is not clear to me how to do this reading this doc.Beta Was this translation helpful? Give feedback.
All reactions