7 seg led relay always on in logic inputs mode when direct connect to relay
a and b segments both on
The implementation of the relay connects a large resistor between the two terminals (the +5V and the a terminal) when the switch is off. This means that the a terminal is still at +5V even though it can't conduct much current. But in logic input mode, the 7 segment display doesn't need any current. So you could add a pulldown resistor, or don't use logic input mode in the 7 segment display. I could probably add pulldown resistors to the relay.
it is great if you could integrate a pulldown resistor inside, then we don't need to add it. when a relay stand alone, both out endpoint show the color of high voltage, i think this is confusing.