Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LiteJet: Lights should have the option to dim in the UI. #6031

Merged
merged 2 commits into from Feb 16, 2017

Conversation

joncar
Copy link
Contributor

@joncar joncar commented Feb 16, 2017

Description:
Frontend has started looking at the supported features of the device, but the LiteJet light wasn't setting that property for brightness. This property is now set for all LiteJet lights. The LiteJet protocol doesn't expose a method for determining if a load is actually dimmable, so this assumes all loads can be dimmed.

Checklist:

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • [na] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
  • [na] New dependencies are only imported inside functions that use them ([example][ex-import]).
  • [na] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • [na] New files were added to .coveragerc.

@mention-bot
Copy link

@joncar, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff and @pvizeli to be potential reviewers.

@homeassistant
Copy link
Contributor

Hi @joncar,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@@ -7,7 +7,7 @@
import logging

import homeassistant.components.litejet as litejet
from homeassistant.components.light import ATTR_BRIGHTNESS, Light
from homeassistant.components.light import ATTR_BRIGHTNESS, SUPPORT_BRIGHTNESS, Light

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long (85 > 79 characters)

@balloob balloob merged commit 9c176ad into home-assistant:dev Feb 16, 2017
@balloob
Copy link
Member

balloob commented Feb 16, 2017

Coolio 🐬

@joncar joncar deleted the litejet branch February 16, 2017 15:12
@home-assistant home-assistant locked and limited conversation to collaborators May 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants