Make DHT sensors work with recent changes.