This is my setup for the Sonoff NS Panel using ESPhome in Home Assistant. I have used paint.net for edditing the files Get your Sonoff NS Panel here https://s.click.aliexpress.com/e/_ADeUCi
A Youtube video of it working https://www.youtube.com/watch?v=qX62zykFvrs