* 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> |
||
---|---|---|
.. | ||
light | ||
__init__.py | ||
abbreviations.py | ||
alarm_control_panel.py | ||
binary_sensor.py | ||
button.py | ||
camera.py | ||
client.py | ||
climate.py | ||
config.py | ||
config_flow.py | ||
config_integration.py | ||
const.py | ||
cover.py | ||
debug_info.py | ||
device_automation.py | ||
device_tracker.py | ||
device_trigger.py | ||
diagnostics.py | ||
discovery.py | ||
event.py | ||
fan.py | ||
humidifier.py | ||
image.py | ||
lawn_mower.py | ||
lock.py | ||
manifest.json | ||
mixins.py | ||
models.py | ||
number.py | ||
scene.py | ||
select.py | ||
sensor.py | ||
services.yaml | ||
siren.py | ||
strings.json | ||
subscription.py | ||
switch.py | ||
tag.py | ||
text.py | ||
trigger.py | ||
update.py | ||
util.py | ||
vacuum.py | ||
valve.py | ||
water_heater.py |