-
- Downloads
Rework MQTT config merging and adding defaults (#90529)
* Cleanup config merging and adding defaults * Optimize and update tests * Do not mix entry and yaml config * Make sure hass.data is initilized * remove check on get_mqtt_data * Tweaks to MQTT client * Remove None assigment mqtt client and fix mock
Showing
- homeassistant/components/mqtt/__init__.py 22 additions, 89 deletionshomeassistant/components/mqtt/__init__.py
- homeassistant/components/mqtt/client.py 16 additions, 12 deletionshomeassistant/components/mqtt/client.py
- homeassistant/components/mqtt/config_integration.py 14 additions, 45 deletionshomeassistant/components/mqtt/config_integration.py
- homeassistant/components/mqtt/mixins.py 0 additions, 1 deletionhomeassistant/components/mqtt/mixins.py
- homeassistant/components/mqtt/models.py 2 additions, 2 deletionshomeassistant/components/mqtt/models.py
- homeassistant/components/mqtt/util.py 1 addition, 4 deletionshomeassistant/components/mqtt/util.py
- tests/components/mqtt/test_config_flow.py 2 additions, 6 deletionstests/components/mqtt/test_config_flow.py
- tests/components/mqtt/test_diagnostics.py 3 additions, 0 deletionstests/components/mqtt/test_diagnostics.py
- tests/components/mqtt/test_init.py 15 additions, 20 deletionstests/components/mqtt/test_init.py
- tests/conftest.py 2 additions, 1 deletiontests/conftest.py
Loading
Please register or sign in to comment