hass-core/homeassistant/components/mqtt
Jan Bouwhuis 8aa30cce26
Fix state saving when sharing topics for MQTT entities ()
* Do not write old state sharing availability topic

* Add a test

* Support for all availability topics

* delay async_write_ha_state till last callback

* Process write req after processing callback jobs

* Do not count subscription callbacks

* Simplify

* Stale docsting

* No topic needed for delays state write

* No need to clear when reloading

* Move test to test_mixins.py

* Only set up sensor platform for test
2022-10-11 10:49:54 +02:00
..
device_tracker Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
light Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
translations [ci skip] Translation update 2022-09-18 00:29:50 +00:00
vacuum Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
__init__.py Update pyupgrade to 3.1.0 () 2022-10-11 09:04:52 +02:00
abbreviations.py Support configuring the mode of MQTT number entities () 2022-08-30 12:47:35 +02:00
alarm_control_panel.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
binary_sensor.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
button.py Link manually added MQTT entities the the MQTT config entry () 2022-09-18 12:55:31 -04:00
camera.py Link manually added MQTT entities the the MQTT config entry () 2022-09-18 12:55:31 -04:00
client.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
climate.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
config.py
config_flow.py Correct use of ConfigType in MQTT config flow code () 2022-10-09 14:41:30 +02:00
config_integration.py
const.py De-duplicate MQTT config_flow code () 2022-10-07 10:12:19 +02:00
cover.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
debug_info.py Move MQTT debug_info to dataclass () 2022-09-23 20:55:29 +02:00
device_automation.py
device_trigger.py Add MqttData helper to mqtt () 2022-09-20 19:40:06 +02:00
diagnostics.py Add MqttData helper to mqtt () 2022-09-20 19:40:06 +02:00
discovery.py Process abbreviated availability options in mqtt discovery payload () 2022-10-08 15:36:49 +02:00
fan.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
humidifier.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
lock.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
manifest.json
mixins.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
models.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
number.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
scene.py Link manually added MQTT entities the the MQTT config entry () 2022-09-18 12:55:31 -04:00
select.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
sensor.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
services.yaml
siren.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
strings.json Add repair for deprecated MQTT yaml config () 2022-08-25 13:30:05 +02:00
subscription.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
switch.py Fix state saving when sharing topics for MQTT entities () 2022-10-11 10:49:54 +02:00
tag.py Move MQTT discovery hass.data globals to dataclass () 2022-09-28 14:13:44 +02:00
trigger.py Use TriggerActionType [core, l-m] () 2022-08-15 17:39:55 +02:00
util.py Add MqttData helper to mqtt () 2022-09-20 19:40:06 +02:00