I’d like the door sensor state to be reported in the MQTT status stream to help control my add-on chamber lighting.
As-is, my lighting changes color based on status, running/good/bad - I’d like to be able to make the lighting revert to white when the door is open so having that signal available would be very helpful.
From a bit of MQTT capture, I’m seeing that the door state is likely bit 23 of stat, not home_flag – at least with my H2D in LAN mode, with up to date firmware. For example 46A58000 when opened, 46258000 when closed. I’ve opened issue 1421 on the greghesp/ha-bambulab repository. .
I don’t have an X1 - could you check if stat changes for you? If it’s the same for you, that would support fixing the HA integration.