Closed faxbio closed 2 years ago
the old code alway returned true. casting to a boolean a string. in addition i've reversed the boolean to raise in ha the status false when a battery has a problem. tested in my real case environment. Battery almost empty leads to "bat: 1" .
the old code alway returned true. casting to a boolean a string. in addition i've reversed the boolean to raise in ha the status false when a battery has a problem. tested in my real case environment. Battery almost empty leads to "bat: 1" .