Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Add logic in Output for minimum power setting #516

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

mtl010957
Copy link
Contributor

Description:

Adding a min_power configuration to the output component, complementary to the max_power configuration already present. This setting will let the user clamp the output of any floating point variable component like ESP8266 PWM to make the full range between min and max available to the frontend in HA. Servos especially will benefit from this, since many standard servos operate in a range between 10%-20% duty cycle.

Related issue (if applicable): fixes feature_requests/#64

Pull request in esphome with python changes (if applicable): esphome/esphome#
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#

Checklist:

  • The code change is tested and works locally.
  • The code change follows the standards

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

Copy link
Member

@OttoWinter OttoWinter left a comment

Choose a reason for hiding this comment

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

LGTM, thanks 👍 One comment in docs repo

@OttoWinter OttoWinter merged commit f3fa254 into esphome:dev Feb 26, 2019
@esphome esphome locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Minimum Power setting to Output
2 participants