Skip to content

Commit 41f3248

Browse files
Refer to entity rather than sensor
1 parent c96ebc9 commit 41f3248

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

custom_components/label_state/translations/de.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"step": {
77
"user": {
88
"title": "Label State",
9-
"description": "Create a binary sensor that is on if any sensor with the label meets the criteria.",
9+
"description": "Create a binary sensor that is on if any entity with the label meets the criteria.",
1010
"menu_options": {
1111
"numeric_state": "Numeric state",
1212
"state": "State",
@@ -15,7 +15,7 @@
1515
},
1616
"numeric_state": {
1717
"title": "Label Numeric State",
18-
"description": "Create a binary sensor that is on if any sensor's value with the label is outside of its normal bounds.",
18+
"description": "Create a binary sensor that is on if any entities value with the label is outside of its normal bounds.",
1919
"data": {
2020
"label": "Label",
2121
"name": "Name",
@@ -25,7 +25,7 @@
2525
},
2626
"state": {
2727
"title": "Label State",
28-
"description": "Create a binary sensor that is on if any sensor with the label has the specified state.",
28+
"description": "Create a binary sensor that is on if any entity with the label has the specified state.",
2929
"data": {
3030
"label": "Label",
3131
"name": "Name",
@@ -34,7 +34,7 @@
3434
},
3535
"state_not": {
3636
"title": "Label Not State",
37-
"description": "Create a binary sensor that is on if any sensor with the label does not have the specified state.",
37+
"description": "Create a binary sensor that is on if any entity with the label does not have the specified state.",
3838
"data": {
3939
"label": "Label",
4040
"name": "Name",
@@ -50,7 +50,7 @@
5050
"step": {
5151
"numeric_state": {
5252
"title": "Label Numeric State",
53-
"description": "Create a binary sensor that is on if any sensor's value with the label is outside of its normal bounds.",
53+
"description": "Create a binary sensor that is on if any entities value with the label is outside of its normal bounds.",
5454
"data": {
5555
"label": "Label",
5656
"state_lower_limit": "Lower bound",
@@ -59,15 +59,15 @@
5959
},
6060
"state": {
6161
"title": "Label State",
62-
"description": "Create a binary sensor that is on if any sensor with the label has the specified state.",
62+
"description": "Create a binary sensor that is on if any entity with the label has the specified state.",
6363
"data": {
6464
"label": "Label",
6565
"state_to": "Is"
6666
}
6767
},
6868
"state_not": {
6969
"title": "Label Not State",
70-
"description": "Create a binary sensor that is on if any sensor with the label does not have the specified state.",
70+
"description": "Create a binary sensor that is on if any entity with the label does not have the specified state.",
7171
"data": {
7272
"label": "Label",
7373
"state_not": "Not"

custom_components/label_state/translations/en.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"step": {
77
"user": {
88
"title": "Label State",
9-
"description": "Create a binary sensor that is on if any sensor with the label meets the criteria.",
9+
"description": "Create a binary sensor that is on if any entity with the label meets the criteria.",
1010
"menu_options": {
1111
"numeric_state": "Numeric state",
1212
"state": "State",
@@ -15,7 +15,7 @@
1515
},
1616
"numeric_state": {
1717
"title": "Label Numeric State",
18-
"description": "Create a binary sensor that is on if any sensor's value with the label is outside of its normal bounds.",
18+
"description": "Create a binary sensor that is on if any entities value with the label is outside of its normal bounds.",
1919
"data": {
2020
"label": "Label",
2121
"name": "Name",
@@ -25,7 +25,7 @@
2525
},
2626
"state": {
2727
"title": "Label State",
28-
"description": "Create a binary sensor that is on if any sensor with the label has the specified state.",
28+
"description": "Create a binary sensor that is on if any entity with the label has the specified state.",
2929
"data": {
3030
"label": "Label",
3131
"name": "Name",
@@ -34,7 +34,7 @@
3434
},
3535
"state_not": {
3636
"title": "Label Not State",
37-
"description": "Create a binary sensor that is on if any sensor with the label does not have the specified state.",
37+
"description": "Create a binary sensor that is on if any entity with the label does not have the specified state.",
3838
"data": {
3939
"label": "Label",
4040
"name": "Name",
@@ -50,7 +50,7 @@
5050
"step": {
5151
"numeric_state": {
5252
"title": "Label Numeric State",
53-
"description": "Create a binary sensor that is on if any sensor's value with the label is outside of its normal bounds.",
53+
"description": "Create a binary sensor that is on if any entities value with the label is outside of its normal bounds.",
5454
"data": {
5555
"label": "Label",
5656
"state_lower_limit": "Lower bound",
@@ -59,15 +59,15 @@
5959
},
6060
"state": {
6161
"title": "Label State",
62-
"description": "Create a binary sensor that is on if any sensor with the label has the specified state.",
62+
"description": "Create a binary sensor that is on if any entity with the label has the specified state.",
6363
"data": {
6464
"label": "Label",
6565
"state_to": "Is"
6666
}
6767
},
6868
"state_not": {
6969
"title": "Label Not State",
70-
"description": "Create a binary sensor that is on if any sensor with the label does not have the specified state.",
70+
"description": "Create a binary sensor that is on if any entity with the label does not have the specified state.",
7171
"data": {
7272
"label": "Label",
7373
"state_not": "Not"
@@ -90,6 +90,5 @@
9090
"off": "Off"
9191
}
9292
}
93-
9493
}
9594
}

images/label_state.png

-679 Bytes
Loading

images/label_state_numeric.png

-114 Bytes
Loading

0 commit comments

Comments
 (0)