HA script for tonbux smart plug

It’s there any type of script I can add to my yaml to control my smart plugs since they are not offered in the components section, is there a general on/off command I can implement by pointing HA to the Mac address

sorry, your question isnt quite clear, but if you cant control your plugs from HA, it also is impossible to control them from the dashboard.

the dashboard is a frontend for HA.

Ok I get it, I was just wondering if a device isn’t listed in the components section maybe you could access it some other way

not directly with the dashboard.
if there are any python ways out there to connect them, you can connect them with an app.
and then you can also connect them to HA and your dashboard.

I purchased a Tonbux outdoor 3 way smart-plug.
If you download the TuyaSmart app, it will recognize this device. Then just load in the Tuya component in your yaml file, and it will be on your HA once you reboot!

Yes add
Tuya:
Username:
Password:
Then restart and it will appear