I came up with my own solution using 2 magnetic reed switches on a D1 mini and HA’s native cover template.