ModemManager turns on my TV
Occasionally ModemManager is probing my USB CEC device (which I use to control my TV from my computer) which turns my TV on. There was a fix provided for this upstream in libcec a few years ago for Debian based systems: https://github.com/Pulse-Eight/libcec/issues/193 (I don't run a Debian based system).
The fix was as follows:
# ModemManager and mtp probe should ignore USB-CEC adapters
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="2548", ATTRS{idProduct}=="1001", ENV{ID_MM_DEVICE_INORE}="1", ENV{MTP_NO_PROBE}="1"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="2548", ATTRS{idProduct}=="1002", ENV{ID_MM_DEVICE_INORE}="1", ENV{MTP_NO_PROBE}="1"
I think these rules should be added to ModemManager
upstream.