Extend attribute state translations for Camera (#89876)

* Extend attribute state translations for Camera

* Add common generic translations
This commit is contained in:
Franck Nijhof 2023-03-20 13:39:20 +01:00 committed by GitHub
parent 0bf652ca96
commit b9ff69d3ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -7,6 +7,31 @@
"recording": "Recording",
"streaming": "Streaming",
"idle": "[%key:common::state::idle%]"
},
"state_attributes": {
"access_token": {
"name": "Access token"
},
"brand": {
"name": "Brand"
},
"frontend_stream_type": {
"name": "Stream type",
"state": {
"hls": "HLS",
"webrtc": "WebRTC"
}
},
"motion_detection": {
"name": "Motion detection",
"state": {
"true": "Enabled",
"false": "Disabled"
}
},
"model_name": {
"name": "[%key:common::generic::model%]"
}
}
}
}

View File

@ -1,5 +1,8 @@
{
"common": {
"generic": {
"model": "Model"
},
"state": {
"off": "Off",
"on": "On",