I have a binary sensor on the garage door for when it is shut (A) and another binary sensor for when it is open(B).
Therefore:
if A is closed and B is open => garage door is closed
if B is closed and A is open => garage door is open
if A and B are both open => garage door is mid way
if A and B are both closed = > we have a problem!
Can I please have help with the best way to configure this to simply show (in Lovelace) if the Garage door is open, closed, mid way or problem.