epenet
42b74e7f56
Adjust entity registry access in integrations (3) ( #88948 )
2023-03-01 08:24:56 +01:00
Ville Skyttä
93f23e7523
Do not round Huawei LTE LTE frequency values ( #88127 )
...
Suggest display precision 0 instead.
While at it, fix source info in frequency formatter docstring.
2023-02-15 15:28:35 +01: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
899adef590
Sort manifests 4 ( #87025 )
2023-02-08 20:27:05 +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
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
GitHub Action
ce79b26ab6
[ci skip] Translation update
2023-02-03 00:25:31 +00:00
GitHub Action
0f80932709
[ci skip] Translation update
2023-02-02 00:25:01 +00:00
GitHub Action
0f6f63da64
[ci skip] Translation update
2023-01-29 00:26:29 +00:00
GitHub Action
072f228e4d
[ci skip] Translation update
2023-01-28 00:23:36 +00:00
Franck Nijhof
e738924780
Enable Ruff SIM105 ( #86759 )
...
* Enable Ruff SIM105
* Adjust existing cases
2023-01-26 21:06:22 -05:00
GitHub Action
71d7098530
[ci skip] Translation update
2023-01-27 00:25:12 +00:00
GitHub Action
7ab88fa713
[ci skip] Translation update
2023-01-26 00:23:39 +00:00
GitHub Action
9636fe4602
[ci skip] Translation update
2023-01-25 00:24:21 +00:00
Ville Skyttä
5f0adfe6e4
Add missing config flow abort strings ( #86180 )
...
* Add missing `already_configured` and `already_in_progress` abort strings
* Note required strings.json entries in config_entries aborting functions
2023-01-24 08:59:32 +02:00
GitHub Action
d1ecc418bb
[ci skip] Translation update
2023-01-19 00:25:04 +00:00
GitHub Action
d2e11797f8
[ci skip] Translation update
2023-01-17 00:24:30 +00:00
Ville Skyttä
f0e6f45e43
Remove signal strength state class from Huawei LTE transmit power sensor ( #85973 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-16 23:24:50 +01:00
GitHub Action
b81453cb6b
[ci skip] Translation update
2023-01-16 00:24:22 +00:00
GitHub Action
77f9548e51
[ci skip] Translation update
2023-01-15 00:25:52 +00:00
GitHub Action
dffc913f9e
[ci skip] Translation update
2023-01-14 00:22:57 +00:00
Ville Skyttä
a5a079fb06
Huawei LTE sensor improvements ( #84019 )
...
* Use `None` for unknown states consistently
* Use huawei_lte_api NetworkModeEnum instead of magic strings
* Recognize some new sensor items
* Exclude current day duration sensor
* Fix current month upload/download types
* Add current day transfer
* Extract lambdas used in multiple spots to named functions
* Formatter naming consistency improvements
2023-01-13 18:27:57 +01:00
Ville Skyttä
ae302bbec0
Make use of str.removeprefix and .removesuffix ( #85584 )
2023-01-13 12:19:38 +01:00
Ville Skyttä
4c31317c06
Key Huawei LTE routers in hass.data by config entry rather than unique id ( #85788 )
...
Key routers in hass.data by config entry rather than unique id
There's no particular reason to key them by the unique id; the config
entry id is a stronger, always available guarantee, and a much more
common convention across the HA codebase.
At some point, we might conceivably support devices we can't find a
proper unique id for; this would work for that purpose as well.
2023-01-13 09:20:24 +01:00
Ville Skyttä
c625051665
Improve Huawei LTE SSDP inclusion ( #85572 )
...
* Probe Huawei LTE API for device support on SSDP match
More or less as expected, the loosening of SSDP/UPnP data matches done
in #81643 started to yield false positives, as in #85402 .
Coming up with robust matches solely based on the SSDP/UPnP data still
does not seem possible, so keep the matches as loose as they were made,
but additionally invoke a probe request on the API to determine if the
device looks like a supported one.
* Probe only after unique id checks
Prevents throwaway probes for discoveries already in progress.
* Fix SSDP result URL test, add missing assert on it
2023-01-12 06:47:38 +01:00
Ville Skyttä
ccd7f09de6
Upgrade huawei-lte-api to 1.6.11 ( #85669 )
2023-01-11 17:44:55 +01:00
GitHub Action
b3ab0a0199
[ci skip] Translation update
2022-12-29 00:23:20 +00:00
GitHub Action
cfa08c5229
[ci skip] Translation update
2022-12-15 00:24:38 +00:00
Ville Skyttä
f02b6f1119
Huawei LTE SSDP improvements ( #81643 )
...
* Recognize more SSDP friendly names as "ours"
* Trigger on SoyeaLink devices
* Pass discovered URL through context, it does not persist via user_input
* Use manufacturer from SSDP
* Actually use serial number if available, update URL for configured
* Remove heuristic friendly name filtering against non-LTE devices
2022-12-14 23:48:25 +01:00
epenet
b7b7cdcfcf
Refactor Huawei LTE to use Entity Description ( #83904 )
...
* Refactor Huawei LTE to use Entity Description
* Apply suggestions from code review
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
2022-12-13 19:48:46 +01:00
GitHub Action
f19a1147fe
[ci skip] Translation update
2022-12-11 00:26:24 +00: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
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
GitHub Action
03154e1d83
[ci skip] Translation update
2022-12-03 00:21:50 +00:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
Marc Mueller
63d519c1a8
Spelling updates ( #82867 )
2022-11-28 16:51:43 +01:00
GitHub Action
b65d8cc1b3
[ci skip] Translation update
2022-11-28 00:23:09 +00:00
GitHub Action
797dc51bc5
[ci skip] Translation update
2022-11-26 00:22:30 +00:00
GitHub Action
f3b3193f7a
[ci skip] Translation update
2022-11-25 00:24:19 +00:00
GitHub Action
eaf6d43508
[ci skip] Translation update
2022-11-23 00:26:26 +00:00
GitHub Action
3bea04e387
[ci skip] Translation update
2022-11-21 00:26:41 +00:00
GitHub Action
8b4dbbe593
[ci skip] Translation update
2022-11-10 00:27:41 +00:00
Ville Skyttä
e690db9ba6
Upgrade huawei-lte-api to 1.6.7, fixes empty username issues ( #81751 )
...
Recentish versions of huawei-lte-api behave differently with regards to
empty/default username compared to the older versions this integration
was originally written against. 1.6.5+ changes the behavior so that our
existing implementation works as expected when no username is supplied
for the config entry.
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.4
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.5
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.6
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6.7
2022-11-09 15:51:33 +01:00
GitHub Action
0311063c44
[ci skip] Translation update
2022-11-05 00:28:23 +00:00
GitHub Action
c7fc51cfa5
[ci skip] Translation update
2022-11-04 00:29:52 +00:00
epenet
2214fff3b4
Cleanup device_tracker imports ( #81139 )
2022-10-28 17:40:37 +02:00
GitHub Action
5a77c8f96f
[ci skip] Translation update
2022-10-22 00:35:23 +00:00
GitHub Action
265e2741e7
[ci skip] Translation update
2022-10-20 00:32:39 +00:00
GitHub Action
388328adba
[ci skip] Translation update
2022-10-17 00:36:39 +00:00