I am new to Node Red, and have watched several videos but I still can't figure out the question below.
In HA I have a Boolean input ON/OFF
if it is on I want to use scheme 1 and if it is off scheme 2.
A lamp must light up when scheme 1 is on, so not only with a trigger from off to on in a scheme, but also when scheme 1 is on.
When the boolean switches, the current status of scheme 2 must be taken over immediately.
If 1 of the 2 schemes is on, 1 lamp must go on and the other must go off.
Who can help me with this?
Welcome to the forum
I have changed the category of your post, as it is not related to developing a node red node.
I also added the home assistant tag.
Unfortunately I do not use HA, nor do most of the people here.
You may get lucky, now that your post is tagged for HA, but you may be better off asking on the HA forums.