hass-core/homeassistant/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
..
device_tracker Fix race when handling updated MQTT discovery data (#65415) 2022-02-02 17:12:22 -08:00
light Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
translations [ci skip] Translation update 2022-03-13 00:18:58 +00:00
vacuum Use VacuumEntityFeature in mqtt (#70570) 2022-04-25 11:34:06 +02:00
__init__.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
abbreviations.py Revert "Add MQTT notify platform (#64728)" (#68505) 2022-03-22 12:51:24 +01:00
alarm_control_panel.py Replace Alarm Control Panel FORMAT_ constants with CodeFormat enum (#69861) 2022-04-18 19:37:32 +02:00
binary_sensor.py Fix race when handling rapid succession of MQTT discovery messages (#68785) 2022-03-29 20:26:11 -07:00
button.py Drop MQTT import flow (#66160) 2022-02-10 21:09:57 +01:00
camera.py Add optional base64 decoding of mqtt camera image (#71223) 2022-05-09 21:40:15 +02:00
climate.py Use HVACAction in mqtt (#71726) 2022-05-12 14:12:21 +02:00
config_flow.py Correct local import of paho-mqtt (#67944) 2022-03-10 10:32:49 +01:00
const.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
cover.py Use EntityFeature enum in mqtt (#69416) 2022-04-07 09:44:26 +02:00
debug_info.py Add MQTT diagnostics (#66730) 2022-02-18 09:28:49 +01:00
device_automation.py Improve MQTT device removal (#66766) 2022-02-18 13:45:25 +01:00
device_trigger.py Refactor MQTT discovery (#67966) 2022-04-15 12:35:08 +02:00
diagnostics.py Add MQTT diagnostics (#66730) 2022-02-18 09:28:49 +01:00
discovery.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
fan.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
humidifier.py Use EntityFeature enum in mqtt (#69416) 2022-04-07 09:44:26 +02:00
lock.py Use EntityFeature enum in mqtt (#69416) 2022-04-07 09:44:26 +02:00
manifest.json
mixins.py Move manual configuration of MQTT fan and light to the integration key (#71676) 2022-05-19 15:04:53 +02:00
models.py Refactor MQTT discovery (#67966) 2022-04-15 12:35:08 +02:00
number.py Drop MQTT import flow (#66160) 2022-02-10 21:09:57 +01:00
scene.py Refactor MQTT scene to inherit MqttEntity (#68883) 2022-03-30 15:46:45 +02:00
select.py Drop MQTT import flow (#66160) 2022-02-10 21:09:57 +01:00
sensor.py Fix race when handling rapid succession of MQTT discovery messages (#68785) 2022-03-29 20:26:11 -07:00
services.yaml Prettify yaml (services.yaml) (#68878) 2022-03-30 09:48:06 +02:00
siren.py Use SirenEntityFeature enum in mqtt (#69647) 2022-04-08 10:37:12 +02:00
strings.json
subscription.py Fix race when handling updated MQTT discovery data (#65415) 2022-02-02 17:12:22 -08:00
switch.py Remove energy usage from the switch base class (#68821) 2022-03-28 18:56:04 -10:00
tag.py Refactor MQTT discovery (#67966) 2022-04-15 12:35:08 +02:00
trigger.py
util.py Reject MQTT topics which include control- or non-characters (#71263) 2022-05-03 12:19:43 -07:00