core/tests/components/mqtt
Jan Bouwhuis 0bcda9fe9c
Make sure MQTT client is available when starting depending platforms (#91164)
* Make sure MQTT is available starting mqtt_json

* Wait for mqtt client

* Sync client connect

* Simplify

* Addiitional tests async_wait_for_mqtt_client

* Improve comment waiting for mqtt

* Improve docstr

* Do not wait unless the MQTT client is in setup

* Handle entry errors during setup

* More comments - do not clear event

* Add snips and mqtt_room

* Add manual_mqtt

* Update homeassistant/components/mqtt/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Use a fixture, improve tests

* Simplify

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-20 08:07:35 +02:00
..
__init__.py
conftest.py Fix typo in docstr (#89804) 2023-03-16 16:54:26 +01:00
test_alarm_control_panel.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_binary_sensor.py Allow None device_class and UOM for mqtt entities (#91240) 2023-04-12 19:14:16 +02:00
test_button.py Allow None device_class and UOM for mqtt entities (#91240) 2023-04-12 19:14:16 +02:00
test_camera.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_climate.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_common.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_config_flow.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_cover.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_device_tracker.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_device_trigger.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_diagnostics.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_discovery.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_fan.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_humidifier.py Allow None device_class and UOM for mqtt entities (#91240) 2023-04-12 19:14:16 +02:00
test_init.py Remove check on remove deprecated call back for mqtt subscribe (#91464) 2023-04-18 16:02:24 +02:00
test_legacy_vacuum.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_light.py Do not allow mqtt lights to set brightness to zero (#91296) 2023-04-14 09:01:29 +02:00
test_light_json.py Do not allow mqtt lights to set brightness to zero (#91296) 2023-04-14 09:01:29 +02:00
test_light_template.py Do not allow mqtt lights to set brightness to zero (#91296) 2023-04-14 09:01:29 +02:00
test_lock.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_mixins.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_number.py Allow None device_class and UOM for mqtt entities (#91240) 2023-04-12 19:14:16 +02:00
test_scene.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_select.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_sensor.py Allow None device_class and UOM for mqtt entities (#91240) 2023-04-12 19:14:16 +02:00
test_siren.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_state_vacuum.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_subscription.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_switch.py Allow None device_class and UOM for mqtt entities (#91240) 2023-04-12 19:14:16 +02:00
test_tag.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_text.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_trigger.py Rename MQTT entry mock and cleanup (#91223) 2023-04-12 09:43:03 +02:00
test_update.py Allow None device_class and UOM for mqtt entities (#91240) 2023-04-12 19:14:16 +02:00
test_util.py Make sure MQTT client is available when starting depending platforms (#91164) 2023-04-20 08:07:35 +02:00