The law in its current form was passed in 2012 and was specifically restricted to devices that have the purpose of spying. We can safely assume that the lawmakers were aware of current technology.
Certainly not everybody. This law was last changed as a part of a large telecommunication bill. The proceedings show that they are aware that technology can move very fast (thus the law needs to be written as open as possible) and it's hard to precisely differentiate between e.g. phones (or new form of legitimate technology) and dedicated spying devices (thus the law needs to be written as specific as possible). Given those goals I think they made a pretty good job.