core/tests/components/nut
tdfountain 1c16fb8e42
Set and check unique id of config in NUT (#141783)
* Set and check unique id in config

* Update homeassistant/components/nut/config_flow.py

Set unique ID and abort only if value is defined

Co-authored-by: J. Nick Koston <nick+github@koston.org>

* Add duplicate ID test case for multiple devices

* Add unique ID check to config flow step for UPS

* Update homeassistant/components/nut/__init__.py

Fix to only set config_entries unique ID if not None

Co-authored-by: J. Nick Koston <nick+github@koston.org>

* Remove duplicate config flow call

---------

Co-authored-by: J. Nick Koston <nick+github@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-03-30 11:41:56 -10:00
..
fixtures Add conditional support for ambient sensors in NUT (#139675) 2025-03-05 12:12:56 +00:00
__init__.py
conftest.py
test_button.py Add PDU dynamic outlet buttons to NUT (#140317) 2025-03-22 13:04:20 -10:00
test_config_flow.py Set and check unique id of config in NUT (#141783) 2025-03-30 11:41:56 -10:00
test_device_action.py Add exception translation to NUT (#141629) 2025-03-28 16:43:16 +01:00
test_diagnostics.py
test_init.py Remove scan interval option from NUT (#141845) 2025-03-30 22:34:45 +02:00
test_sensor.py Add ambient state translations in NUT (#141772) 2025-03-29 21:00:53 -10:00
test_switch.py Add Switch platform and PDU dynamic outlet switches to NUT (#141159) 2025-03-22 19:27:52 -10:00
util.py Add metered PDU dynamic outlet sensors to NUT (#140179) 2025-03-21 11:41:43 -10:00