I would avoid extension cord configurations unless you or an electrician evaluate the distance and determining the proper wire gauge based on the load. I don't know what the Volvo ER vehicles draw when charging (with the vehicle provided charging cable), but the previous T8 gen vehicles is something under 4kW. There will be voltage drop across any length of wire - the large the gauge the smaller the drop. And if you're using an extension cord and its getting warm that's not a good sign - it probably means the conductors in the cord are too small for the power that is attempting to be passed through it.
No need for a toggle switch if you are going to make an extension: no different plugging in the car charging cable to an outlet, or the extension to an outlet. You should not attempt to unplug a charging vehicle until charging has been halted. As previously noted, if you unlock your car the charging will stop and the car will release the J1772 connector. Always remove that plug from your car first before disconnecting the other end of the charging cable.
There are a lot of charging devices out there. I would suggest investing in one. I have ChargePoint at both home and work - been rock solid 5+ years. ChargePoint has an app that can show you charge rates, history and even let you control things. (There are others that do the same as well.) Check your state EV program and/or your electric supplier. Many have partial or full rebate programs.
If you have one of the newer vehicles that may be able to draw more amperage (or kW) you may find you get faster charging rates by using a Level II charger than the cable that comes with the vehicle.
When you plug a J1772 cable into the vehicle, the vehicle and the charging station (or integral charging device in car provided cable) will exchange information between the two. That's how the car finds out what the charger is capable of and sets up charging accordingly. And also how the car tells the charging station it is done, so you can safely remove the J1772 from the car.
I leave my car plugged in 100% of the time (and locked) in my garage. When the battery is full the car turns off the charging. When I want to go somewhere, I unlock the doors, remove the charging cable and close the vehicle cover. Get in - start car - and I'm on my way.
HTH