Commit Graph

254 Commits (43c2658962b3db3e5a2bcb6c9971b895546c860a)

Author SHA1 Message Date
epenet b48c439bff
Remove redundant source_type property from ScannerEntities (#126716) 2024-09-25 08:58:54 +02:00
Jan-Philipp Benecke 2fa6370dc0
Use debug instead of info log level in components [a] (#125944)
* Use debug instead of info log level in components [a]

* Process code review comments
2024-09-14 15:24:55 +02:00
ollo69 470335e27a
Add sensors for AsusWRT using http(s) library (#124337)
* Additional sensors for AsusWRT using http(s) library

* Remove temperature sensors refactor from PR

* Fix test function name

* Change translation a suggested

* Requested changes
2024-09-03 17:11:17 +02:00
epenet e734971d33
Enable collections-named-tuple (PYI024) rule in ruff (#123019) 2024-08-02 15:28:32 +02:00
Marc Mueller bcd1243686
Use VolDictType to improve schema typing (#120417) 2024-06-25 15:15:59 +02:00
Marc Mueller 34ea781031
Use PEP 695 for decorator typing with type aliases (1) (#117662) 2024-05-18 11:42:39 +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
ollo69 7e8fab65ff
Store runtime data inside the config entry in AsusWrt (#116889) 2024-05-06 08:00:15 -05:00
Marc Mueller 86f96db9b0
Improve asuswrt decorator typing (#116563) 2024-05-02 00:00:30 +02:00
Sid 3799d20d43
Enable Ruff B905 (#114197) 2024-04-14 00:14:26 -05:00
Sid 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
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller aa16a9d707
Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
ollo69 52621f9609
Remove reserved UpdateFailed exception in AsusWRT (#110910)
* Remove reserved UpdateFailed exception in AsusWRT

* Restore UpdateFailed exception in decorator
2024-02-22 09:53:40 +01:00
ollo69 b56dd3f808
Don't create AsusWRT loadavg sensors when unavailable (#106790) 2024-02-05 09:03:43 +01:00
Joost Lekkerkerker 51dca66908
Add icon translations to AsusWRT (#108397) 2024-01-19 20:10:31 +01:00
ollo69 ee25cb2616
Add AsusWrt temperature sensors provided by http protocol (#105692) 2023-12-27 21:20:03 +01:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
ollo69 2c54f8bf8e
Bump pyasuswrt to 0.1.21 (#105922) 2023-12-17 15:34:19 -10:00
ollo69 b29e9e2df0
Fix AsusWrt invalid data type with tuple type (#105247) 2023-12-08 09:01:22 +01:00
c0ffeeca7 4d00767081
ASUSWRT: add description of host field. Fix title (#104690)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-29 09:35:08 +01:00
ollo69 b4797e283f
Add HTTP protocol support to AsusWRT (#95720) 2023-11-16 13:45:18 +01:00
ollo69 1e375352bb
Use decorator for AsusWrt api calls (#103690) 2023-11-13 13:55:31 +01:00
Jan-Philipp Benecke 4e3ff45a5e
Use constant instead of plain key name for device info attributes (#103188)
* Use constant instead of plain key name for device info connections

* Some more device info constant changes
2023-11-02 21:59:25 +01:00
ollo69 5245c94342
Exclude AsusWRT tracker state attribute from recorder (#102602) 2023-10-23 23:16:27 +02:00
ollo69 11740d1e68
Remove shorthand unique id in AsusWrt ScannerEntity (#102076)
Remove _attr_unique_id in AsusWrt ScannerEntity
2023-10-15 23:26:09 +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
ollo69 c3977b5eb3
Correct AsusWRT device identifier (#97238) 2023-07-26 01:01:39 +02:00
Joost Lekkerkerker ba1bf9d39f
Add entity translations to AsusWRT (#95125) 2023-07-24 20:29:23 +02:00
ollo69 345df715d6
Change AsusWRT entities unique id (#97066)
Migrate AsusWRT entities unique id
2023-07-24 19:53:58 +02:00
ollo69 8108a0f947
Add Bridge module to AsusWRT (#84152)
* Add Bridge module to AsusWRT

* Requested changes

* Requested changes

* Requested changes

* Add check on router attributes value
2023-07-01 13:55:28 +02:00
epenet d173590477
Remove combined translations in integrations (#91337)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-04-15 15:51:04 +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 231aad7a68
Sort manifests 1 (#87022) 2023-02-08 20:29:44 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
ollo69 ade0d6fcae
Use suggested_display_precision for AsusWrt sensors (#87396)
* Use native_precision for AsusWrt sensors

* Use  suggested_display_precision
2023-02-06 11:05:10 +01:00
GitHub Action 3f992ed31d [ci skip] Translation update 2023-02-04 00:23:44 +00:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action 5169721916 [ci skip] Translation update 2023-01-04 00:22:58 +00:00
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
ollo69 227330563a
Use UnitOfTemperature enumerator in AsusWrt (#83958) 2022-12-14 16:26:19 +01:00
ollo69 4d885b71ff
Add integration_type property to AsusWrt manifest (#83960) 2022-12-14 16:14:31 +01:00
epenet 69bc95a715
Use DATA_SIZE device class in integrations (#83895) 2022-12-13 10:17:56 +01:00
epenet 535aba10ee
Use DataRate unit and device class in integrations (#83610) 2022-12-10 11:41:44 +01:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 3de8185506 [ci skip] Translation update 2022-12-08 00:21:50 +00:00