Skip to content

Suggestion for unit handling of generic devices widget #48

@DigiH

Description

@DigiH

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions