I have previously used, without problems, Sonoff SNZB-04 (no P suffix) door window switches with ZHA and a SkyConnect dongle.
I bought some SNZB-04P devices and they have a tamper switch in addition to the magnetic sensor. They show up in HA via ZHA with two identically-named open/close entities. One opens and closes based on the state of the magnetic sensor but the second does not change state and it does not seem that the tamper switch causes any change in the log.
It seems to me that the two switches should have different names and the second one should reflect the state of the tamper switch (plunger).
Has anyone else experienced anything like this?