esphome / esphome/feature-requests
Allow booleans in substitutions
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem you have/What new integration you would like**
Allow boolean values in substitutions, for example to invert GPIOs.
**Please describe your use case for this integration and alternatives you've tried:**
I tried to cleanup all my config files for esphome with packages and substitutions, but i could not find a way to invert GPIOs (binary_sensor).
Contributor guide
No contributing guide indexed for this repository
Research direction
The request concerns ESPHome packages and substitutions, with a use case for inverting GPIO binary sensors. Start by tracing how substitutions are parsed and how binary-sensor GPIO options are handled. Done means boolean values can be supplied through substitutions and reliably invert the requested GPIO behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100