@cmartens wrote:
Hi,
I want to display the status of a NodeRED flow in Lovelace. So in NodeRED this “dummy switch” will be switched on and off when the flow is running.
To make this happen, I have added the following code to configuration.yaml:
input_boolean: aanwezigheidssimulatie_status: name: Status Aanwezigheidssimulatie initial: off icon: mdi:shield-home
This entity is displayed in Lovelace like a normal switch, like this:
However, I am looking for a solution to display it with “on” and “off”, so that it is not possible to change the status, but that the status is displayed in Lovelace. See the example below which I found on internet:
Does anybody have a solution for this? Thanks in advance for your support!
Posts: 4
Participants: 2