(n) "Person acting as a parent" means a person, other than a parent, who:
- (1) has physical custody of the child or has had physical custody for a period of six consecutive months, including any temporary absence, within one year immediately before the commencement of a child custody proceeding; and
- (2) has been awarded legal custody by a court or claims a right to legal custody under the law of this state.