Skip to content
Discussion options

You must be logged in to vote

@APop123 are you intending to call it from a script/automation?
Templating can be used in the script e.g. in the following way:

...
sequence:
  - action: solarman.write_single_register
    data:
      device: "{{ inverter_name }}"
      address: "{{ register_address }}"
      value: "{{ desired_register_value }}"
...

Inverter_name, register_addressand desired_register_value are script input fields or variables defined within the script.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidrapan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants