def FormatISOTime(t):
  return time.strftime("%Y-%m-%d %H:%M:%S", time.gmtime(t / 1e6))
Return true if device is on.
dataset/ETHPy150Open google/grr/grr/lib/console_utils.py/FormatISOTime--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/thinkingcleaner.py/ThinkingCleanerSwitch.is_on