Commit Graph
243 Commits
Author SHA1 Message Date
J. Nick Koston 37c60d800e Bump aionut to 4.3.3 (#120313) 2024-06-24 14:32:52 +02:00
Marc Mueller 44049c34f9 Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
Sid 2cc916db6d Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +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
SidandMartin Hjelmare 0d66d298ec Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
J. Nick Koston c3f4aca4e3 Add reauth support to NUT (#114131) 2024-03-25 07:59:46 -10:00
J. Nick Koston e8fe3d349b Bump aionut to 4.3.2 (#114142) 2024-03-24 15:55:13 -10:00
J. Nick Koston 04b3049a7b Bump aionut to 4.2.1 (#114132) 2024-03-24 12:57:58 -10:00
J. Nick Koston 17378ce408 Bump aionut to 4.1.0 (#114125)
Handles auth errors after the password has been sent
This means we will be able to have some decent error
reporting and reauth support in the future

changelog: https://github.com/bdraco/aionut/compare/v4.0.0...v4.1.0
2024-03-24 20:50:32 +01:00
J. Nick Koston 4ac439ef88 Migrate nut to use aionut (#114078) 2024-03-23 12:02:02 -10:00
Sid df03e704f8 Add "language" to strings.json (#112869) 2024-03-12 21:49:59 +01:00
Marc Mueller 988c71ecc5 Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Erik Montnemery e0c1feb22c Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
J. Nick Koston 8e9946afc9 Remove update_before_add from nut sensors (#111032) 2024-02-20 21:12:06 +01:00
cbrherms 6d09788673 Add missing status's to Nut (#109085) 2024-01-30 13:23:33 +01:00
Jan Rieger a042073d2f Add nut icon translations (#108471) 2024-01-20 15:17:28 -05:00
c0ffeeca7andstarkillerOG bf63674af2 Nanoleaf to Nut: add host field description (#104857)
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2023-12-04 10:38:52 +01:00
thatso 96b450ad39 Improve wording in NUT (#102353) 2023-10-19 21:38:15 +02:00
Tomáš HolýandJ. Nick Koston 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
Marc Mueller 71d985e4d6 Use asyncio.timeout [i-n] (#98450) 2023-08-15 14:32:15 +02: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
J. Nick Koston 2ec2c25f5a Disable always_update in nut coordinator (#97413) 2023-07-28 12:38:52 -05:00
ollo69 ce3c23cb3a Add Nut commands to diagnostics data (#96285)
* Add Nut commands to diagnostics data

* Add test for diagnostics
2023-07-12 10:56:08 +02:00
Pablo EstevezandJ. Nick Koston 780d0a484d Add NUT device actions (#80986)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-23 14:09:36 -05: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
Erik Montnemery 1450b44c63 Sort manifests 7 (#87028) 2023-02-08 20:32:43 +01:00
Franck NijhofandErik Montnemery 939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
GitHub Action 71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
zebardyandJ. Nick Koston 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
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
GitHub Action dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
ollo69 3351846b0e Add integration-type property to Nut manifest (#84020) 2022-12-19 14:46:40 +01: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
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
epenet 248d5ff541 Use ApparentPower unit and device class in integrations (#83577) 2022-12-08 20:55:18 +01:00
GitHub Action fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
GitHub Action 388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
ollo69 75886d7213 Strip whitespace from Nut "zero" serialno (#80141) 2022-10-12 10:04:48 +02:00
mbo18 cfda36ef36 Use device_class duration for NUT sensors (#79353) 2022-10-03 10:12:30 -10:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
J. Nick Koston cd03c49fc2 Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
beren12 4bdec1589d Ambient sensors are not diagnostic/internal (#73928) 2022-06-29 13:10:48 +02:00
GitHub Action f5fe210eca [ci skip] Translation update 2022-06-29 00:23:03 +00:00
GitHub Action 4005af99aa [ci skip] Translation update 2022-06-14 00:26:59 +00:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00: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