Despite the infos found, haven’t found infos to solve my issue.
I have a MQTT input_select command topic:
mqtt:
select:
- command_topic: "evcc/loadpoints/1/mode/set"
name: evcc_gg_mode
unique_id: evcc_gg_mode_select
icon: mdi:tune-variant
state_topic: "evcc/loadpoints/1/mode"
value_template: >
{% if value == 'off' %}
Off
{% elif value == 'pv' %}
Solo solare
{% elif value == 'minpv' %}
Min. + solare
{% else %}
A manetta
{% endif %}
command_template: >
{% if value == 'Off' %}
off
{% elif value == 'Solo solare' %}
pv
{% elif value == 'Min. + solare' %}
minpv
{% else %}
now
{% endif %}
options:
- "Off"
- "Solo solare"
- "Min. + solare"
- "A manetta"
And a script with multiple actions, one of those:
service: input_select.select_option
data:
option: Solo solare
target:
entity_id: select.evcc_gg_mode
alias: Imposta Modalità Ricarica PV
No errors when it is executed, but the value does not change.
The script is made via UI, and I’ve noticed also that HA tells me “No entity found”, if i try to build the script action via the ui:
If i manually edit the yaml:
in entities list:
I’m going crazy. i’ve tried with brackets, with original values (pv, minpv etc), other shyntax who don’t give errors, but still doesn’t work.
Here the (un)successful trace relative to submitted config:
where i am wrong?