Using the actual Dockerfile to build 0.1.1 is installing paho-mqtt 1.5.0 which does not contain enums.py. and generates the following error:
ModuleNotFoundError: No module named 'paho.mqtt.enums'
Traceback (most recent call last):
File "/app/device_tracker.py", line 6, in <module>
import paho.mqtt.enums as mqtt_enums
Removing "apt install python3-paho-mqtt --yes && " and updating "RUN python3 -m pip install paho-mqtt unifi-tracker" will install paho-mqtt 2.1.0 from pip repository which will fix the issue.
Using the actual Dockerfile to build 0.1.1 is installing paho-mqtt 1.5.0 which does not contain enums.py. and generates the following error:
Removing "apt install python3-paho-mqtt --yes && " and updating "RUN python3 -m pip install paho-mqtt unifi-tracker" will install paho-mqtt 2.1.0 from pip repository which will fix the issue.