AlexxIT/SonoffLAN is how I am utilizing my S31s also… I watched a youtube video quite awhile back, and actually made my decision to buy the S31s based on the ease of setup vs the flashing route. I saw the Sonoff integration in Devices and Services and thought I was using some kind of regular integration, but in deed I see it is in HACS now and shows up as AlexxIT/SonoffLAN Custom Component. But I can completely disconnect from the Internet and everything still works (this has been a design goal from the start of my HA journey, because I plan to give the RPi4 away with the sale of my house. That is why I am trying to keep it very simple.), so I have no idea how it is even working now.
I had to use Homekit hashes for a couple other integrations, but other than that I can not recall ever having to provide authentication for the S31s outside of the ewelink app. Once I configured them, I installed the Integration and I believe HA just found them and I added them to a card during the install.
Another odd thing I did not realize is that I do not even know how to find the version number of the integrations I am running, so I have no idea what I am running outside of the basic HA info in About…
Home Assistant 2023.8.4
Supervisor 2023.08.1
Operating System 10.5
Frontend 20230802.1 - latest
I am only running 11 integrations, and I literally have 6 lines of actual config in my configuration.yaml:
# Loads default set of integrations. Do not remove.
default_config:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
my secrets.yaml file is empty with a couple comment lines explaining what the file is. And I created a single script that does a quick run of my sprinkler zones from an automation that fires at sunset if the high temperature was above 90F for 10 minutes at anytime during the day. Everything has been configured from the UI though. I have looked at the yaml from time-to-time and figured out how to customized a few gauge colors, I just don’t use it because I do not know the syntax well enough to trust myself. HA is pretty much a universal remote for my house on an iPad. Pretty much just “Smart Home Ready” eye candy for a buyer when I sell.
I do plan to take some of the devices with me, as well as the knowledge I can learn in the process on to the next house, and I have much bigger plans for the Energy piece then. Right now, I am trying to figure out which appliances I am keeping, and if I can balance my breaker panel across phases better… the S31s are coming in handy for that, so I want the history graphs back. 
I appreciate your sharing though. If you have any other thoughts I am interested. I am going to continue to look through the directory structure when I have time and see if I can glean anything else with my limited knowledge of the underlying system.
Thanks again.


