Review feedback
This commit is contained in:
@@ -17,13 +17,15 @@ public struct HubitatDevice : Device
|
||||
|
||||
var id: Int = -1
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
enum CodingKeys: String, CodingKey
|
||||
{
|
||||
case name = "label"
|
||||
case id = "id"
|
||||
case attributes = "attributes"
|
||||
}
|
||||
|
||||
enum AttributesKeys: String, CodingKey {
|
||||
enum AttributesKeys: String, CodingKey
|
||||
{
|
||||
case power
|
||||
case dataType
|
||||
case `switch`
|
||||
|
||||
Reference in New Issue
Block a user