#Conditional import?

1 messages · Page 1 of 1 (latest)

outer sigil
#

I have a couple of custom integrations where people running them on RPi 4/5 are having troubling with my import of matplotlib. Is there any way of doing conditional or try/except of import statements of such external libraries in HA? Suggestions or examples appreciated.