To solve deprecation warning:
WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'saj_mqtt' accesses hass.components.mqtt. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from mqtt directly at custom_components/saj_mqtt/sajmqtt.py, line 43: self.mqtt = hass.components.mqtt, please report it to the author of the 'saj_mqtt' custom integration
To solve deprecation warning:
WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'saj_mqtt' accesses hass.components.mqtt. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from mqtt directly at custom_components/saj_mqtt/sajmqtt.py, line 43: self.mqtt = hass.components.mqtt, please report it to the author of the 'saj_mqtt' custom integration