hass-core/tests
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
..
auth Clean up accessing entity_registry.async_get_registry helper via hass (#72005) 2022-05-17 16:40:45 +02:00
backports
components Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
fixtures Prettify json (#68895) 2022-03-30 12:15:04 +02:00
hassfest
helpers Add return code to integration application credentials in config flow (#71986) 2022-05-18 06:30:57 -07:00
pylint Update pylint to 2.13.0 (#68656) 2022-03-25 15:14:48 -07:00
resources
scripts
test_util Play first item in m3u and pls playlists when casting (#70047) 2022-04-26 13:16:37 -07:00
testing_config Stringify enums in selectors (#71441) 2022-05-06 11:25:01 -07:00
util Small cleanups to find_next_time_expression and addition of tests (#71845) 2022-05-14 12:13:32 -07:00
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
bandit.yaml
common.py Make database access in the eventloop raise an exception (#71547) 2022-05-09 15:22:08 -05:00
conftest.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
ignore_uncaught_exceptions.py
test_bootstrap.py Simplify time zone setting in tests (#68330) 2022-03-20 10:25:15 +01:00
test_config.py Simplify time zone setting in tests (#68330) 2022-03-20 10:25:15 +01:00
test_config_entries.py Remove hass.helpers from config_entries (#70660) 2022-04-25 14:21:03 +02:00
test_core.py Use async_capture_events for core tests (#71970) 2022-05-16 18:04:05 -05:00
test_data_entry_flow.py
test_exceptions.py
test_loader.py Allow custom integrations to support application_credentials platform (#71129) 2022-05-01 16:26:22 -07:00
test_main.py
test_requirements.py
test_runner.py
test_setup.py
test_test_fixtures.py