Software/algorithm patents? Yes.
Software/algorithm patents? Yes.
At least one of the Sonos patents in question is of that nature: it merely describes a system of distributed loudspeakers where one loudspeaker can set the volume of other speakers in the group remotely. The claims completely omit any actual solution that accomplishes that.
On other hand I do think there is still need to protect innovation in more physical things. Like new manufacturing processes or material innovations like using novel chemistry.
I think there should be some line, probably non-obvious implementation.
So while there may be a difference on software and hardware patents in practice, this is not a valid difference in terms of what the legal provisions are.
To be fair, some of the patents that listed in another comment here as part of the lawsuit are quite precise in their claims. Their claims cover the actual algorithms for integrating another loudspeaker into a secure WLAN and for ensuring exact playback. That's the kind of detail level that I would expect from a patent. As a result, if you solve the same problem using a sufficiently different set of steps, you're fine.
There's a difference between the spirit in which a law or regulation is written and how it is applied in practice over time. In case of patents, this gap has become quite large. I think that this is why so many here want see changes.