Basically HA currently can make connections to other devices but it can not listen for connections from devices. This would be very handy for devices that aren’t capable of using the REST API.
There is a thread about it here but since the feature doesn’t exist it is really a feature request at this point.