Definitely hotel's fault. There's no requirement for you to keep stuff in the room to keep using it. But on the other hand, no damage was done, since your key kept working. I'd just continue to use the room and leave it to the hotel to deal with their own mess when someone checks in later and the room isn't cleaned.