diff --git a/esphome/components/api/api_pb2_includes.h b/esphome/components/api/api_pb2_includes.h index ad1a906f0c..55d95304b1 100644 --- a/esphome/components/api/api_pb2_includes.h +++ b/esphome/components/api/api_pb2_includes.h @@ -22,10 +22,6 @@ #include "esphome/components/select/select_traits.h" #endif -#ifdef USE_MEDIA_PLAYER -#include "esphome/components/media_player/media_player_traits.h" -#endif - // Standard library includes that might be needed #include #include