|
@@ -28,7 +28,7 @@ def main() -> int:
|
|
|
slug = slugify(entity.name)
|
|
slug = slugify(entity.name)
|
|
|
if slug in translations:
|
|
if slug in translations:
|
|
|
print(
|
|
print(
|
|
|
- f"::warning file=custom_components/tuya_local/devices/{config},line={entity._config.__line__}:: Entity can use translation_key: {slug}"
|
|
|
|
|
|
|
+ f"::error file=custom_components/tuya_local/devices/{config},line={entity._config.__line__}:: Entity can use translation_key: {slug}"
|
|
|
)
|
|
)
|
|
|
detected += 1
|
|
detected += 1
|
|
|
return detected
|
|
return detected
|