-
- Downloads
Add conditional support for ambient sensors in NUT (#139675)
* Conditionally remove ambient sensors if not present * Create ambient sensors list and use list comprehension * Update homeassistant/components/nut/sensor.py Co-authored-by:J. Nick Koston <nick@koston.org> --------- Co-authored-by:
J. Nick Koston <nick@koston.org>
Showing
- homeassistant/components/nut/sensor.py 11 additions, 0 deletionshomeassistant/components/nut/sensor.py
- tests/components/nut/fixtures/EATON-EPDU-G3-AMBIENT-NOT-PRESENT.json 539 additions, 0 deletions...nents/nut/fixtures/EATON-EPDU-G3-AMBIENT-NOT-PRESENT.json
- tests/components/nut/test_sensor.py 32 additions, 0 deletionstests/components/nut/test_sensor.py
Loading
Please register or sign in to comment