Skip to content

Commit 46b876a

Browse files
committed
Rename v_batt to u_batt
1 parent 19defb9 commit 46b876a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

piusv/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def poll_device(self):
210210

211211
pass
212212

213-
def v_batt(self):
213+
def u_batt(self):
214214
return self.get_parameter(0)
215215

216216
def i_rasp(self):

piusv/plugin.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ item_attributes:
4444
de: 'Funktion des piusv Plugins'
4545
en: 'Function of piusv Plugins'
4646
valid_list:
47-
- 'v_batt'
47+
- 'u_batt'
4848
- 'i_rasp'
4949
- 'u_rasp'
5050
- 'u_usb'
@@ -73,9 +73,9 @@ item_structs:
7373
type: bool
7474
piusv_sys: update
7575

76-
v_batt:
76+
u_batt:
7777
type: num
78-
piusv_func: v_batt
78+
piusv_func: u_batt
7979
visu_acl: ro
8080

8181
i_rasp:
@@ -115,9 +115,9 @@ item_structs:
115115
type: bool
116116
piusv_sys: update
117117

118-
v_batt:
118+
u_batt:
119119
type: num
120-
piusv_func: v_batt
120+
piusv_func: u_batt
121121
visu_acl: ro
122122

123123
i_rasp:
@@ -153,7 +153,7 @@ item_structs:
153153
item_attribute_prefixes: NONE
154154

155155
plugin_functions:
156-
v_batt:
156+
u_batt:
157157
type: int
158158
description:
159159
de: 'Batteriespannung'

piusv/webif/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{% endblock pluginscripts %}
3030

3131
{% block headtable %}
32-
<span id='suspended' style="display:inone">{{ p.suspended }}</span>
32+
<span id='suspended' style="display:none">{{ p.suspended }}</span>
3333

3434
<table class="table table-striped table-hover">
3535
<tbody>

0 commit comments

Comments
 (0)