1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-13 07:20:01 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
springstan
7de1fe7416 Use percentage constant in more integrations () 2020-09-19 10:30:22 -05:00
springstan
d2b1918e9c Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
J. Nick Koston
abae48c287 Use config entry id for unique id if serial number is missing () 2020-04-16 14:59:30 -07:00
J. Nick Koston
188f3e35fd Add tests for additional nut ups models ()
* Add NUT tests for an Eaton 5E650I UPS

* add a test to make sure multiple ups get setup

* Add a few more upses

* fix missing status key

* cover

* Force CI run
2020-04-15 20:28:03 -05:00
J. Nick Koston
173d7fa060 Handle all zero serial numbers in NUT ()
* Handle all zero serial numbers in NUT

* Add additional nut tests

* Update homeassistant/components/nut/__init__.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* remove re

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-04-12 15:29:35 -07:00
springstan
9f713dac7f Use UNIT_PERCENTAGE constant () 2020-04-11 22:53:48 +02:00
J. Nick Koston
6e6ebb9495 Add tests for various NUT upses () 2020-04-11 18:17:57 +02:00