core/homeassistant/components/mqtt/light
Jan Bouwhuis 8aa30cce26
Fix state saving when sharing topics for MQTT entities (#79421)
* 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
..
__init__.py Link manually added MQTT entities the the MQTT config entry (#78547) 2022-09-18 12:55:31 -04:00
schema.py
schema_basic.py Fix state saving when sharing topics for MQTT entities (#79421) 2022-10-11 10:49:54 +02:00
schema_json.py Fix state saving when sharing topics for MQTT entities (#79421) 2022-10-11 10:49:54 +02:00
schema_template.py Fix state saving when sharing topics for MQTT entities (#79421) 2022-10-11 10:49:54 +02:00