HA to HE reverse control

My MQTT app will discover , track status and control HA lights, switches and some sensors and other entities using HAStatestream. It requires a couple of automation scripts to be installed on HA as HAStatestream does not natively support control (HE>HA)

The issue is that HA does not support its own MQTT discovery protocol for exposing/exporting its own devices.

You may categorise this as ‘man in the middle’ I suppose.