Telldus: Refactored controller to use a sendCommand() function