Skip to content

Non-substituted template strings in texts #445

@envy

Description

@envy

I just parsed my project file with HA 2024.08.2 and got this:

"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:

"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"
        ]
      },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions