Static on bootup after ESPHOME adoption

Got my muse today, works well as long as I use the default config from the esphome.github.io setup and then add to home assistant, if I adopt it into my esphome setup it makes a horrible loud static sound at bootup. Known issue?

Hi i have the same Problem.
It makes the sound after every OTA update/flashing of the firmware, if i turn it off and on again everything is normal.

It sounds like an undifined state of a GPIO, as there is a pin that is used to enable/disable the amplifier when it is not needed for example a boot, this is GPIO21 == 1 == enable

I have the same board and no static with the following code in esphome:

media_player:
  - platform: i2s_audio
    id: media_out
    name: ${device} player
    dac_type: external
    i2s_lrclk_pin: GPIO25
    i2s_dout_pin: GPIO26
    i2s_bclk_pin: GPIO5
    mode: mono
    mute_pin:
      number: GPIO21
      inverted: true

maybe this helps?

same as mine, still does it after a fresh flashing or config change from esphome, otherwise it’s fine.

Do you have anything else on the muse running that could interfere or do you anything else nearby that could disturb the audio output? And how about the transformer did you try to replace them or tried to rotate the power plug (when you allowed to do)?
do you do the updates OTA or via USB?

Other then that i have no clue. other then that some components are buggy.