core/tests/components/mqtt
Jan Bouwhuis ed1c2ea2b8
Move manual configuration of MQTT fan and light to the integration key (#71676)
* Processing yaml config through entry setup

* Setup all platforms

* Update homeassistant/components/mqtt/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* adjust mock_mqtt - reference config from cache

* Fix test config entry override

* Add tests yaml setup

* additional tests

* Introduce PLATFORM_SCHEMA_MODERN

* recover temporary MQTT_BASE_PLATFORM_SCHEMA

* Allow extra key in light base schema, restore test

* Fix test for exception on platform key

* One deprecation message per platform

* Remove deprecation checks from modern schema

* Update homeassistant/components/mqtt/fan.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/fan.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/light/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/light/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/light/schema_json.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/light/schema_template.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/mixins.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* rename validate_modern_schema

* Do not fail platform if a single config is broken

* Update homeassistant/components/mqtt/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Fix tests on asserting log

* Update log. Make helper transparant, remove patch

* Perform parallel processing

* Update tests/components/mqtt/test_init.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/mqtt/mixins.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* black

* Fix tests and add #new_format anchor

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-19 15:04:53 +02:00
..
__init__.py
conftest.py
test_alarm_control_panel.py
test_binary_sensor.py
test_button.py
test_camera.py Add optional base64 decoding of mqtt camera image (#71223) 2022-05-09 21:40:15 +02:00
test_climate.py Use climate enums in mqtt (#70696) 2022-05-09 08:15:11 +02:00
test_common.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
test_config_flow.py
test_cover.py
test_device_tracker.py
test_device_tracker_discovery.py
test_device_trigger.py Mark device triggers from hidden or auxiliary entities as secondary (#70335) 2022-04-21 08:01:32 +02:00
test_diagnostics.py
test_discovery.py Use helper for testing an event change (#71579) 2022-05-09 11:52:08 +02:00
test_fan.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
test_humidifier.py
test_init.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
test_legacy_vacuum.py Use VacuumEntityFeature in mqtt (#70570) 2022-04-25 11:34:06 +02:00
test_light.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
test_light_json.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
test_light_template.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
test_lock.py
test_number.py
test_scene.py
test_select.py
test_sensor.py
test_siren.py
test_state_vacuum.py
test_subscription.py
test_switch.py
test_tag.py
test_trigger.py