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
epenet
3460e0b074
Add type hints to aqualogic ( #80328 )
2022-10-15 15:38:47 +02:00
epenet
6f7cb158d8
Cleanup blockchain sensor ( #80077 )
2022-10-11 10:40:10 +02:00
Austin Brunkhorst
7d097d18b0
Add support for Snooz BLE devices ( #78790 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-10 13:14:27 -10:00
HarvsG
b86927a453
Enable strict typing on Bayesian ( #79870 )
...
* make bayesian static
* no longer private
2022-10-09 20:30:38 +02:00
Robert Hillis
4ff26b4ddd
Add strict typing to Google Sheets ( #79801 )
2022-10-07 17:48:29 -06:00
Marc Mueller
33c94b0052
Add strict typing for WLED ( #79822 )
...
* Add strict typing for WLED
* Update backoff constraint
2022-10-07 21:56:29 +03:00
Marc Mueller
14d2bbfcd6
Add strict typing for lidarr ( #79241 )
2022-10-07 20:54:29 +02:00
Marc Mueller
a809f645a7
Add strict typing for radarr ( #79242 )
2022-10-07 20:53:34 +02:00
Robert Hillis
5981864992
Add strict typing to Sonarr ( #79802 )
2022-10-07 19:08:08 +02:00
Robert Hillis
9850709b37
Add strict typing to Skybell ( #79800 )
2022-10-07 16:28:05 +02:00
Yuval Aboulafia
5674295b3c
Add clicksend to strict typing ( #79544 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-10-05 22:18:41 +02:00
Yuval Aboulafia
d08f7f9526
Add clickatell to strict typing ( #79497 )
...
* type clickatell
* follow review
2022-10-04 01:02:20 +03:00
Jafar Atili
653e0917bb
Bump pyswitchbee to 1.5.3 ( #78583 )
...
* Add switchbee to strict-typing
* strict typing
* Bumped pyswitchbee
* bumped library to 1.5.1
* strict-typed the package
* fixed issue
* addressed epenet comments
* fixed requirements_all
* once more
2022-09-28 13:51:52 +02:00
Joakim Plate
ace9592aa1
Enable strict typing for rfxtrx ( #74927 )
...
* Additional typing
* Enable strict typing
* Avoid changes causing coverage change
* Adjust comment on force update
* Rename to replace_devices
* Reduce typing scope
* Adjust mypy
2022-09-23 16:47:58 +02:00
Aaron Bach
e265848b63
Remove deprecated Flu Near You integration ( #78700 )
2022-09-21 11:24:21 +02:00
J. Nick Koston
bb78d52f34
Add iBeacon Tracker integration ( #78671 )
2022-09-19 21:43:41 -04:00
epenet
0448afabb6
Sort strict-typing alphabetically ( #78506 )
2022-09-15 11:53:56 +02:00
epenet
0a13fe99d2
Move mypy override for device_registry ( #78493 )
2022-09-15 11:00:25 +02:00
epenet
efb482fb1d
Add demo to strict-typing ( #77596 )
...
* Add demo to strict-typing
* Adjust component
* Adjust PR
* Update homeassistant/components/demo/mailbox.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-09-14 13:05:00 +02:00
Franck Nijhof
393f1487a5
Remove Ambee integration ( #78427 )
2022-09-14 10:25:01 +02:00
Alex Thompson
951047d94e
Add initial implementation of tilt_ble integration ( #77633 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-07 09:24:21 -05:00
Robert Hillis
73ba7a989b
Make Sonos typing more complete ( #68072 )
2022-09-05 13:12:37 -05:00
Paulus Schoutsen
481205535c
Add PrusaLink integration ( #77429 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-29 20:45:27 -04:00
Martin Hjelmare
d0986c7650
Type feedreader strictly ( #76707 )
...
* Type feedreader strictly
* Run hassfest
2022-08-19 13:20:41 +02:00
Rami Mosleh
655e2f92ba
Add strict typing to mikrotik ( #76974 )
...
add strict typing to mikrotik
2022-08-19 10:39:14 +02:00
Paulus Schoutsen
6e92931087
Add file selector and file upload integration ( #76672 )
2022-08-18 12:02:12 -04:00
Charles Garwood
1e9ede25ad
Add Fully Kiosk Browser integration with initial binary sensor platform ( #76737 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-08-16 20:08:35 +02:00
Zach Berger
5331af2143
Capture local Awair firmware version to DeviceInfo ( #76700 )
2022-08-16 13:17:53 -04:00
Marc Mueller
563ec67d39
Add strict typing for auth ( #75586 )
2022-08-16 10:10:37 -04:00
Marc Mueller
bac44cf473
Enable no_implicit_optional globally [mypy] ( #76723 )
2022-08-13 19:33:57 +02:00
Franck Nijhof
f0827a20c3
Add schedule helper ( #76566 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-11 16:14:01 +02:00
Jc2k
91486f2d61
Enable strict typing for HomeKit Controller config flow module ( #76233 )
2022-08-04 17:41:47 +01:00
Martin Hjelmare
826de707e4
Add strict typing to openexchangerates ( #76004 )
2022-08-01 11:35:31 +02:00
Alex Henry
ace359b1bd
Add multi-zone support to Anthem AV receiver and distribution solution ( #74779 )
...
* Add multi-zone support to Anthem AV receiver and distribution amplifier
* Fix typo in comment
* Convert properties to attribute and add test
* Migrate entity name
* Fix after rebase add strict typing and bump version
* fix typing
* Simplify test
* Small improvement
* remove dispatcher send and use callback
2022-07-30 14:04:24 +02:00
IceBotYT
d99334eb07
Add LaCrosse View integration ( #71896 )
...
* Add new LaCrosse View integration
* Add new LaCrosse View integration
* Add retry logic
* Actually use the start time for the retry logic
* Get new token after 1 hour
* Replace retry logic with more reliable logic
* Improve test coverage
* Add device info and unique id to config entry
* Fix manufacturer name
* Improve token refresh and check sensor permission
* Improve test cover
* Add LaCrosse View to .strict-typing
* Remove empty fields in manifest.json
* Fix mypy
* Add retry logic for get_data
* Add missing break statement in retry decorator
* Fix requirements
* Finish suggestions by Allen Porter
* Suggestions by Allen Porter
* Fix typing issues with calls to get_locations and get_sensors
2022-07-27 07:37:22 -07:00
Erik Montnemery
51c3836ec2
Create Repairs based on Alerts ( #75397 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-27 10:13:16 +02:00
Marc Mueller
274584f2a4
Add strict typing for litterrobot ( #75540 )
2022-07-25 22:52:13 +02:00
Marc Mueller
ac858cc2b5
Improve singleton helper typing ( #75461 )
...
* Improve singleton helper typing
* Fix type errors
2022-07-21 00:19:02 +02:00
Franck Nijhof
39dc9aa179
Rename Resolution Center -> Repairs ( #75486 )
2022-07-20 12:06:52 +02:00
Marc Mueller
8a48d54951
Improve entity_platform helper typing ( #75464 )
...
* Improve entity_platform helper typing
* Add protocol class
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-20 05:45:57 +02:00
Marc Mueller
1626c53c13
Improve dispatcher helper typing ( #75455 )
...
* Improve dispatcher helper typing
* Code review
2022-07-20 04:11:46 +02:00
Marc Mueller
b04c3e9adc
Improve deprecation helper typing ( #75453 )
2022-07-20 02:54:46 +02:00
Marc Mueller
5ae5ae5392
Improve debouncer typing ( #75436 )
2022-07-19 18:35:04 +02:00
J. Nick Koston
1354952977
Migrate LIFX to config entry per device ( #74316 )
2022-07-18 17:56:34 -05:00
epenet
911402e747
Remove cloud from mypy ignore list ( #74449 )
2022-07-15 10:47:30 +02:00
Zack Barett
ea6bb370a6
Bump frontend to 20220707.1 ( #75232 )
2022-07-15 01:12:48 +02:00
epenet
e7ae2fada7
Remove evohome from mypy ignore list ( #75175 )
2022-07-14 21:40:39 +02:00
epenet
5287980f48
Remove template from mypy ignore list ( #74426 )
2022-07-14 21:15:37 +02:00
epenet
1725948d4a
Use instance attributes in minecraft_server ( #75157 )
...
* Remove minecraft_server from mypy ignore list
* Use new entity naming style
2022-07-14 18:06:33 +02:00
epenet
e16bd1e471
Remove evohome climate from mypy ignore list ( #75169 )
...
* Remove evohome climate from mypy ignore list
* Raise error
2022-07-14 13:46:37 +02:00
epenet
c260413e2a
Remove lovelace from mypy ignore list ( #75167 )
...
* Remove lovelace from mypy ignore list
* Raise error on failed config
2022-07-14 13:08:50 +02:00
epenet
debd475a6d
Remove onvif from mypy ignore list ( #75162 )
2022-07-14 11:55:43 +02:00