Hi, I’d ilke to create a “window open” sensor that is “on” when a value from a tilt sensor crosses certain threshold (for example, sensor.window_open=on when sensor.tilt_y > 0).
How do I do that? I could probably do it with two automations but that’s inelegant. Thank you!