def simple_walk(data, arg):
    # TODO: pickup the 16 and 272 from offset in desc...

    tmp = data.contents.dtada_data
    name = cast(tmp + 16, c_char_p).value
    instance = deref(tmp + 272, c_int).value

    print '{0:60s} :{1:10d}'.format(name, instance)

    return 0

# =============================================================================
# Convenience stuff
# =============================================================================
Turn fan off.
dataset/ETHPy150Open tmetsch/python-dtrace/dtrace_ctypes/consumer.py/simple_walk--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/nest.py/NestThermostat.turn_fan_off