Any example for use ATX Power Supply on esphome
You mean other than the clear instructions?
yes, is not clear, I want an example of use
yeah the example in the docs is pretty clear and straight forward. What don’t you understand about creating the power supply component then attaching it to an output component? All it is, is an output component that’s controlled by (ie. mirrors) another output component but with it’s own configuration options.
An example please. I do not understand
What exactly don’t you understand. You have a light component that is poowered from an external power supply.
You can switch the power supply on when you turn the light on. See https://esphome.io/components/light/index.html?highlight=power_supply#base-light-configuration
Thank you for the link
But is it only for addressable LEDs?
turning on an output pin which controls an external power supply that is powering addressable LEDs is just one example for using the power supply component in esphome.
As described in the documentation and in this thread, the power supply component is really just an output pin that is configurable with options. You can control it with a light entity, a switch, or with other conditions/components. Itself can even control other output components.
The examples and documentation provided explain all of this.