I have an ESP32 using GPIO19 into an L298N PWM controller.
Config is as below:
output: - platform: ledc pin: 19 id: fish_feed_motor script: - id: run_motor then: - output.set_level: id: fish_feed_motor level: 10% - output.ledc.set_frequency: id: fish_feed_motor frequency: 500Hz - output.turn_on: fish_feed_motor - binary_sensor.template.publish: id: feed_motor_running state: ON
When I turn the ouput on, the motor runs.
However, changing level and frequency values, in the config above, makes no difference to motor speed.
Am I missing something obvious here?