code: def get_run_states(self) -> List[RunState]:
          
          raw_states = self.get_state('api/states.json')
          if not raw_states:
              _LOGGER.warning("Could not fetch runstates from ZoneMinder")
              return []
  
          run_states = []
          for i in raw_states['states']:
              raw_state = i['State']
              _LOGGER.info("Initializing runstate %s", raw_state['Id'])
              run_states.append(RunState(self, raw_state))
  
          return run_states
docs: Get a list of RunStates from the ZoneMinder API.