creating sensor model
This commit is contained in:
@@ -9,11 +9,17 @@ const deviceLogSchema = new Schema({
|
||||
remote_type: {
|
||||
type: String
|
||||
},
|
||||
operating_type:{
|
||||
operating_type: {
|
||||
type: String // Toggle - Homekit Reset - Reset
|
||||
},
|
||||
log_time: {
|
||||
type: Date
|
||||
},
|
||||
sensor_value: {
|
||||
type: Number
|
||||
},
|
||||
battery_life: {
|
||||
type: Number
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user