Wind Speed Sensor - Voltage 0V to 5V ESPHome

Take a look at batt_voltage_filtered and the sensor it copies. You should be able to use filters for the various processing steps, especially calibrate linear, multiply and lambda. You should be able to do it all in yaml (maybe with a few lambda’s) rather than a custom component.