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

Feature request: (GPIO) switch inverted option #14

Closed
apeeters opened this issue May 16, 2018 · 2 comments
Closed

Feature request: (GPIO) switch inverted option #14

apeeters opened this issue May 16, 2018 · 2 comments

Comments

@apeeters
Copy link
Contributor

Please add an inverted option to (GPIO) switch, similar to (GPIO) output.

@OttoWinter
Copy link
Member

For the GPIO switch, that's already possible 🙈

switch:
  - platform: gpio
    name: "Some Name"
    pin:
      number: 13
      inverted: false

But I guess I could expand it to all switch platforms.

@apeeters
Copy link
Contributor Author

Ouch, missed that. For reference, this is documented here: https://esphomelib.com/esphomeyaml/configuration-types.html#pin-schema

@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

No branches or pull requests

2 participants