output: - platform: esp8266_pwm id: fan_output_1 pin: 12 fan: - platform: speed id: fan_speed output: fan_output_1