Skip to content

Improve HS220 support #44

@rytilahti

Description

@rytilahti

Now that SmartDimmer is in its own class and easier to work on, the current support for HS220 could use some improvements:

  • Defining transition periods, maybe set_brightness(brightness, *, transition=1234)
    • Side note: the bulbs support transitions, too. these two should share the same method signature for brightness setting.
  • Turning the bulb on to specified brightness set_brightness(brightness, *, turn_on=True)
  • Allow changing the brightness even when the device is offline? (turn_on boolean?)

Information about the API: plasticrake/tplink-smarthome-api#49 (comment)
Earlier pyhs100 issue: GadgetReactor/pyHS100#143
Related downstream issue: home-assistant/core#32755

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions