Vue2 not updating

My Emporia Vue Energy Monitor Gen 2 isn’t updating it’s firmware.
When I try to update I get the error message “Failed to perform the action update/install. Error compiling empvue.yaml; Try again in ESPHome dashboard for more information.”
If I go to the dashboard I don’t see any additional info.
It’s on v2024.5.0. And the latest version is 2024.8.3.

I looked at the ESP Dashboard and when I try to manually update I get the following output.

INFO ESPHome 2024.9.1
INFO Reading configuration /config/esphome/empvue.yaml...
Failed config

ota.unknown: [source /config/esphome/empvue.yaml:32]
  
  'ota' requires a 'platform' key but it was not specified.
  password: [redacted]