ITADN

Non-substituted template strings in texts

#445Openenvy 创建于 2024-08-17
E
envycommented
I just parsed my project file with HA 2024.08.2 and got this: ```json "1.0.13/MD-1_M-1_MI-1_O-2-0_R-7": { "name": "ECG 1, Switching", "number": 559, "text": "EVG {{ECG_NO}}, Schalten Flur", "function_text": "Ein/Aus", "description": "", "device_address": "1.0.13", "device_application": "M-0083_A-0153-10-297A-O00EF", "module_def": { "definition": "MD-1", "root_number": 0 }, "channel": null, "dpts": [ { "main": 1, "sub": 1 } ], "object_size": "1 Bit", "flags": { "read": false, "write": true, "communication": true, "update": false, "read_on_init": false, "transmit": false }, "group_address_links": [ "7/0/0", "30/0/0" ] }, ``` The `text` key contains a non-substituted template string. This did work before, here is the same entry from xknxproject v3.6.0: ```json "1.0.13/MD-1_M-1_MI-1_O-2-0_R-7": { "name": "ECG 1, Switching", "number": 559, "text": "EVG 1, Schalten Flur", "function_text": "Ein/Aus", "description": "", "device_address": "1.0.13", "device_application": "M-0083_A-0153-10-297A-O00EF", "module_def": { "definition": "MD-1", "root_number": 0 }, "channel": null, "dpts": [ { "main": 1, "sub": 1 } ], "object_size": "1 Bit", "flags": { "read": false, "write": true, "communication": true, "update": false, "read_on_init": false, "transmit": false }, "group_address_links": [ "7/0/0", "30/0/0" ] }, ```
6 条评论