We tried that with some lights we in our bushes thinking it'd be fine to just keep them off, they're not even visible unless you were on our porch with your nose against the bushes looking for them. HOA ended up fining us anyways, nosy fucks.
Was probably your neighbor who ratted you out. I’m constantly reporting violations to our HOA