Update control.php

Using the new styled tdtool --list-devices and tdtool --list-sensors, initial support for dimming added.