12-12-2024, 05:40 AM
The ESPHome config above could use a refresh, here are some things I addressed while setting one of these boards up this week:
You can find the updated file here: https://gist.github.com/chuyskywalker/82...d099e0592e
And the diff from the above thread: https://gist.github.com/chuyskywalker/82.../revisions
And posted here as well -- (edit: nm, can't post, too long) -- (double edit: attached)
- The names of the first 9 inputs/outputs I prefixed the numbers with '0' so they order correctly in home assistant and other places
- I changed to using underscores which are more compatible with HA and ESPHome (for scripting)
- I added "id: " to each input/output. The "name" works great for HomeAssistant, but if you want to program actions directly in the ESP program, you'll need the "id" values instead
- The "attenuation" value changed; it has no real effect (according to the ESPHome change logs) just prevents a warning from showing up
- Some of the intro generic stuff (like platform, board, etc) has been updated to follow current ESPHome practices
You can find the updated file here: https://gist.github.com/chuyskywalker/82...d099e0592e
And the diff from the above thread: https://gist.github.com/chuyskywalker/82.../revisions
And posted here as well -- (edit: nm, can't post, too long) -- (double edit: attached)