hass-core/homeassistant/components/camera/strings.json
Martin Hjelmare 405a480cae
Create repair issue for legacy webrtc provider (#129334)
* Add repair issue

* Add tests

* Add option to not use builtin go2rtc provider

* Add test

* Add domain to new providers

* Add learn more url

* Update placeholder

* Promote the builtin provider

* Refactor provider storage

* Move check for legacy provider conflict to refresh

* Test provider registration race

* Add test for registering the same legacy provider twice

* Test test_get_not_supported_legacy_provider

* Remove blank line between bullets

* Call it built-in

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Revert "Add option to not use builtin go2rtc provider"

This reverts commit 4e31bad6c0c23d5a1c0935c985351808a46163d6.

* Revert "Add test"

This reverts commit ddf85fd4db2c78b15c1cdc716804b965f3a1f4e3.

* Update issue description

* async_close_session is optional

* Clean up after rebase

* Add required domain property to provider tests

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-30 14:11:17 +01:00

116 lines
4.2 KiB
JSON

{
"title": "Camera",
"entity_component": {
"_": {
"name": "[%key:component::camera::title%]",
"state": {
"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": "[%key:common::state::enabled%]",
"false": "[%key:common::state::disabled%]"
}
},
"model_name": {
"name": "[%key:common::generic::model%]"
}
}
}
},
"issues": {
"deprecated_filename_template": {
"title": "Detected use of deprecated template variable",
"fix_flow": {
"step": {
"confirm": {
"title": "[%key:component::camera::issues::deprecated_filename_template::title%]",
"description": "The pre-defined template variable `entity_id` was used when performing action `{service}` targeting camera entity `{entity_id}`. The pre-defined template variable `entity_id` is being removed from the `filename` parameter of `{service}`.\n\nPlease update your automations and scripts to use a manually defined variable instead and select **Submit** to close this issue."
}
}
}
},
"legacy_webrtc_provider": {
"title": "Detected use of legacy WebRTC provider registered by {legacy_integration}",
"description": "The {legacy_integration} integration has registered a legacy WebRTC provider. Home Assistant prefers using the built-in modern WebRTC provider registered by the {builtin_integration} integration.\n\nBenefits of the built-in integration are:\n\n- The camera stream is started faster.\n- More camera devices are supported.\n\nTo fix this issue, you can either keep using the built-in modern WebRTC provider and remove the {legacy_integration} integration or remove the {builtin_integration} integration to use the legacy provider, and then restart Home Assistant."
}
},
"services": {
"turn_off": {
"name": "[%key:common::action::turn_off%]",
"description": "Turns off the camera."
},
"turn_on": {
"name": "[%key:common::action::turn_on%]",
"description": "Turns on the camera."
},
"enable_motion_detection": {
"name": "Enable motion detection",
"description": "Enables the motion detection."
},
"disable_motion_detection": {
"name": "Disable motion detection",
"description": "Disables the motion detection."
},
"snapshot": {
"name": "Take snapshot",
"description": "Takes a snapshot from a camera.",
"fields": {
"filename": {
"name": "Filename",
"description": "Full path to filename."
}
}
},
"play_stream": {
"name": "Play stream",
"description": "Plays the camera stream on a supported media player.",
"fields": {
"media_player": {
"name": "Media player",
"description": "Media players to stream to."
},
"format": {
"name": "Format",
"description": "Stream format supported by the media player."
}
}
},
"record": {
"name": "Record",
"description": "Creates a recording of a live camera feed.",
"fields": {
"filename": {
"name": "[%key:component::camera::services::snapshot::fields::filename::name%]",
"description": "Full path to filename. Must be mp4."
},
"duration": {
"name": "Duration",
"description": "Planned duration of the recording. The actual duration may vary."
},
"lookback": {
"name": "Lookback",
"description": "Planned lookback period to include in the recording (in addition to the duration). Only available if there is currently an active HLS stream. The actual length of the lookback period may vary."
}
}
}
},
"selector": {}
}