diff --git a/piusv/__init__.py b/piusv/__init__.py index a203d7e90..4edc12583 100755 --- a/piusv/__init__.py +++ b/piusv/__init__.py @@ -210,7 +210,7 @@ def poll_device(self): pass - def v_batt(self): + def u_batt(self): return self.get_parameter(0) def i_rasp(self): diff --git a/piusv/plugin.yaml b/piusv/plugin.yaml index fd5dd03f6..e7b379bbd 100755 --- a/piusv/plugin.yaml +++ b/piusv/plugin.yaml @@ -44,7 +44,7 @@ item_attributes: de: 'Funktion des piusv Plugins' en: 'Function of piusv Plugins' valid_list: - - 'v_batt' + - 'u_batt' - 'i_rasp' - 'u_rasp' - 'u_usb' @@ -73,9 +73,9 @@ item_structs: type: bool piusv_sys: update - v_batt: + u_batt: type: num - piusv_func: v_batt + piusv_func: u_batt visu_acl: ro i_rasp: @@ -115,9 +115,9 @@ item_structs: type: bool piusv_sys: update - v_batt: + u_batt: type: num - piusv_func: v_batt + piusv_func: u_batt visu_acl: ro i_rasp: @@ -153,7 +153,7 @@ item_structs: item_attribute_prefixes: NONE plugin_functions: - v_batt: + u_batt: type: int description: de: 'Batteriespannung' diff --git a/piusv/webif/templates/index.html b/piusv/webif/templates/index.html index e06ed6669..4844a78ee 100755 --- a/piusv/webif/templates/index.html +++ b/piusv/webif/templates/index.html @@ -29,7 +29,7 @@ {% endblock pluginscripts %} {% block headtable %} -{{ p.suspended }} +