eWeLink Smart Home Door sensor is open or closed.

If Security is turned on, then turn on Bedroom LED

Connect

Start LED once door opens