esphome-miot
esphome-miot copied to clipboard
fix ota compile error for esphome > v24.6.0
This is an alternate solution for the OTA compile error addressed in #24 making use of the new esphome function get_global_ota_callback
based on how the changes in the OTA component are handled in the esphome codebase.