Hiding toggels in Lovelace Entities Card

Just in case the question is still relevant for some users, I have answered it in another topic with the same issue: How to Hide Entity Toggle Switch - #4 by ardrift