Two readings of 350 and 10 degrees both point close to north, but treating them as ordinary numbers puts their average at 180 degrees—south. ESPHome marks TX20 wind direction as an angle so Home Assistant calculates its long-term statistics around the circle.
The change applies to newly calculated statistics and preserves the sensor’s degree unit. It does not change the direction measured by the hardware.