🚪 Fenix Door Sensor Fix (issue #3)
On some Fenix panels (e.g. HARVIA SW90S Combi) none of the dedicated door/safety fields track the door — safetyRelay, doorSafetyState and cutOffRelay all stay pinned at 0 across every off/on × open/close combination.
The only telemetry field that toggles with the door is remoteAllowed in the state feed:
| Door | remoteAllowed
|
|---|---|
| closed | 1
|
| open | 0
|
_map_door_field now falls back to remoteAllowed (inverted) when no dedicated door field and no door-safety field is present. This is a safety-circuit / remote-gating proxy rather than a pure door contact — it may also drop for other remote-gating reasons.
The fallback runs last, so devices that report a real door field are unaffected. The existing binary_sensor.remote_allowed entity is unchanged.
Thanks to @Leinadzet for the structured off/on × open/close matrix that pinned this down. 🙏