tdfountain
16394061cb
Add additional outlet sensors to NUT ( #143309 )
...
Add outlet sensors for current, power, and real powre
2025-05-26 21:34:15 +02:00
tdfountain
f5c0c207ec
Fix display state to return None instead of STATE_UNKNOWN in NUT ( #143297 )
...
Fix return value to avoid STATE_UNKNOWN
2025-04-20 01:53:29 +02:00
tdfountain
9ed8419b5d
Add device class ENUM and options for sensors in NUT ( #142242 )
...
Add device class ENUM and options for sensors
2025-04-04 09:48:39 +02:00
Mauricio Bonani
ec20e41836
Improve the readability of status messages in NUT ( #141335 )
...
Improve the readability of status messages
2025-03-30 16:26:44 +02:00
tdfountain
8b9939c344
Remove invalid watts sensor from NUT ( #141401 )
2025-03-25 09:04:07 -10:00
tdfountain
598a75379b
Add sensor native unit of measure in NUT ( #141338 )
2025-03-24 19:11:13 -10:00
tdfountain
af96fedc0f
Alphabetize key lists for strings, icons and sensors in NUT ( #141254 )
2025-03-23 15:58:41 -10:00
tdfountain
56cb54588e
Set parallel updates in NUT ( #141225 )
2025-03-23 09:35:58 -10:00
tdfountain
ddd67a7e58
Add PDU dynamic outlet buttons to NUT ( #140317 )
2025-03-22 13:04:20 -10:00
tdfountain
92c619cdd6
Create new entity base class for NUT ( #141122 )
2025-03-22 07:40:47 -10:00
tdfountain
2571725eb9
Add metered PDU dynamic outlet sensors to NUT ( #140179 )
...
* Add metered PDU dynamic outlet sensors
* Make deep copy and improve efficiency of loops
* Improve performance by creating new dict
Co-authored-by: J. Nick Koston <nick+github@koston.org >
* Remove unused import copy
* Use outlet name (if available) in friendly name and remove as separate sensor
---------
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-03-21 11:41:43 -10:00
tdfountain
1c1a950c05
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 >
2025-03-05 12:12:56 +00:00
tdfountain
782f504522
Add common PDU sensors to NUT ( #139669 )
...
* Add common PDU sensors and alphabetize sensors list
* Back out code quality improvements
* Change voltage and current status to diagnostic and disabled by default
2025-03-04 17:26:43 -10:00
tdfountain
51a881f3b5
Add ambient temperature and humidity status sensors to NUT ( #124181 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-02-24 14:09:43 +00:00
Erik Montnemery
f83c8de8d3
Update signature of platforms' async_setup_entry ( #138201 )
2025-02-10 21:08:03 +01:00
tdfountain
a05a34239d
Show NUT device serial number if provided in Device Info ( #124168 )
2024-11-03 17:27:27 -06:00
tdfountain
ec2db38516
Move input current from diagnostic to regular sensor in NUT ( #124183 )
...
Move input current from Diagnostic
Co-authored-by: Shay Levy <levyshay1@gmail.com >
2024-09-18 13:16:35 +02:00
tdfountain
6b75c86a17
Move ambient sensors (temperature and humidity) to diagnostic in NUT ( #124180 )
...
Move ambient sensors (temperature and humidity) to Diagnostic
2024-09-06 16:53:05 +02:00
Michael
90a3c2e357
Store runtime data inside the config entry in NUT ( #116771 )
...
* store runtime data inside the config entry
* remove unsued constants
* add test for InvalidDeviceAutomationConfig exception
* assert entry
* add more specific type hint
2024-05-04 23:08:01 +02:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] ( #112702 )
2024-03-08 15:04:07 +01:00
J. Nick Koston
8e9946afc9
Remove update_before_add from nut sensors ( #111032 )
2024-02-20 21:12:06 +01:00
Jan Rieger
a042073d2f
Add nut icon translations ( #108471 )
2024-01-20 15:17:28 -05:00
Tomáš Holý
9bc07f50f9
Add additional fields for 3-phase UPS to nut ( #98625 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2023-09-06 11:39:33 -05:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Michael
1cce55d176
Add entity name translations to NUT ( #90709 )
2023-04-03 18:18:23 +02:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
zebardy
af107d7853
Add support for additional fields to nut ( #83265 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2023-01-22 19:24:30 -10:00
epenet
4192e2377c
Use Frequency and Current device classes in nut ( #83623 )
...
* Use Frequency and Current device classes in nut
* One more
2022-12-09 13:31:42 +01:00
ollo69
39b27e4d38
Improve NUT typing ( #72002 )
2022-05-17 13:08:38 +02:00
ollo69
1747061820
Enable NUT strict typing ( #71913 )
2022-05-16 18:51:30 -05:00
epenet
80b6195505
Add sensor setup type hints [m-n] ( #63314 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com >
2022-01-03 19:09:36 +01:00
Michael
83989d7b40
Use relative imports [L-R] ( #61575 )
2021-12-13 00:24:46 +01:00
ollo69
6cba03aa4a
Remove resources selection from Nut config flow ( #59450 )
...
* Remove resources selection from Nut config flow
* Code clean-up
* Requested changes
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-11-10 13:49:05 +01:00
Robert Hillis
2df13d0118
Use DeviceInfo Class N-O ( #58314 )
2021-10-24 11:34:45 +02:00
ollo69
fe0291012c
Use attr_device_info and add init tests for nut ( #57725 )
2021-10-17 07:43:15 -10:00
ollo69
827501659c
Nut: Use coordinator data, code cleanup and add test coverage ( #57643 )
2021-10-13 16:05:06 -10:00
ollo69
b54fc0229d
Use entity_registry_enabled_default for Nut sensors ( #56854 )
2021-10-13 11:33:03 -10:00
Michael
b11db0b1d7
Remove unnecessary extra attribute from NUT sensors ( #56078 )
2021-09-10 19:17:46 -07:00
Michael
9e2945680e
Address late review of nut integration ( #54606 )
...
* remove defaults from SensorEntityDescription
* use _attr_unique_id instead of unique_id()
* check if unique_id is not None
2021-08-15 18:32:01 -05:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) ( #54475 )
2021-08-12 13:26:17 +02:00
Michael
6285c7775b
Use SensorEntityDescription and set state class measurement for NUT sensors ( #54269 )
2021-08-11 08:56:41 -05:00
Franck Nijhof
38d095aa18
Define entity attributes as entity class variables ( #50925 )
...
* Define entity attributes as entity class variables
* Example coronavirus integration
* Example verisure
* Cleanup/typing fixes
* Fix Coronavirus
* Revert "Fix Coronavirus"
This reverts commit 060843860f .
* Revert "Cleanup/typing fixes"
This reverts commit 659b79e75a .
* Define entity attributes as entity class variables (attr alternative)
* Example coronavirus
* Example nut
* Example verisure
* Mark private
* Cleanup after all reverting/cherrypicking/merging
* Implement all entity properties
* Update coronavirus example
* Update nut example
* Update verisure example
* Lets not talk about this one...
* Fix multiple class attribute
2021-05-22 09:13:50 -07:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity ( #48214 )
2021-03-22 19:46:46 +01:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
Michael
da1808226e
change log level to info ( #46823 )
2021-02-20 08:42:37 -10:00
J. Nick Koston
c621c0fa5d
Remove YAML support from nut ( #45276 )
2021-01-18 15:16:42 +01:00
J. Nick Koston
2525d319a3
Update nut to use CoordinatorEntity ( #39394 )
2020-08-30 14:40:26 +02:00
J. Nick Koston
50105eed74
Handle UPS disconnects in NUT ( #35758 )
2020-05-18 16:23:05 +02:00
J. Nick Koston
c8aa55439f
Undo NUT update listener on config reload ( #33986 )
2020-04-11 00:55:33 +02:00
J. Nick Koston
8be7cb4539
Update nut to use DataUpdateCoordinator ( #33831 )
...
* Convert nut to use DataUpdateCoordinator
* Adjust per review
* ups_list is a dict with {id: name, ...}
2020-04-08 18:26:10 -07:00