Correct flags for issue registry issue raised by ezviz (#95846)

* Correct flags for issue registry issue raised by ezviz

* Fix translation strings
This commit is contained in:
Erik Montnemery 2023-07-10 14:17:37 +02:00 committed by GitHub
parent 81dd3a4a93
commit df229e655b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -313,7 +313,8 @@ class EzvizCamera(EzvizEntity, Camera):
DOMAIN,
"service_depreciation_detection_sensibility",
breaks_in_ha_version="2023.12.0",
is_fixable=False,
is_fixable=True,
is_persistent=True,
severity=ir.IssueSeverity.WARNING,
translation_key="service_depreciation_detection_sensibility",
)

View File

@ -62,7 +62,14 @@
"issues": {
"service_depreciation_detection_sensibility": {
"title": "Ezviz Detection sensitivity service is being removed",
"description": "Ezviz Detection sensitivity service is deprecated and will be removed in Home Assistant 2023.12; Please adjust the automation or script that uses the service and select submit below to mark this issue as resolved."
"fix_flow": {
"step": {
"confirm": {
"title": "[%key:component::ezviz::issues::service_depreciation_detection_sensibility::title%]",
"description": "The Ezviz Detection sensitivity service is deprecated and will be removed in Home Assistant 2023.12.\nTo set the sensitivity, you can instead use the `number.set_value` service targetting the Detection sensitivity entity.\n\nPlease remove the use of this service from your automations and scripts and select **submit** to close this issue."
}
}
}
}
}
}