New to Hassbian. How do I get my custom_component .py scripts to recognize import serial
?
Throws error: ImportError: No module named ‘serial’
New to Hassbian. How do I get my custom_component .py scripts to recognize import serial
?
Throws error: ImportError: No module named ‘serial’
You have to add it as a requirement to a pypi library
I.e. if you want to go asyncio ( adapt for standard serial)
REQUIREMENTS = [‘pyserial-asyncio==0.4’]
Thank you for the reply!