Skip to content

Commit

Permalink
Tasmota Plugin:
Browse files Browse the repository at this point in the history
- revert direct use of _plg_item_dict
  • Loading branch information
sisamiwe committed May 21, 2023
1 parent 88d51e2 commit a837fa2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tasmota/webif/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,6 @@


{% block bodytab6 %}
<!--
<div class="container-fluid m-2">
<table id="" class="table table-striped table-hover pluginList">
<thead>
Expand All @@ -706,40 +705,41 @@
</tr>
</thead>
<tbody>
{% for device in p.tasmota_objects_dict %}
{% for device in p.tasmota_devices %}
<tr>
<td>{{ device }}</td>
<td>{{ p.tasmota_objects_dict[device] }}</td>
<td>{{ p.tasmota_devices[device] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
-->

</br>
</br>

<div class="container-fluid m-2">
<table id="" class="table table-striped table-hover pluginList">
<thead>
<tr class="shng_heading">
<th>{{ _('Tasmota Device') }}</th>
<th>{{ _('Tasmota Device Details') }}</th>
<th>{{ _('Tasmota Items') }}</th>
<th>{{ _('Tasmota Item Config') }}</th>
</tr>
</thead>
<tbody>
{% for device in p.tasmota_devices %}
{% for item in p.get_item_list() %}
<tr>
<td>{{ device }}</td>
<td>{{ p.tasmota_devices[device] }}</td>
<td>{{ item }}</td>
<td>{{ p.get_item_config(item) }}</td>
</tr>
{% endfor %}
<tr>
<td>{{ '_plg_item_dict' }}</td>
<td>{{ p._plg_item_dict }}</td>
</tr>
</tbody>
</table>
</div>

</br>
</br>

<div class="container-fluid m-2">
<table id="" class="table table-striped table-hover pluginList">
<thead>
Expand Down

0 comments on commit a837fa2

Please sign in to comment.