-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Conversation
@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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done ;)
Not sure if that's the good place to comment, but that's great work @soldag , thanks 👍 |
@bokub Thank you :) |
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):Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
tox
run successfully. Your PR cannot be merged unless tests passREQUIREMENTS
variable (example).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.