I can’t make the buzzer beep by turning the switch on/off. If I directly connect the buzzer to VCC and GND it beeps. Thanks in advance for your help.
I checked and indeed they are active buzzers. I really can’t understand why I couldn’t make it work. It should be as simple as making the gpio pin 19 high and low, right? Maybe I am making it too complicated.
I am a little embarrassed to admit that the problem was not the yaml code but the fact that there was a tiny gap on the soldering connection of the pin. Thanks for your willingness to help.
Hello, am trying to get tones out of HA myself. Is the “RTTL component” you mentioned connected to an ESPHome device? I am using HA Green at the moment.