hass-core/homeassistant
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 storage.Store helper via hass (#72009) 2022-05-17 18:45:57 +02:00
backports Cleanup after pylint update (#68657) 2022-03-26 00:34:12 +01:00
components Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
generated Add Home Connect application_credentials platform and deprecate configuration.yaml (#71988) 2022-05-17 10:48:31 +02:00
helpers Warn on use of deprecated async_get_registry (#72088) 2022-05-18 12:04:06 -07:00
scripts Clean up accessing event helpers via hass (#72011) 2022-05-17 19:36:29 +02:00
util Small cleanups to find_next_time_expression and addition of tests (#71845) 2022-05-14 12:13:32 -07:00
__init__.py
__main__.py
block_async_io.py
bootstrap.py Revert "Block peer certs on supervisor" (#67104) 2022-02-23 12:32:07 +01:00
config.py Add Show logs URL to integration errors notification (#71142) 2022-05-01 16:14:30 -07:00
config_entries.py Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
const.py Remove entity category system in favor of hidden_by (#68550) 2022-05-02 09:33:16 -07:00
core.py Clean up accessing storage.Store helper via hass (#72009) 2022-05-17 18:45:57 +02:00
data_entry_flow.py Make initial group config flow step a menu (#68565) 2022-03-23 08:34:44 -07:00
exceptions.py
loader.py Allow custom integrations to support application_credentials platform (#71129) 2022-05-01 16:26:22 -07:00
package_constraints.txt Bump frontend to 20220518.0 (#72106) 2022-05-18 13:22:30 -07:00
requirements.py
runner.py Update Mypy to 0.950 (#70948) 2022-04-27 20:49:54 -05:00
setup.py Highlight in logs it is a custom component when setup fails (#67559) 2022-03-03 15:03:03 -08:00
strings.json Add return code to integration application credentials in config flow (#71986) 2022-05-18 06:30:57 -07:00