Hello everyone,
I’m just getting in to Python and I’ve currently got a work in progress HomeAssistant install working with enocean devices at home. I’m trying to understand the enocean integration with the view to start contributing towards it.
I’ve managed to understand most of it but I’m really stumped by lines 56 and 90 in the enocean/init.py file. The line reads “from enocean.protocol.packet import…”.
I’ve tried my best to look at all the import chain (is there a better word for this?) but I can’t find any functionality in the module named either “protocol” or “packet”. I’ve searched the whole homesassistant repo for the same and can’t seem to find anything!
Could someone please explain where the code is going when asked to import “RadioPacket” and “Packet” on these lines?
Thanks.