HubitatServer: Adds HubitatServer type and adds it to the multiplexer

This commit is contained in:
2020-03-14 19:53:18 -07:00
parent 918818cd99
commit 9bff3dda48
7 changed files with 153 additions and 15 deletions
+5 -5
View File
@@ -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