Migrate Matter services to support translations (#96406)

This commit is contained in:
Franck Nijhof 2023-07-12 15:36:57 +02:00 committed by GitHub
parent 878ed7cf21
commit 6c44783927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 5 deletions

View File

@ -1,11 +1,6 @@
open_commissioning_window:
name: Open Commissioning Window
description: >
Allow adding one of your devices to another Matter network by opening the commissioning window for this Matter device for 60 seconds.
fields:
device_id:
name: Device
description: The Matter device to add to the other Matter network.
required: true
selector:
device:

View File

@ -50,5 +50,17 @@
"name": "Flow"
}
}
},
"services": {
"open_commissioning_window": {
"name": "Open commissioning window",
"description": "Allows adding one of your devices to another Matter network by opening the commissioning window for this Matter device for 60 seconds.",
"fields": {
"device_id": {
"name": "Device",
"description": "The Matter device to add to the other Matter network."
}
}
}
}
}