code: def _parse_watts(val):
      if val.endswith(" W"):
          return float(val[0:-2])
      if "No data" in val or "N/A" in val:
          return None
      assert False, repr(val)
  
imports: import csv
  import io
  import subprocess
  import sys
  from guild import util
  from guild.plugins.summary_util import SummaryPlugin
label_desc: Use image node_id 8 for calling a global function with example usage: _parse_watts(val) and returns: float, None