send mesh.ota_recipients_changed correctly from OTAForm

This commit is contained in:
Laura Klünder 2023-12-02 00:12:56 +01:00
parent 67e5b0f8a1
commit 5b227190a8

View file

@ -397,6 +397,6 @@ class OTACreateForm(Form):
updates.append(update)
async_to_sync(channels.layers.get_channel_layer().group_send)(MESH_ALL_OTA_GROUP, {
"type": "mesh.ota_recipients_changed",
"addresses": [addresses]
"addresses": addresses,
})
return updates