Jan Bouwhuis
7d9014ae41
Do not fail MQTT setup if events or sensors configured via yaml can't be validated ( #102309 )
...
* Add event and sensor
* Cleanup unused code
* Schema cannot be None for supported platform
2023-10-20 12:09:52 +02:00
Jan Bouwhuis
1efbba2631
Do not fail MQTT setup if covers configured via yaml can't be validated ( #102304 )
...
Add cover
2023-10-20 10:51:42 +02:00
Jan Bouwhuis
12c4a10cfc
Do not fail MQTT setup if numbers configured via yaml can't be validated ( #102316 )
...
Add number
2023-10-20 10:51:14 +02:00
Jan Bouwhuis
f1eb28b7ac
Do not fail MQTT setup if update entities configured via yaml can't be validated ( #102324 )
2023-10-20 10:14:25 +02:00
Jan Bouwhuis
c7b1e4186b
Do not fail MQTT setup if water heaters configured via yaml can't be validated ( #102326 )
2023-10-20 08:15:09 +02:00
Jan Bouwhuis
04fdcbe5fa
Do not fail MQTT setup if buttons configured via yaml can't be validated ( #102301 )
2023-10-20 08:13:59 +02:00
Jan Bouwhuis
dcdd4b470c
Do not fail MQTT setup if lawn mowers configured via yaml can't be validated ( #102314 )
2023-10-20 08:11:33 +02:00
Jan Bouwhuis
5264cdf382
Do not fail MQTT setup if locks configured via yaml can't be validated ( #102315 )
...
Add lock
2023-10-20 01:13:35 +02:00
Jan Bouwhuis
f4e7c5aed3
Do not fail MQTT setup if humidifiers configured via yaml can't be validated ( #102312 )
...
Add humidifier
2023-10-19 23:29:49 +02:00
Jan Bouwhuis
ec1b3fe6fb
Do not fail MQTT setup if switches configured via yaml can't be validated ( #102320 )
...
Add switch
2023-10-19 23:04:35 +02:00
Jan Bouwhuis
54c80491e3
Do not fail MQTT setup if select's configured via yaml can't be validated ( #102318 )
...
Add select
2023-10-19 22:10:45 +02:00
Jan Bouwhuis
e26a2596af
Do not fail MQTT setup if climate's configured via yaml can't be validated ( #102303 )
...
Add climate
2023-10-19 21:14:45 +02:00
Jan Bouwhuis
22c21fdc18
Do not fail MQTT setup if vacuum's configured via yaml can't be validated ( #102325 )
...
Add vacuum
2023-10-19 20:11:09 +02:00
Jan Bouwhuis
5eb0a33795
Do not fail MQTT setup if text's configured via yaml can't be validated ( #102322 )
...
Add text
2023-10-19 18:51:47 +02:00
Jan Bouwhuis
1456809f6a
Do not fail MQTT setup if sirens configured via yaml can't be validated ( #102319 )
...
Add siren
2023-10-19 18:50:50 +02:00
Jan Bouwhuis
d0341c9754
Do not fail MQTT setup if images configured via yaml can't be validated ( #102313 )
...
Add image
2023-10-19 18:50:02 +02:00
Jan Bouwhuis
3853214496
Do not fail MQTT setup if fans configured via yaml can't be validated ( #102310 )
...
Add fan
2023-10-19 18:48:35 +02:00
Jan Bouwhuis
615b02be59
Do not fail MQTT setup if scenes configured via yaml can't be validated ( #102317 )
...
Add scene
2023-10-19 18:27:04 +02:00
Jan Bouwhuis
3a4341dbeb
Do not fail MQTT setup if device trackers configured via yaml can't be validated ( #102308 )
...
Add device_tracker
2023-10-19 18:18:04 +02:00
Jan Bouwhuis
fb984b5218
Do not fail MQTT setup if camera's configured via yaml can't be validated ( #102302 )
...
Add camera
2023-10-19 18:17:06 +02:00
Jan Bouwhuis
651b725cc0
Do not fail MQTT setup if binary sensors configured via yaml can't be validated ( #102300 )
...
Add binary_sensor
2023-10-19 18:15:21 +02:00
Jan Bouwhuis
d149bffb07
Do not fail MQTT setup if lights configured via yaml can't be validated ( #101649 )
...
* Add light
* Deduplicate code
* Follow up comment
2023-10-19 17:34:43 +02:00
Jan Bouwhuis
c377cf1ce0
Do not fail mqtt entry on single platform config schema error ( #101373 )
...
* Do not fail mqtt entry on platform config
* Raise on reload with invalid config
* Do not store issues
* Follow up
2023-10-19 12:06:33 +02:00
Jan Bouwhuis
49897341ba
Add lawn_mower platform to MQTT ( #98831 )
...
* Add MQTT lawn_mower platform
* Use separate command topics and templates
* Remove unrelated change
2023-08-25 17:56:22 +02:00
Jan Bouwhuis
1b8e03bb66
Add MQTT event entity platform ( #96876 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-23 14:42:14 +02:00
Jan Bouwhuis
7c22225cd1
Allow ADR 0007 compliant schema for mqtt ( #94305 )
...
* Enforce listed entities in MQTT yaml config
* Add tests for setup with listed items
* Fix test
* Remove validator add comment
* Update homeassistant/components/mqtt/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-07-18 14:29:45 +02:00
Jan Bouwhuis
1029bcbbd3
Add mqtt image platform ( #94769 )
...
* Add mqtt image platform
* Follow up comments
* Use separate topics
* Set last_ image to `None` on error
* Fix encoding and schema validation
* Assing None to last_image when get image fails
* Follow up comment
* Remove content_type validation
* Add validation
* Rename options according suggestions
* Remove url_topic / template feature from PR
* Always set content_type
2023-06-26 14:42:24 +02:00
hookedonunix
18cbc9b4c3
Add Water Heater platform to MQTT integration ( #93644 )
...
* Add Water Heater entity to MQTT
* Adding tests for Water Heater
* Remove duplicate line and unneeded var declaration
* Remove target temp range and away mode
* Move common Temperature Control conf to const
* Remove unnecessary platform schema and temp check
* Add common value template key test
* Use MqttTemperatureControl in Water Heater
* Move operation mode out of MqttTemperatureControl
* Remove unecessary attribute declaration
* Remove default min/max temp and auto init attr
* Fix mqtt water heater initial temp conversion
* Make async_set_temperature common
* Fix init temp comment
* Merge value_template_keys into get_with_templates
* Remove unnecessary operation_mode overriding
* Add async_set_temperature to water heater
* Fix docstring comments
2023-06-08 17:38:30 +02:00
Jan Bouwhuis
aa68d1d617
Cleanup mqtt CONFIG_SCHEMA_ENTRY ( #90791 )
2023-04-11 17:41:38 +02:00
Jan Bouwhuis
4a0d3e881a
Rework MQTT config merging and adding defaults ( #90529 )
...
* Cleanup config merging and adding defaults
* Optimize and update tests
* Do not mix entry and yaml config
* Make sure hass.data is initilized
* remove check on get_mqtt_data
* Tweaks to MQTT client
* Remove None assigment mqtt client and fix mock
2023-04-04 18:12:18 +02:00
Jan Bouwhuis
ae04c5d773
Clean up unused and deprecated TLS version setting on MQTT client ( #88674 )
...
* Cleanup CONF_TLS_VERSION remains
* Fix diagnostics tests
2023-03-01 18:42:34 +01:00
Franck Nijhof
800b8abe39
Code styling tweaks to the MQTT integration ( #85463 )
2023-01-08 22:07:10 +01:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 ( #84394 )
2022-12-22 13:35:47 +01:00
Jan Bouwhuis
2785b2b52f
Add mqtt text platform ( #82884 )
2022-11-29 20:31:05 +01:00
Jan Bouwhuis
32d68f375b
Add Mqtt WebSockets support ( #82078 )
...
* Add Mqtt WebSockets support
* Fix tests
* Add testing websockets options
* Add tests transport settings
* Do not use templates for ws_headers
* Use json helper - small corrections
2022-11-23 15:03:31 +01:00
Jan Bouwhuis
7500d0c61c
Refactor MQTT_WILL_BIRTH_SCHEMA ( #81879 )
...
* Refactor MQTT_WILL_BIRTH_SCHEMA
* Refactor and move birth/will validation to utils
* Simplify birth will validation
2022-11-10 15:24:56 +01:00
Maciej Bieniek
1f0cb73ad0
Add update
platform to MQTT integration ( #80659 )
2022-10-24 11:47:45 +02:00
Jan Bouwhuis
5e7f571f01
Move advanced MQTT options to entry ( #79351 )
...
* Move advanced broker settings to entry
* Add repair issue for deprecated settings
* Split CONFIG_SCHEMA
* Do not store certificate UI flags in entry
* Keep entered password in next dialog
* Do not process yaml config in flow
* Correct typo
2022-10-24 09:58:23 +02:00
Jan Bouwhuis
57daeaa174
Fix MQTT config schema to ensure correct validation ( #73619 )
...
* Ensure config schema validation
* Use correct schema for device_tracker
* Remove schema validation from the platform setup
* Remove loop to build schema
2022-06-20 08:51:12 +02:00