core/homeassistant/components/mqtt
Jan Bouwhuis 5ee383456f
Catch exceptions and add logging when writing states on MQTT entities (#89091)
* Catch exceptions when writing states

* Do not use wrapper for logging and adjust tests

* Catch logging directly on async_write_ha_state()

* Update homeassistant/components/mqtt/models.py

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

* Fix test

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-06 15:34:47 +01:00
..
light
vacuum
__init__.py Clean up unused and deprecated TLS version setting on MQTT client (#88674) 2023-03-01 18:42:34 +01:00
abbreviations.py
alarm_control_panel.py Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
binary_sensor.py
button.py
camera.py
client.py Catch exceptions and add logging when writing states on MQTT entities (#89091) 2023-03-06 15:34:47 +01:00
climate.py
config.py
config_flow.py Replace deprecated SSLContext constant PROTOCOL_TLS in mqtt (#88214) 2023-02-16 13:01:28 -05:00
config_integration.py Clean up unused and deprecated TLS version setting on MQTT client (#88674) 2023-03-01 18:42:34 +01:00
const.py Clean up unused and deprecated TLS version setting on MQTT client (#88674) 2023-03-01 18:42:34 +01:00
cover.py
debug_info.py
device_automation.py
device_tracker.py
device_trigger.py
diagnostics.py
discovery.py
fan.py
humidifier.py
lock.py
manifest.json
mixins.py
models.py Catch exceptions and add logging when writing states on MQTT entities (#89091) 2023-03-06 15:34:47 +01:00
number.py
scene.py
select.py
sensor.py Raise ValueError on date parsing of MQTT sensor with invalid date format (#89036) 2023-03-05 17:06:48 +01:00
services.yaml
siren.py
strings.json
subscription.py
switch.py
tag.py
text.py
trigger.py
update.py
util.py