03-09-2023 04:27 AM
Hi,
I'm trying to get a temperature sensor value displayed in the app but it seems like there is something wrong with the UI. It works for my Humidity sensor but not the temperature. Could someone help me understand what I'm doing wrong?
This is parts of the sync response:
{
"sync": {
"agentUserId": "*REDACTED*",
"devices": [
{
"id": "sensor.nedis_climate_sensor_temperature",
"name": {
"name": "Nedis climate sensor temperature"
},
"attributes": {
"temperatureUnitForUX": "C",
"queryOnlyTemperatureControl": true,
"temperatureRange": {
"minThresholdCelsius": -100,
"maxThresholdCelsius": 100
}
},
"traits": [
"action.devices.traits.TemperatureControl"
],
"willReportState": true,
"type": "action.devices.types.SENSOR",
"deviceInfo": {
"manufacturer": "TuYa",
"model": "Temperature & humidity sensor with display (TS0201)"
}
}
]
}
}
This is parts of the query response:
{
"query": {
"devices": {
"sensor.nedis_climate_sensor_temperature": {
"online": true,
"temperatureSetpointCelsius": 18.5,
"temperatureAmbientCelsius": 18.5
}
}
}
}