Skip to content

Commit

Permalink
fixed attribute template
Browse files Browse the repository at this point in the history
  • Loading branch information
bkbilly committed Aug 19, 2023
1 parent 6009bb0 commit 08611dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnxlink/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def setup_discovery_entities(
"value_template": options.get("value_template", ""),
"json_attributes_topic": state_topic,
"json_attributes_template": options.get(
"json_attributes_template", "{{ value_json | tojson }}"
"attributes_template", "{{ value_json | tojson }}"
),
},
"icon": {"icon": options.get("icon", "")},
Expand Down

0 comments on commit 08611dd

Please sign in to comment.