def fire_service_discovered(hass, service, info):
    hass.bus.fire(EVENT_PLATFORM_DISCOVERED, {
        ATTR_SERVICE: service,
        ATTR_DISCOVERED: info
    })
Fire the MQTT message.
dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/fire_service_discovered