core/tests/components/unifi
Kim de Vos a8a7d01a84
Add temperature sensors for unifi device (#122518)
* Add temperature sensors for device

* Move to single line

* Use right reference

* Always return a value

* Update tests

* Use slugify for id name

* Return default value if not present

* Make _device_temperature return value

* Add default value if temperatures is None

* Set value to go over all code paths

* Add test for no matching temperatures

* make first part deterministic
2024-08-16 21:37:24 +02:00
..
snapshots Use snapshot in UniFi switch tests (#122871) 2024-08-15 21:29:32 +02:00
__init__.py
conftest.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_button.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_config_flow.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_device_tracker.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_diagnostics.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_hub.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_image.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_init.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_sensor.py Add temperature sensors for unifi device (#122518) 2024-08-16 21:37:24 +02:00
test_services.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00
test_switch.py Use snapshot in UniFi switch tests (#122871) 2024-08-15 21:29:32 +02:00
test_update.py Unifi improve fixture typing (#122864) 2024-07-30 19:33:25 +02:00