xoxys.homeassistant_docker/templates/etc/udev/rules.d/99-mm-disable.rules.j2
Robert Kaussow 0bf158ef1f
Some checks failed
continuous-integration/drone/push Build is failing
add task to exclude serial devices from ModemManager
2019-05-04 17:47:38 +02:00

6 lines
224 B
Django/Jinja

#jinja2: lstrip_blocks: True
# {{ ansible_managed }}
{% for item in homeassistant_serial_device %}
ATTRS{idVendor}=="{{ item.vendor_id }}" ATTRS{idProduct}=="{{ item.product_id }}", ENV{ID_MM_DEVICE_IGNORE}="1"
{% endfor %}