code: def get_sensor_data(**kwargs):
      '''
      Get sensor readings
  
      Iterates sensor reading objects
  
      :param kwargs:
          - api_host=127.0.0.1
          - api_user=admin
          - api_pass=example
          - api_port=623
          - api_kg=None
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call ipmi.get_sensor_data api_host=127.0.0.1 api_user=admin api_pass=pass
      '''
      import ast
      with _IpmiCommand(**kwargs) as s:
          data = {}
          for reading in s.get_sensor_data():
              if reading:
                  r = ast.literal_eval(repr(reading))
                  data[r.pop('name')] = r
      return datf get_sensor_data(**kwargs):
      '''
      Get sensor readings
  
      Iterates sensor reading objects
  
      :param kwargs:
          - api_host=127.0.0.1
          - api_user=admin
          - api_pass=example
          - api_port=623
          - api_kg=None
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call ipmi.get_sensor_data api_host=127.0.0.1 api_user=admin api_pass=pass
      '''
      import ast
      with _IpmiCommand(**kwargs) as s:
          data = {}
          for reading in s.get_sensor_data():
              if reading:
                  r = ast.literal_eval(repr(reading))
                  data[r.pop('name')] = r
      return data
docs: Get sensor readings
  
      Iterates sensor reading objects
  
      :param kwargs:
          - api_host=127.0.0.1
          - api_user=admin
          - api_pass=example
          - api_port=623
          - api_kg=None
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-call ipmi.get_sensor_data api_host=127.0.0.1 api_user=admin api_pass=pass