Skip to content

level capability should map 1-100 #5

@jterrace

Description

@jterrace

The switchLevel capability has no way to set a min and max value, so the general convention is that it should go from 1 to 100. When I import this device into ActionTiles, for example, it shows a 1-100 slider, which makes it very hard to pick a value from 1-10.

It looks like they're proposing a new fanSpeed capability, but even that doesn't look like you can specify the min and max value.

I'd like to propose using 1-100 as the level capability and mapping them to 1-10, e.g.

  • 1-10: 1
  • 11-20: 2
  • 21-30: 3
  • 31-40: 4
  • 41-50: 5
  • 51-60: 6
  • 61-70: 7
  • 71-80: 8
  • 81-90: 9
  • 91-100: 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions