The same schema should also be applied for Window / Door binary_sensors that report: Open / Closed (binary_sensors)
As well as for Window / Door sensors that are not binary_sensor and report: Open / Close / Tilted