     @IBOutlet var luminanceSlider: GradientSiliderView!
 
     private var socket: WebSocketClient!
-    private var lastId: String = ""
     var service: NetService!
     
     var color: UIColor {

//

import UIKit
import Starscream

class DeviceDetailsUIViewController: UIViewController, ColorWheelDelegate, GradientSiliderDelegate, WebSocketClientDelegate {


    override func viewDidLoad() {
        super.viewDidLoad()
        self.title = "Device"
        colorWheel.delegate = self
        saturatonSlider.delegate = self
        luminanceSlider.delegate = self
        
        let serializer = SerializationService()
        serializer.addSerializer(Color.self, ColorSerializer())
        serializer.addSerializer(Settings.self, SettingsSerializer())
