def get_run_states(self) -> List[RunState]:
raw_states = self.get_state('<STR_LIT>')<EOL>if not raw_states:<EOL><INDENT>_LOGGER.warning("<STR_LIT>")<EOL>return []<EOL><DEDENT>run_states = []<EOL>for i in raw_states['<STR_LIT>']:<EOL><INDENT>raw_state = i['<STR_LIT>']<EOL>_LOGGER.info("<STR_LIT>", raw_state['<STR_LIT>'])<EOL>run_states.append(RunState(self, raw_state))<EOL><DEDENT>return run_states<EOL>
Get a list of RunStates from the ZoneMinder API.