Commit Graph

230 Commits (c9589f763c31d116940db2b1ddb3762beec0fbc4)

Author SHA1 Message Date
Sean Vig 6b4e3bca6f
Add type annotations to amcrest integration ()
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
2021-08-25 13:24:29 +02:00
jan iversen e2b1122eec
Activate mypy in gtfs (followup on reverted ) () 2021-08-25 10:30:29 +02:00
jan iversen 98a3ad6fd4
Revert "Please mypy in gtfs and implement needed changes ()" () 2021-08-24 14:29:03 +02:00
jan iversen e2ce1d8b24
Please mypy in gtfs and implement needed changes () 2021-08-24 11:28:45 +02:00
jan iversen 336aa74317
Activate mypy for todoist () 2021-08-24 11:23:33 +02:00
jan iversen 0ab99fc8bf
Activate mypy for surepetcare () 2021-08-24 11:21:57 +02:00
jan iversen dae40530bd
Activate mypy for synology_srm () 2021-08-23 22:57:33 +02:00
jan iversen 9b472aee9a
Activate mypy for wink () 2021-08-23 22:55:00 +02:00
jan iversen cada3d1819
Activate mypy for smarttub () 2021-08-23 22:52:34 +02:00
jan iversen d5c26aece1
Activate mypy for tuya () 2021-08-23 21:30:04 +02:00
jan iversen a5c1fbcb1a
Activate mypy for velbus () 2021-08-23 20:57:37 +02:00
jan iversen 4ef376a971
Activate mypy for volumio ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-08-23 20:23:53 +02:00
jan iversen 9078824556
Activate mypy for timer () 2021-08-23 20:22:55 +02:00
Erik Montnemery 68f1c19049
Enable basic type checking for azure_event_hub ()
* Enable basic type checking for azure_event_hub

* Update homeassistant/components/azure_event_hub/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Disable false pylint positive

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-23 17:04:42 +02:00
jan iversen b76e8c5722
Please mypy. () 2021-08-23 17:02:31 +03:00
Erik Montnemery 03bda6ed15
Enable basic type checking for almond ()
* Enable basic type checking for almond

* Tweak

* Address review comments
2021-08-23 09:35:03 +02:00
J. Nick Koston ebb8ad308e
Fix nmap_tracker typing ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-08-21 21:25:28 +02:00
jan iversen f872594e26
Activate mypy for homematicip_cloud ()
* Please mypy.

* Review comments.

* Review comments.
2021-08-21 20:19:56 +02:00
Erik Montnemery fedd958dc0
Enable basic type checking for atag () 2021-08-21 13:39:56 +02:00
Erik Montnemery efd15344e9
Enable basic type checking for analytics () 2021-08-21 11:46:28 +02:00
Erik Montnemery 7e5ff825dd
Enable basic type checking for adguard () 2021-08-21 11:46:00 +02:00
Erik Montnemery dbc4470979
Enable basic type checking for aemet () 2021-08-20 19:10:19 +02:00
Erik Montnemery 09ee7fc021
Enable basic type checking for asuswrt () 2021-08-20 19:08:22 +02:00
jan iversen 20b7125620
Activate mypy for Panasonic_viera () 2021-08-18 15:34:50 +02:00
jan iversen 69bc6bbe48
Activate mypy for google_pubsub () 2021-08-17 10:10:56 +02:00
jan iversen 7524acc38c
Activate mypy for sesame () 2021-08-17 00:19:12 +02:00
jan iversen 85ff5e34cd
Active mypy for netio () 2021-08-16 23:25:41 +02:00
jan iversen b72ed68d61
Activate mypy in sabnzbd () 2021-08-16 22:55:52 +02:00
jan iversen 045b1ca6ae
Activate mypy in lifx () 2021-08-16 12:41:35 +02:00
jan iversen adcbd8b115
Activate mypy for Trådfri ()
* Activate mypy.
2021-08-11 08:31:52 +02:00
jan iversen 1d40a6e407
Activate mypy from amcrest and make the needed changes () 2021-08-10 14:57:57 +02:00
Milan Meulemans 9c29d9f8eb
Activate mypy for Proxmox VE () 2021-08-10 12:36:20 +02:00
jan iversen e5f884efd1
Activate mypy for google_maps () 2021-08-10 11:48:16 +02:00
Milan Meulemans 814411dc1d
Activate mypy for Solar-Log () 2021-08-10 10:56:34 +02:00
Milan Meulemans 355a067d84
Activate mypy for Smart Meter Texas () 2021-08-10 10:55:38 +02:00
Milan Meulemans d8c679809f
Activate mypy for SiteSage Emonitor () 2021-08-10 10:47:57 +02:00
Milan Meulemans 7e2c6ae332
Activate mypy for Pilight () 2021-08-10 10:47:17 +02:00
Milan Meulemans 020759d01d
Activate mypy for Alexa () 2021-08-10 10:46:33 +02:00
Milan Meulemans fc1babfc92
Activate mypy for Filter () 2021-08-10 10:45:56 +02:00
Simone Chemelli 18a0fcf931
Strict typing for Neato ()
* Strict typing

* Rebase

* Tweak import

* Cleanup

* Rebase + typing hub

* Flake8

* Update homeassistant/components/neato/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/neato/vacuum.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/neato/camera.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Address review comments

* Black

* Update homeassistant/components/neato/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Specific dict definition

* Annotations

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-08 15:02:37 +02:00
Milan Meulemans debcc6689f
Activate mypy for Cloudflare () 2021-08-05 13:01:12 +02:00
Milan Meulemans be880fdaa9
Activate mypy for Updater () 2021-08-05 09:18:03 +02:00
Milan Meulemans 36c0478c4a
Activate mypy for Reddit () 2021-08-05 09:16:47 +02:00
Joakim Sørensen caf0bdd5b9
Add config flow to uptimerobot () 2021-08-04 22:20:03 +02:00
Milan Meulemans 3f6282eb7a
Activate mypy for LG webOS Smart TV () 2021-08-04 19:31:24 +03:00
jan iversen 083868ac01
Enable mypy for Yamaha () 2021-08-04 08:47:28 +02:00
jan iversen 857031df14
Activate mypy for Norway_air () 2021-08-02 15:07:27 +02:00
Milan Meulemans 8500afa5d9
Activate mypy for Sony Songpal () 2021-08-02 12:16:41 +02:00
jan iversen 38832618bf
Please mypy. () 2021-08-02 09:18:59 +02:00
jan iversen e41bc1a0da
Activate mypy for hdmi_cec ()
* Please mypy.
* Remove CEC_DEVICES.
2021-07-31 23:18:37 +02:00
jan iversen b0c650e088
Update integration Fints with activate mypy, use attr_variables ()
* Please mypy.

* Convert property to _attr_variables.
2021-07-30 19:23:16 +02:00
Milan Meulemans d40012f110
Correct typing in Zerproc and activate mypy () 2021-07-28 16:36:13 -05:00
epenet 8d84edd3b7
Add renault integration () 2021-07-28 12:41:11 -07:00
Allen Porter 68945e8814
Enable strict static type checking for nest integration () 2021-07-28 09:12:32 +02:00
Aaron Bach 514d97f144
Enforce strict typing for ReCollect Waste () 2021-07-28 08:51:40 +02:00
Aaron Bach f92ba75791
Enforce strict typing for SimpliSafe () 2021-07-27 22:11:54 +02:00
Ron Klinkien 3488053648
Remove garmin_connect integration ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-27 21:49:49 +02:00
Aaron Bach f4a7292f08
Enforce strict typing for Tile () 2021-07-27 11:51:57 +02:00
Milan Meulemans 7103835d15
Enable strict typing for Rituals Perfume Genie ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-27 11:50:47 +02:00
Aaron Bach a6b34924be
Enforce strict typing for RainMachine () 2021-07-27 10:45:44 +02:00
Aaron Bach 5483ab0cda
Enforce strict typing for Flu Near You () 2021-07-27 10:42:51 +02:00
Bram Kragten fcc6ea7497
Add energy integration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2021-07-26 09:37:37 -07:00
Aaron Bach 54ace4cdd4
Enforce strict typing for OpenUV ()
* Enforce strict typing for OpenUV

* Linting

* Fix tests
2021-07-24 14:50:01 +02:00
Aaron Bach 4b353917f5
Enforce strict typing for Notion ()
* Enforce strict typing for Notion

* Code review
2021-07-23 13:00:02 -06:00
Aaron Bach 1bde914075
Ensure Guardian is strictly typed () 2021-07-21 23:01:05 -07:00
Tobias Sauerwein 583deada83
Add type annotations for Netatmo () 2021-07-21 14:36:57 -07:00
Aaron Bach 8d9345c407
Add missing type annotations to Airvisual () 2021-07-21 22:18:08 +02:00
Maciej Bieniek 772cbd59d7
Improve typing in Shelly integration () 2021-07-21 10:11:44 -07:00
jan iversen 8f61efe714
Correct typing in edl21 and activate mypy. () 2021-07-20 21:53:56 -05:00
Aaron Bach 56efee4603
Ensure Ambient PWS is strictly typed ()
* Ensure Ambient PWS is strictly typed

* Fix typing
2021-07-20 21:52:05 -05:00
jan iversen 193d1b945b
Add typing in dynalite and activate mypy ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-20 18:28:31 +02:00
jan iversen f819be7acc
Correct typing in Insteon and activate mypy () 2021-07-20 17:26:00 +02:00
jan iversen e7ccd1a549
Correct typing and activate mypy. () 2021-07-20 10:53:24 +03:00
Allen Porter c2a2f50316
mypy cleanup for homeassistant.components.nest () 2021-07-20 07:59:31 +02:00
jan iversen d4589894fe
Correct typing in bsblan and activate mypy () 2021-07-19 19:30:52 +02:00
jan iversen 0865917eeb
Activate mypy in aurora () 2021-07-19 17:59:41 +02:00
jan iversen 0b60b86917
Correct typing in azure_devops and activate mypy ()
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-19 17:45:03 +02:00
Shay Levy ea6e325762
Add Switcher config flow discovery support () 2021-07-19 06:28:40 -07:00
jan iversen 51d16202ab
Correct typing in control4 and activate mypy ()
* Correct typing and activate mypy.

* Review comments.:wq
2021-07-19 14:14:09 +02:00
jan iversen 0802dd4293
Activate mypy for eafm () 2021-07-19 13:05:13 +02:00
jan iversen 235f4476e8
Please mypy. () 2021-07-19 08:29:26 +02:00
Franck Nijhof 2c3f3d7bda
Remove defunct Weather Underground integration () 2021-07-14 10:55:06 +02:00
Erik Montnemery 19d3aa71ad
Enable basic type checking for recorder ()
* Enable basic type checking for recorder

* Tweak
2021-07-13 21:21:45 +02:00
Otto Winter 4d16cda957
ESPHome enable static type checking () 2021-07-12 22:56:10 +02:00
Erik Montnemery 6c8de16fbc
Enable basic type checking for fan () 2021-07-06 18:21:00 +02:00
Simone Chemelli a70dae0843
Enable strict typing for Fritz ()
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-06 15:06:32 +02:00
Andre Lengwenus e16ef10af5
Add type hints to LCN ()
* Add type hints to LCN

* Fix requested review changes
2021-07-06 09:54:35 +02:00
Yuval Aboulafia 323088ff63
Fully type Tag component () 2021-07-05 11:54:00 +02:00
Erik Montnemery 1cc8280959
Enable basic type checking for the homeassistant component ()
* Enable basic type checking for the homeassistant component

* Tweak
2021-07-05 11:26:31 +02:00
Erik Montnemery 600bea2459
Enable basic type checking for Google cast ()
* Enable basic type checking for Google cast

* tweak
2021-07-05 11:14:41 +02:00
Erik Montnemery 79ee112490
Enable basic type checking for mqtt ()
* Enable basic type checking for mqtt

* Tweak
2021-07-05 10:33:12 +02:00
Chris Talkington cacd803a93
Enable basic typing for roku ()
* enable basic typing for roku

* Update mypy.ini

* Update media_player.py

* Create coordinator.py

* Update __init__.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update coordinator.py

* Update coordinator.py

* Update remote.py

* Update entity.py

* Update coordinator.py

* Update config_flow.py

* Update entity.py

* Update const.py

* Update const.py

* Update const.py

* Update entity.py

* Update entity.py

* Update entity.py

* Update test_media_player.py

* Update test_remote.py
2021-07-05 10:27:52 +02:00
Yuval Aboulafia 0e7cd02d17
Add type checking and entity attributes for Fast.com ()
* Cleanup fast.com (typing, attrs)

* Adress review

* fixes
2021-07-05 10:19:37 +02:00
Erik Montnemery 628eafaf68
Enable basic type checking for script () 2021-07-03 19:35:36 +03:00
Erik Montnemery 14dd6478d1
Enable basic type checking for trace () 2021-07-03 17:52:31 +02:00
Erik Montnemery b3b377ac8b
Enable basic type checking for gogogate2 ()
* Enable basic type checking for gogogate2

* Tweak

* Update homeassistant/components/gogogate2/common.py

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>

* Tweak

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-03 16:06:42 +01:00
Erik Montnemery 44b44b5bd6
Enable basic type checking for climate ()
* Enable basic type checking for climate

* Tweak
2021-07-03 16:06:12 +01:00
Maciej Bieniek 0cb61b628d
Improve typing in Sony Bravia TV integration ()
* Strict typing

* Variables typing

* Suggested change

* Fix pylint

* Use suppress instead of try..except

* Remove unused variables

* Suggested change

* Fix pylint

* Fix typing for unique_id
2021-07-03 14:37:54 +01:00
Guido Schmitz 8c7ef5b1b9
Add static typing to devolo_home_control () 2021-07-02 18:37:18 +02:00
Erik Montnemery 98fdb00bc7
Enable basic type checking for Tasmota () 2021-07-02 16:45:38 +02:00