Without knowing your code for that sensor in ESPHome, we cannot help. Also “latest version” is not a version 2022.3.1 should be the version right now.