Commit graph

142 commits

Author SHA1 Message Date
Erik Montnemery
e50a47621f
Enable basic type checking for climacell () 2021-12-03 10:08:23 -08:00
Erik Montnemery
135778fe91
Enable basic type checking for awair () 2021-11-23 22:49:42 +01:00
Erik Montnemery
dec54488e8
Enable basic type checking for cloud ()
* Enable basic type checking for cloud

* Update mypy settings

* Address review comment

* Fix rebase mistakes

* Correct decorator order
2021-11-17 09:07:01 +01:00
Marc Mueller
b60934b10d
Enable type checking - bmw_connected_drive () 2021-10-26 13:27:26 -05:00
Allen Porter
31aa168bbb
Fix bug in MediaSource definintion and enable strict type checking () 2021-10-24 11:39:39 +02:00
Tomasz
08cebb247f
Activate mypy for rpi_power () 2021-10-04 22:13:11 +02:00
Teemu R
b40d229369
Rework TPLink integration to use python-kasa ()
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-27 14:11:55 -05:00
jan iversen
476d04e2fb
Activate mypy. () 2021-09-18 10:02:24 +01:00
jan iversen
94f06f86cf
Activate mypy for gpmdp. () 2021-09-16 20:05:08 +03:00
jan iversen
53d5a59257
Activate mypy for directv ()
* Activate mypy for directv.

* Activate mypy for directv.
2021-09-15 07:58:04 +02:00
starkillerOG
5f86388f1c
Netgear config flow ()
* Original work from Quentame

* Small adjustments

* Add properties and method_version

* fix unknown name

* add consider_home functionality

* fix typo

* fix key

* swao setup order

* use formatted mac

* add tracked_list option

* add options flow

* add config flow

* add config flow

* clean up registries

* only remove if no other integration has that device

* tracked_list formatting

* convert tracked list

* add import

* move imports

* use new tracked list on update

* use update_device instead of remove

* add strings

* initialize already known devices

* Update router.py

* Update router.py

* Update router.py

* small fixes

* styling

* fix typing

* fix spelling

* Update router.py

* get model of router

* add router device info

* fix api

* add listeners

* update router device info

* remove method version option

* Update __init__.py

* fix styling

* ignore typing

* remove typing

* fix mypy config

* Update mypy.ini

* add options flow tests

* Update .coveragerc

* fix styling

* Update homeassistant/components/netgear/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add ConfigEntryNotReady

* Update router.py

* use entry.async_on_unload

* Update homeassistant/components/netgear/device_tracker.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* use cv.ensure_list_csv

* add hostname property

* Update device_tracker.py

* fix typo

* fix isort

* add myself to codeowners

* clean config flow

* further clean config flow

* deprecate old netgear discovery

* split out _async_remove_untracked_registries

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* cleanup

* fix rename

* fix typo

* remove URL option

* fixes

* add sensor platform

* fixes

* fix removing multiple entities

* remove extra attributes

* initialize sensors correctly

* extra sensors disabled by default

* fix styling and unused imports

* fix tests

* Update .coveragerc

* fix requirements

* remove tracked list

* remove tracked registry editing

* fix styling

* fix discovery test

* simplify unload

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

Co-authored-by: J. Nick Koston <nick@koston.org>

* condense NetgearSensorEntities

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/netgear/router.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

* styling

* add typing

* use ForwardRefrence for typing

* Update homeassistant/components/netgear/device_tracker.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* add typing

* Apply suggestions from code review

Thanks!

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

* process review comments

* fix styling

* fix devicename not available on all models

* ensure DeviceName is not needed

* Update homeassistant/components/netgear/config_flow.py

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

* Update homeassistant/components/netgear/config_flow.py

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

* Update __init__.py

* fix styling

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-13 18:18:21 +02:00
jan iversen
9d2861afe3
Add mypy to elkm1. () 2021-09-09 13:14:28 +02:00
Alan Tse
98ecf2888c
Remove tesla integration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-08 22:12:03 -07:00
Erik Montnemery
8b436c43f7
Enable basic type checking for cert_expiry () 2021-08-29 10:57:18 -06:00
jan iversen
d1965eef8b
Activate mypy for sonar ()
* Please mypy.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-28 12:05:48 +02:00
jan iversen
504d23ac72
Activate mypy for switchbot ()
* Please mypy.

* Update homeassistant/components/switchbot/switch.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-25 13:37:08 +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
Ville Skyttä
bb4a36c877
Upgrade mypy to 0.910 and types-* ()
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-08-16 22:47:37 +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