Repository navigation
Expand file tree
/
Copy pathstrings.json
More file actions
261 lines (261 loc) · 12.2 KB
/
Copy pathstrings.json
File metadata and controls
261 lines (261 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
{
"config": {
"step": {
"user": {
"title": "Add Docker Container",
"description": "Enter the details for the remote Docker container.",
"data": {
"name": "Name",
"service": "Service",
"host": "Host",
"port": "Port",
"username": "Username",
"password": "Password",
"key_file": "Key File",
"passphrase": "Passphrase",
"check_known_hosts": "Check Known Hosts",
"known_hosts": "Known Hosts",
"docker_command": "Docker Command",
"check_for_updates": "Check for Updates",
"auto_update": "Auto Update"
},
"data_description": {
"name": "A friendly display name for this container in Home Assistant (e.g. My Web Server).",
"service": "The exact container name on the remote host, as shown by `docker ps` (e.g. my_web_server).",
"host": "IP address or hostname of the remote machine running Docker.",
"port": "SSH port of the remote host (default: 22).",
"username": "SSH username used to connect to the remote host.",
"password": "SSH password. Leave empty if authenticating with a key file.",
"key_file": "Absolute path to the SSH private key file on the Home Assistant machine. Leave empty if authenticating with a password.",
"passphrase": "Passphrase for the SSH private key file. Leave empty if the key has no passphrase.",
"check_known_hosts": "Verify the remote host against a known_hosts file before connecting.",
"known_hosts": "Absolute path to the SSH known_hosts file on the Home Assistant machine.",
"docker_command": "Docker executable to use on the remote host (e.g. `docker` or `sudo docker`).",
"check_for_updates": "Periodically check whether a newer image is available for this container.",
"auto_update": "Automatically recreate the container when a newer image is available."
}
}
},
"error": {
"password_or_key_file_required": "[E001] Either password or key file must be provided.",
"cannot_connect": "[E002] Cannot connect to the remote host.",
"docker_command_failed": "[E003] The docker command failed. Check that the docker command is correct, that the executable exists on the remote host (use its absolute path, especially with `sudo`), and that the user has permission to run it.",
"host_key_not_verifiable": "[E004] The host key could not be verified.",
"login_failed": "[E005] SSH login failed. Check username and password/key file.",
"host_not_reachable": "[E006] Host is not reachable.",
"connection_timed_out": "[E007] Connection to the host timed out.",
"docker_service_not_found": "[E008] The service name was not found on the remote host. Check the name and make sure the container exists.",
"docker_command_not_found": "[E009] The docker executable was not found on the remote host. Use the absolute path to the executable (e.g. /usr/bin/docker) or add it to the PATH of non-interactive SSH sessions.",
"known_hosts_not_found": "[E010] The known hosts file was not found. Provide the path to an existing known hosts file, create the default one (~/.ssh/known_hosts) on the Home Assistant machine, or disable 'Check Known Hosts'.",
"known_hosts_with_check_disabled": "[E011] The known hosts file was provided but 'Check Known Hosts' is disabled. Either enable 'Check Known Hosts' or remove the known hosts file path."
},
"abort": {
"service_not_found": "The service ssh_command.execute was not found. Please install SSH Command through HACS and add it as an integration.",
"already_configured": "This docker container on this host is already configured.",
"already_in_progress": "A setup flow for this docker container on this host is already in progress."
}
},
"options": {
"step": {
"init": {
"title": "Update Docker Container Options",
"data": {
"host": "Host",
"port": "Port",
"username": "Username",
"password": "Password",
"key_file": "Key File",
"passphrase": "Passphrase",
"check_known_hosts": "Check Known Hosts",
"known_hosts": "Known Hosts",
"docker_command": "Docker Command",
"check_for_updates": "Check for Updates",
"auto_update": "Auto Update"
},
"data_description": {
"host": "IP address or hostname of the remote machine running Docker.",
"port": "SSH port of the remote host (default: 22).",
"username": "SSH username used to connect to the remote host.",
"password": "SSH password. Leave empty if authenticating with a key file.",
"key_file": "Absolute path to the SSH private key file on the Home Assistant machine. Leave empty if authenticating with a password.",
"passphrase": "Passphrase for the SSH private key file. Leave empty if the key has no passphrase.",
"check_known_hosts": "Verify the remote host against a known_hosts file before connecting.",
"known_hosts": "Absolute path to the SSH known_hosts file on the Home Assistant machine.",
"docker_command": "Docker executable to use on the remote host (e.g. `docker` or `sudo docker`).",
"check_for_updates": "Periodically check whether a newer image is available for this container.",
"auto_update": "Automatically recreate the container when a newer image is available."
}
}
},
"error": {
"password_or_key_file_required": "[E001] Either password or key file must be provided.",
"cannot_connect": "[E002] Cannot connect to the remote host.",
"docker_command_failed": "[E003] The docker command failed. Check that the docker command is correct, that the executable exists on the remote host (use its absolute path, especially with `sudo`), and that the user has permission to run it.",
"host_key_not_verifiable": "[E004] The host key could not be verified.",
"login_failed": "[E005] SSH login failed. Check username and password/key file.",
"host_not_reachable": "[E006] Host is not reachable.",
"connection_timed_out": "[E007] Connection to the host timed out.",
"docker_command_not_found": "[E009] The docker executable was not found on the remote host. Use the absolute path to the executable (e.g. /usr/bin/docker) or add it to the PATH of non-interactive SSH sessions.",
"known_hosts_not_found": "[E010] The known hosts file was not found. Provide the path to an existing known hosts file, create the default one (~/.ssh/known_hosts) on the Home Assistant machine, or disable 'Check Known Hosts'.",
"known_hosts_with_check_disabled": "[E011] The known hosts file was provided but 'Check Known Hosts' is disabled. Either enable 'Check Known Hosts' or remove the known hosts file path."
}
},
"services": {
"create": {
"name": "Create Docker Container",
"description": "Creates a docker container using the docker_create executable on the remote host.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "The entity ID of the docker container sensor."
}
}
},
"restart": {
"name": "Restart Docker Container",
"description": "Restarts a docker container on the remote host.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "The entity ID of the docker container sensor."
}
}
},
"stop": {
"name": "Stop Docker Container",
"description": "Stops a docker container on the remote host.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "The entity ID of the docker container sensor."
}
}
},
"remove": {
"name": "Remove Docker Container",
"description": "Stops and removes a docker container on the remote host.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "The entity ID of the docker container sensor."
}
}
},
"refresh": {
"name": "Refresh Docker Container Info",
"description": "Refreshes the sensor state for a docker container on the remote host.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "The entity ID of the docker container sensor."
}
}
},
"get_logs": {
"name": "Get Docker Container Logs",
"description": "Fetches the recent logs of a docker container on the remote host.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "The entity ID of the docker container sensor."
}
}
},
"execute_command": {
"name": "Execute Command in Docker Container",
"description": "Executes an arbitrary command inside the docker container on the remote host and returns the output.",
"fields": {
"entity_id": {
"name": "Entity ID",
"description": "The entity ID of the docker container sensor."
},
"command": {
"name": "Command",
"description": "The command to execute inside the docker container."
},
"timeout": {
"name": "Timeout",
"description": "Maximum number of seconds to wait for the command to complete. Defaults to 60."
}
}
}
},
"entity": {
"sensor": {
"state": {
"name": "State",
"state": {
"running": "Running",
"exited": "Exited",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"starting": "Starting",
"stopping": "Stopping",
"removing": "Removing",
"creating": "Creating",
"initializing": "Initializing",
"recreating": "Recreating",
"dead": "Dead",
"unavailable": "Unavailable",
"pulling": "Pulling",
"refreshing": "Refreshing"
}
}
},
"update": {
"update": {
"name": "Update"
}
},
"ui": {
"host_label": { "name": "Host" },
"created_label": { "name": "Created" },
"update_available": { "name": "⬆ Update available" },
"btn_update": { "name": "⬆ Update" },
"btn_recreate": { "name": "✚ Recreate" },
"btn_create": { "name": "✚ Create" },
"btn_restart": { "name": "↺ Restart" },
"btn_start": { "name": "▶ Start" },
"btn_stop": { "name": "■ Stop" },
"btn_remove": { "name": "🗑 Remove" },
"btn_refresh": { "name": "↻ Refresh" },
"btn_logs": { "name": "📋 Logs" },
"logs_btn_refresh": { "name": "↺ Refresh" },
"logs_btn_loading": { "name": "↻ …" },
"logs_btn_updated": { "name": "✓ Updated" },
"logs_aria_refresh": { "name": "Refresh logs" },
"logs_aria_loading": { "name": "Loading logs" },
"logs_aria_auto": { "name": "Auto-refresh every 5 seconds" },
"logs_aria_close": { "name": "Close" },
"logs_auto_label": { "name": "Auto 5s" },
"logs_fetching": { "name": "Fetching logs…" },
"logs_no_output": { "name": "(no output)" },
"logs_fetch_error": { "name": "Error fetching logs:" },
"unknown_host": { "name": "Unknown Host" },
"all_states": { "name": "All states" },
"updates_filter": { "name": "⬆ Updates" },
"all_hosts": { "name": "All Hosts" },
"no_containers": { "name": "No Docker containers found." },
"setup_failed_badge": { "name": "⚠ Setup failed" },
"setup_failed_section": { "name": "Failed to set up" },
"setup_failed_hint": { "name": "The container may have been removed from the remote host." },
"btn_open_settings": { "name": "Open settings" },
"search_placeholder": { "name": "Filter by name…" }
}
},
"exceptions": {
"entity_not_found": {
"message": "Could not find the specified entity."
},
"docker_create_not_found": {
"message": "The docker_create executable was not found on the remote host."
},
"docker_create_failed": {
"message": "The docker_create command failed."
},
"docker_command_failed": {
"message": "The docker command failed."
}
}
}