Robert Svensson
a0b6da33ab
Strict typing of UniFi integration ( #90278 )
...
* Fix typing of UniFi controller
* Strict typing of unifi.__init__
* Strict typing of UniFi config_flow
* Strict typing of UniFi switch
* Strict typing UniFi sensor
* Strict typing UniFi device tracker
* Strict typing of UniFi
* Fix library issues related to typing
2023-03-26 09:57:13 +02:00
G Johansson
e932139721
Strict typing threshold ( #82786 )
2023-03-12 17:10:00 +01:00
Jon Caruana
e69091c6db
Use strict typing for LiteJet integration ( #88629 )
...
* Strict typing for LiteJet.
* Add test for new check.
* PR feedback.
* PR feedback.
2023-02-24 17:51:48 +01:00
J. Nick Koston
f237bb14ca
Add strict typing to yalexs_ble ( #88086 )
...
* Add strict typing to yalexs_ble
* Add strict typing to yalexs_ble
* Add strict typing to yalexs_ble
2023-02-14 11:38:51 -05:00
Erik Montnemery
00c356e1ce
Enable strict typing for the dormakaba_dkey integration ( #87934 )
2023-02-12 19:00:35 +01:00
Marc Mueller
67499e0204
Enable pydantic mypy plugin ( #87415 )
2023-02-09 13:33:10 +01:00
epenet
b854dd99fc
Add rest to strict-typing ( #86149 )
...
* Add type hints to rest notify
* Add rest to strict-typing
2023-02-07 15:48:16 +01:00
Marc Mueller
fb4c0b4b7a
Enable error-code `redundant-self` [mypy 1.0] ( #87602 )
2023-02-07 14:02:38 +01:00
Marc Mueller
42008c50f3
Enable error-code `truthy-iterable` [mypy 1.0] ( #87596 )
2023-02-07 11:16:22 +01:00
Marc Mueller
af59623601
Enable `local_partial_types` for strict typing [mypy] ( #86409 )
2023-02-06 20:41:39 -06:00
MarkGodwin
ce9a514667
TP-Link Omada integration ( #81223 )
...
* TP-Link Omada integration
Support for PoE config of network switch ports
* Bump omada client version
* Fixing tests
* Refactored site config flow
* Code review comments
* Fixed tests and device display name issue
* Bump isort to fix pre-commit hooks
* Hassfest for the win
* Omada code review
* Black
* More config flow test coverage
* Full coverage for omada config_flow
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-06 10:57:18 -05:00
epenet
923abdb02a
Add configurator to strict typing ( #87279 )
2023-02-03 16:02:55 +01:00
J. Nick Koston
03a8dcfdc1
Add Mopeka integration ( #86500 )
...
* Add Mopeka integration
Mopeka makes BLE propane tank monitors
* cover
* wip
* wip
* bump lib
* strip binary sensor
* all sensors
* all sensors
* update tests
* change quality
* change quality
* adjust
* integration_type, strict-typing
2023-01-25 12:28:13 -05:00
Marc Mueller
90fc8dd860
Add `rss_feed_template` to strict-typing ( #86528 )
...
Add rss_feed_template to strict-typing
2023-01-24 19:06:24 +01:00
Marc Mueller
e717f56113
Add `lacrosse` to strict-typing ( #86527 )
...
Add lacrosse to strict-typing
2023-01-24 14:27:01 +01:00
epenet
44beb350cd
Add scrape to strict-typing ( #86515 )
2023-01-24 14:11:56 +01:00
Erik Montnemery
2ab3d3ebf5
Enable strict typing for the otbr integration ( #86473 )
...
* Enable strict typing for the otbr integration
* Bump python-otbr-api to 1.0.2
2023-01-24 06:55:12 +01:00
Franck Nijhof
5102d1a5f3
Drop Python 3.9 support ( #85456 )
2023-01-22 20:40:33 +01:00
epenet
6802f3db30
Add filter to strict-typing ( #86215 )
...
* Add filter to strict-typing
* Adjust comment
2023-01-19 11:07:42 +01:00
930913
2507ec1f4b
Add LD2410 BLE integration ( #83883 )
2023-01-05 16:15:03 -10:00
Aarni Koskela
38f183a683
Ruuvi Gateway integration ( #84853 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-03 10:19:43 -10:00
epenet
4cea5420b3
Add bitcoin to strict typing ( #85049 )
2023-01-03 13:44:06 +01:00
epenet
896526c24b
Add SFR Box integration ( #84780 )
...
* Add SFR Box integration
* Adjust error handling in config flow
* Add tests
* Use value_fn
* Add translation
* Enable mypy strict typing
* Add ConfigEntryNotReady
* Rename exception
* Fix requirements
2022-12-31 10:14:13 +01:00
Yuxin Wang
06095b1fec
Enable strict typing for apcupsd ( #84861 )
2022-12-30 21:48:29 +01:00
Rami Mosleh
03112bbeea
Add strict typing to speedtestdotnet ( #84597 )
2022-12-27 09:19:56 +01:00
Rami Mosleh
f1466a3b86
Add strict typing to simplepush ( #84598 )
2022-12-27 09:19:24 +01:00
Franck Nijhof
a1ed09f2cc
Code quality improvements for Mastodon ( #84320 )
2022-12-21 02:32:29 +01:00
Kevin Stillhammer
487d84c8f9
Enable strict typing for here_travel_time ( #83814 )
...
* Enable strict typing for here_travel_time
* Use dict[str, Any] instead of Any
* Use kwargs ctor
* Specify dicts
2022-12-18 09:34:47 +01:00
Franck Nijhof
80b3572627
Rename image integration to image_upload ( #84063 )
...
* Rename image integration to image_upload
* fix test
2022-12-16 08:16:38 -05:00
Aaron Bach
e64973c7cc
Add PurpleAir integration ( #82110 )
2022-12-12 20:32:11 -07:00
Erik Montnemery
7e2960a973
Enable strict typing of hardware ( #83120 )
...
* Enable strict typing of hardware
* Address review comment
2022-12-05 09:32:52 +01:00
Erik Montnemery
ef588a556a
Enable strict typing of homeassistant hardware integrations ( #83121 )
2022-12-02 15:59:03 +01:00
Erik Montnemery
bd97f59395
Enable strict typing of hardkernel ( #83122 )
2022-12-02 15:56:48 +01:00
Erik Montnemery
e325ec26d0
Enable strict typing of raspberry_pi ( #83123 )
2022-12-02 15:56:13 +01:00
Erik Montnemery
46500beefc
Enable strict typing of analytics ( #83119 )
2022-12-02 14:05:08 +01:00
Erik Montnemery
bf7e50eb32
Enable strict typing of diagnostics ( #83053 )
...
* Enable strict typing of diagnostics
* Reformat to avoid line break
2022-12-02 11:21:02 +01:00
Marcel van der Veldt
e2308fd15c
Add matter integration BETA ( #83064 )
...
* Add matter base (#79372 )
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
* Add matter server add-on flow (#82698 )
* Add matter server add-on flow
* Fix stale error argument
* Clean docstrings
* Use localhost as default address
* Add matter websocket api foundation (#82848 )
* Add matter config entry add-on management (#82865 )
* Use matter refactored server/client library (#83003 )
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Bump python-matter-server to 1.0.6 (#83059 )
* Extend matter websocket api (#82948 )
* Extend matter websocket api
* Finish docstring
* Fix pin type
* Adjust api after new client
* Adjust api to frontend for now
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-01 20:44:56 +01:00
G Johansson
db480191ad
Strict typing derivative ( #82785 )
2022-11-28 15:12:22 +01:00
Jan Bouwhuis
8a8732f0bc
Strict type hints for MQTT integration ( #82317 )
...
* Strict type hints for MQTT integration
* Fix errors
* Additional corrections
* Use cv.template to avoid untyped calls
* Enable strict typing policy for MQTT integration
* Use ignore[no-untyped-call]
* Use # type: ignore[unreachable]
* Correct cast
* Refactor getting discovery_payload
* Remove unused type ignore comments
2022-11-24 08:25:44 +01:00
G Johansson
8704f1aa47
Fully type min_max ( #79496 )
2022-11-23 19:54:12 +01:00
Aarni Koskela
38b84620bd
Add support for Sensirion BLE sensors ( #82382 )
2022-11-19 14:26:54 -06:00
J. Nick Koston
8792d664e7
Add websocket endpoints to control integration logging ( #65158 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik <erik@montnemery.com>
2022-11-17 08:57:43 -06:00
Aarni Koskela
727dcd6df6
Keep mypy.ini and strict-typing files sorted with hassfest ( #81331 )
...
hassfest: keep mypy.ini and .strict-typing sorted
2022-11-14 06:37:47 +01:00
Aarni Koskela
5a6f7e66cb
Refactor + strictly-type image component ( #81808 )
...
* image: refactor size validation to use partition
* image: give _generate_thumbnail types and use partition
* image: become strictly typed
2022-11-09 15:36:03 +01:00
Aarni Koskela
ec316e94ed
RuuviTag BLE sensor support ( #81327 )
2022-11-09 08:35:30 -06:00
Marc Mueller
0c8eeaa643
Update mypy to 0.990 ( #81783 )
...
* Update mypy to 0.990
* Remove type ignore - overriding attr with property (13475)
* Remove type ignores - hasattr (13544)
* Adjust type ignore - assignment (13549)
* New error code - type-abstract (13785)
* Disable annotation-unchecked (13851)
2022-11-08 14:41:39 +01:00
Maciej Bieniek
329466d131
Enable strict typing for NextDNS ( #81378 )
2022-11-01 23:58:07 +02:00
G Johansson
6e69c57ef5
Code Quality for Wake on Lan ( #81206 )
...
Wake on Lan cleanup
2022-10-29 18:05:18 -04:00
Daniel Hjelseth Høyer
e3233f72ce
Tibber strict typing ( #79407 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-26 12:41:23 +02:00
Robert Svensson
c6e7b9cc99
Refactor UniFi upgrade entities ( #80752 )
...
* Refactor UniFi upgrade entities
* Enable type check for UniFi update platform
2022-10-23 19:33:08 +02:00