Hello guys!

I’m developing a NodeJS module that it’s a NUT (Networks UPS Tools) client, and at the same time, a Pimatic plugin that use it to monitor my UPS info.

You can see the result in the following image. I’m pretty happy, except for the “OL”. This is the status of the UPS (OL is On Line and OB is On Battery).

pimatic-nut

I would like to show the status in a more attractive way. Something like the status used in pimatic-ping.

I know I could do it if I code a new class that extends env.devices.PresenceSensor, like plugin-ping does, but then I couldn’t show all that variables in a row like now.

Is there a way to do it? @sweetpi ?

Thank you very much in advance!