8000 Added light.pwm component. by soldag · Pull Request #7009 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added light.pwm component. #7009

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

Merged
merged 4 commits into from
Apr 20, 2017
Merged

Added light.pwm component. #7009

merged 4 commits into from
Apr 20, 2017

Conversation

soldag
Copy link
Contributor
@soldag soldag commented Apr 10, 2017

Description:

Adds new light platform to control LEDs connected directly to GPIOs of an Raspberry Pi or to a PCA9685 controller using pwm.

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2402

Example entry for configuration.yaml (if applicable):

light:
  platform: pwm
  leds:
    - name: TV Backlight
      driver: pca9685
      pins: [0, 1, 2, 3]
      type: rgbw

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
  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

@mention-bot
Copy link

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

.coveragerc Outdated
@@ -228,6 +228,7 @@ omit =
homeassistant/components/light/lifx_legacy.py
homeassistant/components/light/limitlessled.py
homeassistant/components/light/osramlightify.py
homeassistant/components/light/pwm.py
Copy link
Member
@fabaff fabaff Apr 10, 2017

Choose a reason for hiding this comment

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

I think that the name is too generic. Prefixing with rpi_gpio would help to identify it as most people will use this platform with a Raspberry Pi.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done ;)

@balloob balloob merged commit 0c14c66 into home-assistant:dev Apr 20, 2017
@soldag soldag deleted the pwmled branch 8000 April 20, 2017 12:19
@balloob balloob mentioned this pull request Apr 21, 2017
@bokub
Copy link
Contributor
bokub commented May 23, 2017

Not sure if that's the good place to comment, but that's great work @soldag , thanks 👍

@soldag
Copy link
Contributor Author
soldag commented May 23, 2017

@bokub Thank you :)

@home-assistant home-assistant locked and limited conversation to collaborators Sep 4, 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.

7 participants
0