Closed lorennorman closed 1 year ago
I would like to have the below list of sensor types exhaustively annotated with the default unit type for each sensor type. I can take that into JS and render things correctly from there.
https://github.com/adafruit/Wippersnapper_Protobuf/blob/master/proto/wippersnapper/i2c/v1/i2c.proto#L153-L181
Bonus points if you can give an example string as well, for example:
SENSOR_TYPE_AMBIENT_TEMPERATURE = 13; /** Degrees Celsius, "{value}°C" **/
...which i could then use on the front-end to render: 25.3°C
25.3°C
I would like to have the below list of sensor types exhaustively annotated with the default unit type for each sensor type. I can take that into JS and render things correctly from there.
https://github.com/adafruit/Wippersnapper_Protobuf/blob/master/proto/wippersnapper/i2c/v1/i2c.proto#L153-L181
Bonus points if you can give an example string as well, for example:
...which i could then use on the front-end to render:
25.3°C