1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-31 04:34:10 +01:00
Files
core/tests/components
Jan Bouwhuis 04f0128a1c Simplify MQTT device triggers in automations (#108309)
* Simplify MQTT device trigger

* Add test non unique trigger_id

* Adjust deprecation warning

* Make discovery_id optional

* refactor double if

* Improve validation, add tests and deprecation comments

* Avoid breaking change

* Inmprove error message

* Match on discovery_id instead of discovery_info

* Revert an unrelated change

* follow up comments

* Add comment and test on device update with non unique trigger

* Update homeassistant/components/mqtt/device_trigger.py

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

* Update homeassistant/components/mqtt/device_trigger.py

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

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-01-30 20:50:39 +01:00
..
2024-01-23 14:49:47 +01:00
2024-01-24 18:56:21 +01:00
2024-01-29 15:08:11 +01:00
2024-01-22 17:24:15 +01:00
2024-01-16 06:39:50 +01:00
2024-01-19 08:46:34 +01:00
2024-01-25 12:55:55 +01:00
2024-01-23 22:08:20 -10:00