Skip to content

Node Red integration #120

Answered by Kungkarl86
Kungkarl86 asked this question in Q&A

You must be logged in to vote

Thanks for your reply Dylan09.

I watched some videos online on other subjects and found a work around.
For anyone trying to do the same thing this was my approach Stop / discharge/ charge since it's 3 options from the automation.

use a normal inject and add a call service.

Domain: input_select
Service: select_option (if there is only 2 values to choose from you can use first or last)
Entity: "Battery forced charge discharge cmd"
Data: {"option":"Forced discharge"} (here is how i choose an option from the list)

the list is from automationscript in the yaml snipped below:

          value: >
            {% if is_state('input_select.set_sg_battery_forced_charge_discharge_cmd', 'Stop (default)…

Replies: 2 comments

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies
Answer selected by Kungkarl86
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