refac(pkg/types): remove deprecated prefix name of struct attributes
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
[
|
||||
{
|
||||
"device_id": "19343609-c363-4992-ac97-124229ced640",
|
||||
"device_name": "poseidon",
|
||||
"device_location": null,
|
||||
"device_last_contact": null,
|
||||
"id": "19343609-c363-4992-ac97-124229ced640",
|
||||
"name": "poseidon",
|
||||
"location": null,
|
||||
"last_contact": null,
|
||||
"creation_date": "2019-09-29T18:14:35.203+02:00"
|
||||
}
|
||||
]
|
@ -1,15 +1,15 @@
|
||||
[
|
||||
{
|
||||
"sensor_id": "d7fc0e1f-9d5a-45c7-bc01-e85bd1b610c6",
|
||||
"sensor_name": "wetter-station",
|
||||
"sensor_location": "",
|
||||
"id": "d7fc0e1f-9d5a-45c7-bc01-e85bd1b610c6",
|
||||
"name": "wetter-station",
|
||||
"location": "",
|
||||
"wire_id": null,
|
||||
"i2c_bus": 1,
|
||||
"i2c_address": 118,
|
||||
"gpio_number": null,
|
||||
"sensor_model": "BME280",
|
||||
"sensor_enabled": true,
|
||||
"sensor_last_contact": null,
|
||||
"model": "BME280",
|
||||
"enabled": true,
|
||||
"last_contact": null,
|
||||
"device_id": "19343609-c363-4992-ac97-124229ced640",
|
||||
"creation_date": "2019-09-29T18:14:35.207+02:00"
|
||||
}
|
||||
|
Reference in New Issue
Block a user