HubitatServer: Adds HubitatServer type and adds it to the multiplexer
This commit is contained in:
@@ -8,15 +8,15 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
enum DeviceState
|
||||
enum DeviceState : String, Codable
|
||||
{
|
||||
case off
|
||||
case on
|
||||
case off = "off"
|
||||
case on = "on"
|
||||
}
|
||||
|
||||
enum DeviceType
|
||||
enum DeviceType : String, Codable
|
||||
{
|
||||
case `switch`
|
||||
case `switch` = "switch"
|
||||
}
|
||||
|
||||
protocol Device
|
||||
|
||||
Reference in New Issue
Block a user