Open
Description
While editing the upsstats-single.html
template to produce JSON output I discovered that the @STATUS@ template variable returns a spurious <br>
element, as in ONLINE<br>
I haven't tested the output of other values for this variable.
This is running on a Raspberry Pi. Here's the driver info block output from upsc
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: ffff
driver.parameter.synchronous: auto
driver.parameter.vendorid: 0463
driver.version: 2.8.0
driver.version.data: MGE HID 1.46
driver.version.internal: 0.47
driver.version.usb: libusb-1.0.26 (API: 0x1000109)