Review feedback

This commit is contained in:
2020-05-01 00:16:10 -07:00
parent c60685bf20
commit c6fa9fe960
5 changed files with 22 additions and 19 deletions

View File

@@ -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`