docs: def get_automation(self, automation_id, refresh=False):
          """Get a single automation."""
          if self._automations is None:
              self.get_automations()
              refresh = False
  
          automation = self._automations.get(str(automation_id))
  
          if automation and refresh:
              automation.refresh()
  
          return automation