Skip to content

Pheripheral Types

Rich Infante edited this page Feb 13, 2018 · 1 revision
enum PeripheralType : String, Codable {
    /// Binary on/off lights.
    case lightBinary = "lightBinary"
    
    /// Dimmable single-color lights.
    case lightDimmable = "lightDimmable"
    
    /// Full color range lights.
    case lightColored = "lightColored"
    
    /// Thermostat
    case thermostat = "thermostat"
    
    /// Television. For this device, ranged value is the channel.
    case television = "television"
    
    /// Camera.
    case camera = "camera"
}