You really might want to re-read the code. It isn't as applicable to your story as you seem to feel:
https://leginfo.legislature.ca.gov/faces/codes_displaySectio...
647j even contains the provision "with the intent to invade the privacy of a person or persons inside"
Doesn't look like this is what's happening here
Also "putting up a curtain and sitting in darkness" because a light control or light mesh curtain blocks 100% of light, sure