Hi,
I have added the following code to configuration.yaml to create a “dummy sensor” which I want to use to display the status of a NodeRED flow in Lovelace. There are two options in the input_select: Aan and Uit.
sensor:
- platform: template
sensors:
aanwezigheidssimulatie_status:
value_template: '{{ states.input_select.aanwezigheidssimulatie_status.state}}'
input_select:
aanwezigheidssimulatie_status:
name: Status Aanwezigheidssimulatie
options:
- Uit
- Aan
initial: Uit
The sensor is displayed correctly in Lovelace. However it is not possible to change the status of the sensor in NodeRED. This is the current configuration of the Call Service Node in NodeRED:
I don’t receive an error when the Call Service Node is triggered. The status is not changed at all. Can you please help me? Thanks in advance.