Tag object should not be writable

This commit is contained in:
Zaid Abdulla committed 2019-10-28 19:10:43 -07:00
1 parent c07f57af1f
commit f135be403c
1 file changed
+2 -2
+2 -2
View File
@@ -380,7 +380,7 @@ export function flattenDevice(device): FlatDevice {
}; };
} else if (name === "_tags") { } else if (name === "_tags") {
output["Tags"] = { output["Tags"] = {
writable: true, writable: false,
writableTimestamp: timestamp, writableTimestamp: timestamp,
object: true, object: true,
objectTimestamp: timestamp objectTimestamp: timestamp
@@ -390,7 +390,7 @@ export function flattenDevice(device): FlatDevice {
output[`Tags.${t}`] = { output[`Tags.${t}`] = {
value: [true, "xsd:boolean"], value: [true, "xsd:boolean"],
valueTimestamp: timestamp, valueTimestamp: timestamp,
writable: false, writable: true,
writableTimestamp: timestamp, writableTimestamp: timestamp,
object: false, object: false,
objectTimestamp: timestamp objectTimestamp: timestamp