|
1 | 1 | { |
2 | 2 | "title": "Proximity", |
3 | 3 | "config": { |
4 | | - "flow_title": "Proximity", |
| 4 | + "flow_title": "[%key:component::proximity::title%]", |
5 | 5 | "step": { |
6 | 6 | "user": { |
7 | 7 | "data": { |
8 | 8 | "zone": "Zone to track distance to", |
9 | 9 | "ignored_zones": "Zones to ignore", |
10 | | - "tracked_entities": "Devices or Persons to track", |
| 10 | + "tracked_entities": "Devices or persons to track", |
11 | 11 | "tolerance": "Tolerance distance" |
12 | 12 | } |
13 | 13 | } |
|
21 | 21 | "step": { |
22 | 22 | "init": { |
23 | 23 | "data": { |
24 | | - "zone": "Zone to track distance to", |
25 | | - "ignored_zones": "Zones to ignore", |
26 | | - "tracked_entities": "Devices or Persons to track", |
27 | | - "tolerance": "Tolerance distance" |
| 24 | + "zone": "[%key:component::proximity::config::step::user::data::zone%]", |
| 25 | + "ignored_zones": "[%key:component::proximity::config::step::user::data::ignored_zones%]", |
| 26 | + "tracked_entities": "[%key:component::proximity::config::step::user::data::tracked_entities%]", |
| 27 | + "tolerance": "[%key:component::proximity::config::step::user::data::tolerance%]" |
28 | 28 | } |
29 | 29 | } |
30 | 30 | } |
31 | 31 | }, |
32 | 32 | "entity": { |
33 | 33 | "sensor": { |
34 | 34 | "dir_of_travel": { |
35 | | - "name": "{tracked_entity} Direction of travel", |
| 35 | + "name": "{tracked_entity} direction of travel", |
36 | 36 | "state": { |
37 | 37 | "arrived": "Arrived", |
38 | 38 | "away_from": "Away from", |
39 | 39 | "stationary": "Stationary", |
40 | 40 | "towards": "Towards" |
41 | 41 | } |
42 | 42 | }, |
43 | | - "dist_to_zone": { "name": "{tracked_entity} Distance" }, |
| 43 | + "dist_to_zone": { "name": "{tracked_entity} distance" }, |
44 | 44 | "nearest": { "name": "Nearest device" }, |
45 | 45 | "nearest_dir_of_travel": { |
46 | 46 | "name": "Nearest direction of travel", |
47 | 47 | "state": { |
48 | | - "arrived": "Arrived", |
49 | | - "away_from": "Away from", |
50 | | - "stationary": "Stationary", |
51 | | - "towards": "Towards" |
| 48 | + "arrived": "[%key:component::proximity::entity::sensor::dir_of_travel::state::arrived%]", |
| 49 | + "away_from": "[%key:component::proximity::entity::sensor::dir_of_travel::state::away_from%]", |
| 50 | + "stationary": "[%key:component::proximity::entity::sensor::dir_of_travel::state::stationary%]", |
| 51 | + "towards": "[%key:component::proximity::entity::sensor::dir_of_travel::state::towards%]" |
52 | 52 | } |
53 | 53 | }, |
54 | 54 | "nearest_dist_to_zone": { "name": "Nearest distance" } |
|
0 commit comments