Skip to content

Commit

Permalink
use correct var
Browse files Browse the repository at this point in the history
  • Loading branch information
quimnut committed Sep 16, 2024
1 parent 3129bf2 commit 9739440
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/static/telemetry.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@
</td>
<td class="hidden lg:table-cell p-1 border border-gray-400 text-nowrap" align=right>
{% if item.payload.temperature is defined %}
{% if node.telemetry.temperature is number %}
{{ node.telemetry.temperature | round(2) }}&deg;C
{% if item.payload.temperature is number %}
{{ item.payload.temperature | round(2) }}&deg;C
{% else %}
{{ node.telemetry.temperature }}
{{ item.payload.temperature }}
{% endif %}
{% endif %}
</td>
Expand Down

0 comments on commit 9739440

Please sign in to comment.