mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Add translation to numeric condition card
This commit is contained in:
parent
fdddc18291
commit
82a464f50f
@ -97,9 +97,10 @@ export class HaCardConditionNumericState extends LitElement {
|
||||
case "entity":
|
||||
return this.hass.localize("ui.components.entity.entity-picker.entity");
|
||||
case "below":
|
||||
return "Below";
|
||||
case "above":
|
||||
return "Above";
|
||||
return this.hass.localize(
|
||||
`ui.panel.lovelace.editor.condition-editor.condition.numeric_state.${schema.name}`
|
||||
);
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
@ -4759,7 +4759,9 @@
|
||||
"add": "Add condition",
|
||||
"condition": {
|
||||
"numeric_state": {
|
||||
"label": "Entity numeric state"
|
||||
"label": "Entity numeric state",
|
||||
"above": "Above",
|
||||
"below": "Below"
|
||||
},
|
||||
"screen": {
|
||||
"label": "Screen",
|
||||
|
Loading…
x
Reference in New Issue
Block a user