Commit Graph

405 Commits (f5975d4039760c0fadb194fdd3c65a444b3ceaf8)

Author SHA1 Message Date
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
GitHub Action 3c48ce9ee7 [ci skip] Translation update 2022-10-16 00:44:12 +00:00
GitHub Action 230fe4453f [ci skip] Translation update 2022-10-12 00:40:30 +00:00
Ville Skyttä 9dd894a36e
Huawei LTE logging related tweaks (#79854)
* Remove no longer needed dicttoxml logging config

huawei-lte-api 1.5+ no longer uses dicttoxml.

* Fix `loggers` entry
2022-10-11 21:49:02 +02:00
GitHub Action eac1a1e513 [ci skip] Translation update 2022-10-11 00:31:56 +00:00
GitHub Action aca340de1c [ci skip] Translation update 2022-10-10 00:34:37 +00:00
GitHub Action ed565a6eb1 [ci skip] Translation update 2022-10-09 00:30:44 +00:00
GitHub Action f58e1513e2 [ci skip] Translation update 2022-10-08 00:29:46 +00:00
Ville Skyttä 9b44cf0127
Add Huawei LTE reauth flow (#78005)
* Add Huawei LTE reauth flow

* Upgrade huawei-lte-api to 1.6.3, use LoginErrorInvalidCredentialsException
2022-10-07 12:24:09 +02:00
epenet b5402f9b57
Import device tracker constants from root (#78242) 2022-09-12 20:50:44 -04:00
epenet be07bb7976
Improve type hints in file and huawei_lte notify (#77648) 2022-09-04 22:41:46 +02:00
epenet 2a8109304f
Use _attr_should_poll in components [h-i] (#77270) 2022-08-26 10:20:38 +02:00
GitHub Action d7724235ff [ci skip] Translation update 2022-08-26 00:27:16 +00:00
GitHub Action ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
Antonino Piazza 9919dd500d
Improve code quality in huawei_lte (#76583)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-11 11:03:12 +02:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
Marc Mueller f068fc8eb7
Use device_tracker SourceType enum [h-m] (#75964) 2022-07-31 15:49:57 +02:00
Bram Kragten 41f6383957
Update icons for breaking changes in MDI 7.0.96 (#75560) 2022-07-21 12:24:29 +02:00
GitHub Action 87797c8b66 [ci skip] Translation update 2022-07-21 00:26:18 +00:00
Ville Skyttä b749622c01
Migrate Huawei LTE to new entity naming style (#75303) 2022-07-20 22:28:53 +03:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
Ville Skyttä 7b9a0eed22
Upgrade huawei-lte-api to 1.6.1 (#75030) 2022-07-11 15:35:45 -07:00
Franck Nijhof c241e876ef
Update url-normalize to 1.4.3 (#74897) 2022-07-10 21:55:54 +03:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Ville Skyttä a9c97e5d3a
Sort huawei_lte sensor meta dict, add section separators (#74782) 2022-07-09 17:08:40 +02:00
Ville Skyttä 430d3e4604
Look for huawei_lte device MACs in a few more device info attributes (#74795) 2022-07-09 17:07:46 +02:00
Antonino Piazza 4209d7733b
Add huawei_lte wifi guest network switch (#71035) 2022-07-08 23:09:03 +03:00
Ville Skyttä 1a55c7db34
Take Huawei LTE XML parse errors to mean unsupported endpoint (#72781) 2022-06-28 14:13:26 -07:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
Franck Nijhof c0da97b038
Clean up accessing service helpers via hass (#72013) 2022-05-17 10:56:57 -07:00
Franck Nijhof 7d2deae592
Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
Ville Skyttä e3433008a2
Upgrade huawei-lte-api to 1.6.0, adapt to it (#71041)
* Upgrade huawei-lte-api to 1.6.0, adapt to it

https://github.com/Salamek/huawei-lte-api/releases/tag/1.5
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.1
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.2
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.3
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.4
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6

* Fix logout on config flow

Co-authored-by: Antonino Piazza <antpza@gmail.com>
2022-05-05 19:37:32 +03:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Ville Skyttä 066128a53c
Remove leftovers of Huawei LTE YAML config support (#68728) 2022-03-28 08:24:13 -07:00
Ville Skyttä 945028d43d
Update Huawei LTE config entry data on successful reconfig (#68727) 2022-03-27 17:16:45 +02:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
GitHub Action 208671418e [ci skip] Translation update 2022-02-16 00:14:09 +00:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00
GitHub Action 2da4d280b2 [ci skip] Translation update 2022-02-06 00:17:31 +00:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
GitHub Action dd4e5bb9c5 [ci skip] Translation update 2022-01-27 00:14:02 +00:00
GitHub Action 2aaca346bd [ci skip] Translation update 2022-01-25 00:14:30 +00:00
GitHub Action 47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
GitHub Action fc6d6594ab [ci skip] Translation update 2022-01-21 00:13:34 +00:00
GitHub Action 04a2227f4b [ci skip] Translation update 2022-01-19 00:13:35 +00:00
Marc Mueller 4e2cd1bec0
Update typing (2) [a-i] (#63923) 2022-01-11 21:23:26 +01:00
Marc Mueller 4d3f70ad05
Use Platform enum (#63577) 2022-01-09 07:57:51 +01:00
Paulus Schoutsen 2b4bb49eb7
Make device tracker entities work better (#63328)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08:00
Ville Skyttä 6f1675944e
Add huawei_lte hardware version (#62773) 2021-12-26 10:36:00 -10:00
Ville Skyttä 3e3fb52dfa
Huawei LTE simplifications (#62770)
* Use enum types rather than strs in sensor type hints

* Name sensor meta fields same as in SensorEntityDescription

* Make integration shared state a NamedTuple

* Use dataclasses instead of attr
2021-12-26 09:17:59 +02:00
epenet cec43fe868
Use new enums in huawei-lte (#61771)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-14 12:59:00 +01:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
Marc Mueller 40b99135e5
Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-05 17:10:07 -10:00
epenet d775c66194
Tidy up ssdp_location parsing (#60846)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-02 09:47:20 -08:00
epenet 1edc0a0560
Use dataclass properties in huawei_lte discovery (#60713)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:01:21 +01:00
Franck Nijhof 542aef2fe1
Migrate switch device classes to StrEnum (#60658) 2021-11-30 15:38:45 -08:00
epenet ec1c52d945
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
GitHub Action 2918e2d7d0 [ci skip] Translation update 2021-11-29 00:13:08 +00:00
GitHub Action 3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action e98977fb49 [ci skip] Translation update 2021-11-21 00:13:51 +00:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
GitHub Action 3f2b1fa952 [ci skip] Translation update 2021-11-12 00:12:35 +00:00
Ville Skyttä 4273e5b507
Huawei LTE sensor updates (#59374)
* Add human readable name for eNodeB ID

* Mark various config and diagnostic sensors' entity category as such

* Add uptime sensor
2021-11-10 08:49:50 +02:00
GitHub Action 86b12af3dc [ci skip] Translation update 2021-11-10 00:17:39 +00:00
GitHub Action e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
GitHub Action 332a571bb4 [ci skip] Translation update 2021-11-07 00:12:38 +00:00
GitHub Action c9c95165e4 [ci skip] Translation update 2021-11-04 00:12:21 +00:00
Marc Mueller e0c0d00833
Use assignment expressions 39 (#58829) 2021-10-31 18:56:25 +01:00
Robert Chmielowiec 438d1b2f15
Add `configuration_url` to Huawei LTE integration (#58584) 2021-10-28 14:32:20 +02:00
Paulus Schoutsen e1e864d2b6
Get the registry using the callback method (#58542) 2021-10-27 15:58:14 -07:00
epenet cfe1bbcda0
Use DeviceInfo in huawei-lte (#58398)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-25 13:17:55 +02:00
Ville Skyttä 1a9bb47f78
Add more Huawei LTE sensor state classes (#57983) 2021-10-24 17:01:50 +03:00
GitHub Action 30fb619095 [ci skip] Translation update 2021-10-24 00:12:57 +00:00
Robert Hillis 4a8e9df026
Use DeviceInfo Class H (#58276) 2021-10-23 15:35:33 +02:00
Marc Mueller ea2e94a4e5
Use assignment expressions 24 (#58181) 2021-10-22 14:07:19 +02:00
GitHub Action 06602e6cc5 [ci skip] Translation update 2021-10-03 00:13:50 +00:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Ville Skyttä 4c854a06d9
Add some huawei_lte sensor state classifications (#55601) 2021-09-30 11:27:52 +02:00
Marc Mueller 565a9fea6b
Import Callable from collections.abc (2) (#56776) 2021-09-29 14:06:51 +02:00
Ville Skyttä 4e1e7a4a71
Protect Huawei LTE against None ltedl/ulfreq (#54411)
Refs https://github.com/home-assistant/core/issues/54400
2021-09-05 21:42:22 +03:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Ville Skyttä 9947795068
Treat Huawei LTE error code 100006 as unsupported functionality (#54253)
Internet says 100006 could mean "parameter error", B2368-F20 is
reported to respond with that to lan/HostInfo requests.

While at it, handle the special case error codes and the "real" not
supported exception in the same block.

Closes https://github.com/home-assistant/core/issues/53280
2021-08-18 17:26:54 +03:00
Ville Skyttä 939fde0a50
ConfigType and async_setup/setup type hint improvements (#54739) 2021-08-18 13:22:05 +02:00
Erik Montnemery 6de6a5dc14
Move temperature conversions to sensor base class (3/8) (#54469)
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00