mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +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":
|
case "entity":
|
||||||
return this.hass.localize("ui.components.entity.entity-picker.entity");
|
return this.hass.localize("ui.components.entity.entity-picker.entity");
|
||||||
case "below":
|
case "below":
|
||||||
return "Below";
|
|
||||||
case "above":
|
case "above":
|
||||||
return "Above";
|
return this.hass.localize(
|
||||||
|
`ui.panel.lovelace.editor.condition-editor.condition.numeric_state.${schema.name}`
|
||||||
|
);
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
@ -4759,7 +4759,9 @@
|
|||||||
"add": "Add condition",
|
"add": "Add condition",
|
||||||
"condition": {
|
"condition": {
|
||||||
"numeric_state": {
|
"numeric_state": {
|
||||||
"label": "Entity numeric state"
|
"label": "Entity numeric state",
|
||||||
|
"above": "Above",
|
||||||
|
"below": "Below"
|
||||||
},
|
},
|
||||||
"screen": {
|
"screen": {
|
||||||
"label": "Screen",
|
"label": "Screen",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user