Hello,
my program send this Json to HA, everything work fine except that the sensor is only in entity and I can’t see the lenovo under device, probably I miss something…
My scope is to create a Device called Lenovo S30 with inside Entity PVE_WD20EADS_temp
{
"state":"52.0",
"attributes":{
"friendly_name":"WD20EADS Temperature",
"icon":"mdi:harddisk",
"state_class":"measurement",
"unit_of_measurement":"°C",
"device_class":"temperature",
"unique_id":"PVE_WD20EADS_temp"
},
"device":{
"identifiers":[
"lenovo_s30"
],
"name":"Lenovo S30",
"manufacturer":"Lenovo",
"model":"S30"
}
}
URL: http://192.168.0.22:8123/api/states/PVE_WD20EADS_temp
Best Regards
Stefano