Best way to display open/closed for doors and windows

And here’s another way…if your sensor transmits Boolean values, use a State Timeline like this: