Implementing dhtXX device class