(a) A resident of this state may file a complaint with the attorney general against a political subdivision or state agency for a violation of this chapter only if:
(1) the resident provides the political subdivision or state agency a written notice describing the violation; and
(2) the political subdivision or state agency does not cure the violation before the end of the third business day after the date the written notice is received.
(b) A complaint filed under this section must include:
(1) a copy of the written notice; and
(2) the resident's sworn statement or affidavit describing the violation and indicating the resident provided the notice required by this section.