Very true.
While I sympathize with Home Depot on this issue, it is outside the authority of the Federal Government to ban the local governments from doing this.
Home Depot should take this issue up with the State governments in which these localities reside.
I’m in total agreement with you. They really need to address the state legislature as a first step.