output: - platform: ledc id: fan_output_1 pin: 2 fan: - platform: speed id: fan_speed output: fan_output_1