|
1 | 1 | {
|
2 |
| - "config": { |
3 |
| - "step": { |
4 |
| - "user": { |
5 |
| - "title": "Set up C.M.I", |
6 |
| - "data": { |
7 |
| - "host": "Base url of the C.M.I (http://IP)", |
8 |
| - "username": "Username", |
9 |
| - "password": "Password", |
10 |
| - "fetch_can_logging": "Use additional data sources for supported devices" |
11 |
| - } |
12 |
| - }, |
13 |
| - "devices": { |
14 |
| - "title": "Set up Nodes", |
15 |
| - "description": "Select devices to monitor from the list below", |
16 |
| - "data": { |
17 |
| - "devices": "Connected devices", |
18 |
| - "edit_channels": "Edit channels?", |
19 |
| - "fetchmode": "Fetch all channels. (Otherwise only defined channels)" |
20 |
| - } |
21 |
| - }, |
22 |
| - "channel": { |
23 |
| - "title": "Configure channel", |
24 |
| - "description": "Configure the channel to your needs", |
25 |
| - "data": { |
26 |
| - "node": "Node", |
27 |
| - "id": "ID of the channel", |
28 |
| - "type": "Input type", |
29 |
| - "name": "Name of the sensor", |
30 |
| - "device_class": "Override the device class (Optional)", |
31 |
| - "edit_more_channels": "Edit other channels?" |
32 |
| - } |
| 2 | + "config": { |
| 3 | + "step": { |
| 4 | + "user": { |
| 5 | + "title": "Set up C.M.I", |
| 6 | + "data": { |
| 7 | + "host": "Base url of the C.M.I (http://IP)", |
| 8 | + "username": "Username", |
| 9 | + "password": "Password", |
| 10 | + "fetch_can_logging": "Use additional data sources for supported devices" |
33 | 11 | }
|
34 | 12 | },
|
35 |
| - "error": { |
36 |
| - "rate_limit": "C.M.I rate limit reached. Try again in one minute.", |
37 |
| - "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", |
38 |
| - "device_error": "Error while communicating with a device. See logs for details.", |
39 |
| - "invalid_device" : "Invalid device connected to the CMI. See logs for details.", |
40 |
| - "unknown": "[%key:common::config_flow::error::unknown%]", |
41 |
| - "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]" |
| 13 | + "devices": { |
| 14 | + "title": "Set up Nodes", |
| 15 | + "data": { |
| 16 | + "devices": "Select devices to monitor from the list below", |
| 17 | + "edit_channels": "Edit channels?", |
| 18 | + "fetchmode": "Fetch all channels. (Otherwise only defined channels)" |
| 19 | + } |
| 20 | + }, |
| 21 | + "channel": { |
| 22 | + "title": "Configure channel", |
| 23 | + "description": "Configure the channel to your needs", |
| 24 | + "data": { |
| 25 | + "node": "Node", |
| 26 | + "id": "ID of the channel", |
| 27 | + "type": "Input type", |
| 28 | + "name": "Name of the sensor", |
| 29 | + "device_class": "Override the device class (Optional)", |
| 30 | + "edit_more_channels": "Edit other channels?" |
| 31 | + } |
42 | 32 | }
|
43 | 33 | },
|
44 |
| - "options": { |
45 |
| - "step": { |
46 |
| - "init": { |
47 |
| - "title": "Options", |
48 |
| - "data": { |
49 |
| - "scan_interval": "Update interval (minutes)", |
50 |
| - "host": "Base url of the C.M.I (http://IP)" |
51 |
| - } |
| 34 | + "error": { |
| 35 | + "rate_limit": "C.M.I rate limit reached. Try again in one minute.", |
| 36 | + "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", |
| 37 | + "device_error": "Error while communicating with a device. See logs for details.", |
| 38 | + "invalid_device" : "Invalid device connected to the CMI. It was ignored. See logs for details.", |
| 39 | + "unknown": "[%key:common::config_flow::error::unknown%]", |
| 40 | + "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]" |
| 41 | + } |
| 42 | + }, |
| 43 | + "options": { |
| 44 | + "step": { |
| 45 | + "init": { |
| 46 | + "title": "Options", |
| 47 | + "data": { |
| 48 | + "scan_interval": "Update interval (minutes)", |
| 49 | + "host": "Base url of the C.M.I (http://IP)" |
52 | 50 | }
|
53 |
| - }, |
54 |
| - "error": { |
55 |
| - "rate_limit": "C.M.I rate limit reached. Try again in one minute.", |
56 |
| - "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", |
57 |
| - "device_error": "Error while communicating with a device. See logs for details.", |
58 |
| - "invalid_device" : "Invalid device connected to the CMI. See logs for details.", |
59 |
| - "unknown": "[%key:common::config_flow::error::unknown%]", |
60 |
| - "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]" |
61 | 51 | }
|
| 52 | + }, |
| 53 | + "error": { |
| 54 | + "rate_limit": "C.M.I rate limit reached. Try again in one minute.", |
| 55 | + "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", |
| 56 | + "device_error": "Error while communicating with a device. See logs for details.", |
| 57 | + "invalid_device" : "Invalid device connected to the CMI. It was ignored. See logs for details.", |
| 58 | + "unknown": "[%key:common::config_flow::error::unknown%]", |
| 59 | + "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]" |
62 | 60 | }
|
63 | 61 | }
|
| 62 | +} |
0 commit comments