Local control on Sonoff/ toya light switch

See if this helps: https://community.home-assistant.io/t/wipro-garnet-smart-light/127027/8?u=milothomas