Note there is minimal code change here apart from the patching of the sys.path variable to allow pysonofflan to be loaded from custom_components in the pysonofflan3 namespace.
I suspect we will choose not to merge this change, but instead create a zip/tar of the "sonoff_lan_mode" folder such that users wishing to use the old V2 version can do so.
Note, this component and dependant components has been tested on HA 94.1 as this contains the latest zeroconf 0.23.0 release. I tried on old versions, but couldn't get the 'requirements' functionality in manifest.json to work correctly. As a result I abandoned this testing once I realised that the latest HA has included the necessary dependencies.
V3 firmware amendments.
Note there is minimal code change here apart from the patching of the sys.path variable to allow pysonofflan to be loaded from custom_components in the pysonofflan3 namespace.
I suspect we will choose not to merge this change, but instead create a zip/tar of the "sonoff_lan_mode" folder such that users wishing to use the old V2 version can do so.
Note, this component and dependant components has been tested on HA 94.1 as this contains the latest zeroconf 0.23.0 release. I tried on old versions, but couldn't get the 'requirements' functionality in manifest.json to work correctly. As a result I abandoned this testing once I realised that the latest HA has included the necessary dependencies.