Hi,
I’m trying to use a DAC output (GPIO25) on my ESP32 via esphome. I have not used a DAC output before. When I use other sensors or switch outputs they automatically turns up in Home Assistant. The yaml file compiles and uploads fine to the ESP, but how shall I write values to the DAC output? It never shows in HA.
Thanks for your input. I guess my fist problem is that I’m new to esphome and more advances usage. I will try to get things in place in steps. First step would be to just set the dac to some different values.
In many example, as yours, it says “on_…”, but I have not found any example of what the “…” shall be set to. I guess it relates to an action?
So, if I want a simple push-button in the Gui, where shall I start? Someone that is used to esphome and HA that could point in any direction?
My goal is to have a slider in HA gui which controls the DAC from 0 to 100%.
Now I finally get control over the dac output. ferbar, your pointer towards the light component confused me a bit. It was not needed to control the DAC output. Below is my final setup: