I think it is important to note here that such a ban could only happen in the event that Switzerland faces major problems with the supply of electricity and that this is only one of the measures they have put on the table, and that the term
"nonessential" is also emphasized, which means that the ban would not apply to everyone. The measures that are still being considered are, of course, much broader and even go so far as to reduce the resolution of streaming services.
Curious is that bitcoin is not being banned from Switzerland. Probably eletric cars consume much more energy there.
Probably, because I found information that at the beginning of this year,
the average monthly hashrate share for Switzerland was only 0.03%, and it is similar in other European countries (except Germany). Any ban in that direction is quite absurd, although I have no doubt that some countries will go in that direction as well.