theengs / app

Theengs mobile application to read BLE sensors and push data to an MQTT broker
https://app.theengs.io
GNU General Public License v3.0
37 stars 7 forks source link

Suggestion for unit handling of generic devices widget #48

Open DigiH opened 1 year ago

DigiH commented 1 year ago

With generic devices being displayed on a generic widget page I would suggest the following

• if the unit is int show the value as a integer only without decimals, and do not show the unit • if the unit is either string or status, just show the value without the unit • if a status value is a boolean, show it as true/false and don't convert/display it to/as 1/0

Example from the SmartDry discussion for the Shake and Wake properties, but applicable to all other generic devices.

Shake 241

Wake true

image