Xiaomi Gateway Not Playing Sounds after recent updates

I have an automation to play a sound through the gateway. It used to work fine but now I get the following in the logs (I have a MAC address set). Any pointers:

Invalid service data for xiaomi_aqara.play_ringtone: Unknown gateway sid <xiaomi_gateway.xiaomigateway object at xxxxxxxx> for dictionary value @ data['gw_mac']. Got None

I had the same problem. To get it working again, I added the MAC address of the gateway like this:

  - data:
      gw_mac: 7811dcb1fb51
      ringtone_id: '10'
      ringtone_vol: '100'
    service: xiaomi_aqara.play_ringtone
1 Like

this also worked for me - thank you for sharing!

1 Like