Jc2k
dd5bcafab7
Enable mypy checks for homekit_controller ( #65358 )
2022-02-01 11:27:35 +00:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
Marc Mueller
75f39f9ca2
Move version metadata key to setup.cfg ( #65091 )
...
* Move version to setup.cfg
* Move python_requires to setup.cfg
* Add script to validate project metadata
* Add dedicated pre-commit hook
2022-01-28 13:36:20 +01:00
Marc Mueller
f6c679699f
Add plugin option [hassfest] ( #65024 )
2022-01-26 20:52:09 -08:00
Marc Mueller
5e633498d2
Enable `no_implicit_reexport` for core files [mypy] ( #63820 )
2022-01-26 10:55:06 +01:00
Paulus Schoutsen
9f12612391
Update hassfest dependency check ( #64638 )
2022-01-21 09:29:17 -08:00
epenet
3f8032c635
Remove ring from mypy ignore list ( #64522 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 12:31:28 -08:00
epenet
51c8e041ea
Remove plugwise from mypy ignore list ( #64525 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 10:14:52 +01:00
epenet
a1ed2a57e9
Remove smartthings from mypy ignore list ( #64511 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 10:13:04 +01:00
epenet
3393b78e08
Remove plaato from mypy ignore list ( #64516 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:58:12 +01:00
epenet
e2a9ff5ecd
Remove system_log from mypy ignore list ( #64469 )
2022-01-20 09:51:10 +01:00
epenet
3e4883b175
Remove stt from mypy ignore list ( #64468 )
2022-01-20 09:49:34 +01:00
epenet
3ef2eadaf5
Remove plum lightpad from mypy ignore list ( #64523 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:47:42 +01:00
epenet
66c2520a94
Remove sharkiq from mypy ignore list ( #64509 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:45:47 +01:00
epenet
921a554b9e
Remove pioneer from mypy ignore list ( #64515 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:44:45 +01:00
epenet
bb7653e477
Remove point from mypy ignore list ( #64524 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:35:31 +01:00
epenet
15bbff960e
Remove sense from mypy ignore list ( #64508 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:35:10 +01:00
epenet
3ab9dc9b0e
Remove search from mypy ignore list ( #64507 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:24:48 +01:00
epenet
fceeafb5de
Remove ruckus unleashed from mypy ignore list ( #64513 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:18:09 +01:00
epenet
e56c64db07
Remove screenlogic from mypy ignore list ( #64512 )
...
* Adjust screenlogic
* Adjust mypy_config
* Adjust coordinator cast
* Move cast higher up
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 09:06:44 +01:00
epenet
ca6dd09fc2
Remove rachio from mypy ignore list ( #64521 )
...
* Adjust rachio
* Adjust mypy-config
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 08:53:16 +01:00
epenet
e248ef1dd7
Remove sma from mypy ignore list ( #64510 )
2022-01-20 09:22:18 +02:00
epenet
03bf2cdd56
Remove vera from mypy ignore list ( #64474 )
...
* Remove vera from mypy ignore list
* Fix pylint
2022-01-20 07:46:26 +01:00
epenet
29ec65f924
Remove verisure from mypy ignore list ( #64475 )
2022-01-19 22:56:31 +01:00
epenet
7592347715
Remove somfy from mypy ignore list ( #64462 )
...
* Adjust somfy
* Remove somfy from mypy-config
* Fix pylint
2022-01-19 21:46:26 +01:00
epenet
211b99e22d
Remove ping from mypy ignored modules ( #64439 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-19 20:59:20 +01:00
epenet
edaf75321e
Remove integrations from mypy ignored modules (part 4) ( #64435 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-19 13:29:24 +01:00
epenet
f6bc21d2aa
Remove integrations from mypy ignored modules (part 3) ( #64414 )
...
* Adjust kaiterra
* Adjust keenetic_ndms2
* Adjust kodi
* Adjust kulersky
* Adjust litejet
* Adjust motion_blinds
* Cleanup mypy_config
* Adjust kulersky
* Adjust keenetic_ndms2
* Adjust kodi
* Adjust motion_blinds
* Introduce RequiredKeysMixin in kaiterra
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-19 10:49:46 +01:00
epenet
2f8d99bf5d
Remove integrations from mypy ignored modules (part 2) ( #64367 )
...
* Adjust dhcp
* Adjust growatt_server
* Adjust habitica
* Adjust home_connect
* Adjust iaqualink
* Adjust incomfort
* Adjust input_number
* Adjust ipp
* Adjust mypy_config
* Unindent input-number
* Fix type hint in home_connect
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-19 09:00:09 +01:00
epenet
45313e3f7a
Remove integrations from mypy ignored modules ( #64358 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-18 13:26:12 +01:00
epenet
d1a2ce4b78
Cleanup mypy ignored modules ( #64341 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-18 12:10:49 +01:00
Paulus Schoutsen
6055cd20c8
Add diagnostics integration ( #64330 )
2022-01-17 20:42:18 -08:00
epenet
24c07ccf15
Remove tado from mypy ignored modules ( #64333 )
...
* Remove tado from mypy ignored modules
* Adjust typing
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-17 19:20:12 -08:00
Ville Skyttä
1dd87810bc
Generate supported python versions based on current and next required ( #62618 )
2022-01-11 10:50:17 +01:00
Marc Mueller
912ff76fda
Enable strict typing for `core.py` ( #63244 )
2022-01-10 12:07:22 +01:00
Franck Nijhof
2fe08d2b9b
Complete strict typing to Humidifier entity platform ( #61021 )
2022-01-04 18:09:32 +01:00
Franck Nijhof
5ab527e59c
Add configuration flow to CPU Speed ( #62929 )
2021-12-28 21:17:53 +01:00
Mick Vleeshouwer
c3917fc250
Remove TaHoma integration ( #62607 )
2021-12-23 16:17:51 +01:00
Ville Skyttä
a49aa065b7
Derive mypy python_version from REQUIRED_PYTHON_VER ( #62616 )
2021-12-22 21:21:05 +01:00
Franck Nijhof
4805b67300
Add strict typing to Luftdaten ( #62588 )
2021-12-22 12:20:35 +01:00
Franck Nijhof
fc6c0b1d4a
Add input_button ( #62008 )
...
* Add input_button
* Update homeassistant/components/input_button/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Improve test coverage
* Add reload test: not affecting state
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-20 16:18:58 +01:00
Eric Severance
1318597370
Fix typing for wemo ( #62157 )
2021-12-19 18:09:30 -06:00
J. Nick Koston
615872a5d1
Align zeroconf matching with ZeroconfServiceInfo ( #62133 )
2021-12-19 02:09:21 -06:00
Franck Nijhof
26d8d82061
Fix codeowners for tests in hassfest ( #62204 )
2021-12-17 16:21:32 +01:00
Erik Montnemery
e50a47621f
Enable basic type checking for climacell ( #55334 )
2021-12-03 10:08:23 -08:00
Marvin Wichmann
707fe67c00
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const ( #60880 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-03 09:31:17 +01:00
Franck Nijhof
c8b0a3b667
Revert "Move Platform StrEnum to const" ( #60875 )
2021-12-02 14:19:08 -08:00
Franck Nijhof
6e220d5d17
Move Platform StrEnum to const ( #60857 )
2021-12-02 22:30:52 +01:00
Erik Montnemery
135778fe91
Enable basic type checking for awair ( #55046 )
2021-11-23 22:49:42 +01:00
Franck Nijhof
42ed6ddba3
Add button support to Google Assistant ( #60158 )
2021-11-22 20:50:21 -08:00
Franck Nijhof
766c889e70
Add button support to HomeKit ( #60165 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-23 00:46:51 +01:00
Marvin Wichmann
1d63ae8696
Code quality improvements for KNX integration ( #60024 )
2021-11-20 16:15:33 +01:00
Erik Montnemery
dec54488e8
Enable basic type checking for cloud ( #55337 )
...
* 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
Simone Chemelli
5fc51130ea
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 4 ( #58669 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 09:18:57 -08:00
Joakim Sørensen
13067003cb
Fix issue with ranges in requirements with hassfest ( #59470 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-12 09:39:30 +01:00
J. Nick Koston
b75476e844
Add support for matching the zeroconf model property ( #58922 )
2021-11-07 07:44:15 -08:00
Franck Nijhof
d126d88977
Add Button entity component platform ( #57642 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 16:50:43 +01:00
Philip Allgaier
5e88760fa7
Add translations for binary_sensor device classes ( #58471 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-26 20:41:44 +02:00
Marc Mueller
b60934b10d
Enable type checking - bmw_connected_drive ( #58310 )
2021-10-26 13:27:26 -05:00
Allen Porter
31aa168bbb
Fix bug in MediaSource definintion and enable strict type checking ( #58321 )
2021-10-24 11:39:39 +02:00
Joakim Sørensen
2a7192167d
Use regex instead of partition to section package definition ( #58278 )
2021-10-23 13:19:56 +02:00
Franck Nijhof
45f3eb6991
Remove deprecated Wink integration ( #57634 )
2021-10-14 00:20:13 +02:00
Tomasz
08cebb247f
Activate mypy for rpi_power ( #57047 )
2021-10-04 22:13:11 +02:00
Martin Hjelmare
50fffe48f8
Add zwave to zwave_js migration ( #56159 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-29 08:55:27 -07:00
Teemu R
b40d229369
Rework TPLink integration to use python-kasa ( #56701 )
...
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. ( #55965 )
2021-09-18 10:02:24 +01:00
jan iversen
94f06f86cf
Activate mypy for gpmdp. ( #55967 )
2021-09-16 20:05:08 +03:00
jan iversen
53d5a59257
Activate mypy for directv ( #55963 )
...
* Activate mypy for directv.
* Activate mypy for directv.
2021-09-15 07:58:04 +02:00
starkillerOG
5f86388f1c
Netgear config flow ( #54479 )
...
* 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. ( #55964 )
2021-09-09 13:14:28 +02:00
Alan Tse
98ecf2888c
Remove tesla integration ( #55988 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-08 22:12:03 -07:00
Ian
de5a22953d
Whole-string match reqs in comment_requirement ( #55192 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-08-30 08:20:02 -07:00
Erik Montnemery
8b436c43f7
Enable basic type checking for cert_expiry ( #55335 )
2021-08-29 10:57:18 -06:00
jan iversen
d1965eef8b
Activate mypy for sonar ( #55327 )
...
* Please mypy.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-28 12:05:48 +02:00
J. Nick Koston
a89057ece5
Limit USB discovery to specific manufacturer/description/serial_number matches ( #55236 )
...
* Limit USB discovery to specific manufacturer/description/serial_number matches
* test for None case
2021-08-26 09:59:02 -04:00
jan iversen
504d23ac72
Activate mypy for switchbot ( #55196 )
...
* 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 #54328 ) ( #55195 )
2021-08-25 10:30:29 +02:00
jan iversen
98a3ad6fd4
Revert "Please mypy in gtfs and implement needed changes ( #54328 )" ( #55148 )
2021-08-24 14:29:03 +02:00
jan iversen
e2ce1d8b24
Please mypy in gtfs and implement needed changes ( #54328 )
2021-08-24 11:28:45 +02:00
jan iversen
336aa74317
Activate mypy for todoist ( #55096 )
2021-08-24 11:23:33 +02:00
jan iversen
0ab99fc8bf
Activate mypy for surepetcare ( #55079 )
2021-08-24 11:21:57 +02:00
Paulus Schoutsen
c8f584f4ef
Validate requirements format in hassfest ( #55094 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-08-24 08:51:07 +02:00
jan iversen
dae40530bd
Activate mypy for synology_srm ( #55059 )
2021-08-23 22:57:33 +02:00
jan iversen
9b472aee9a
Activate mypy for wink ( #55077 )
2021-08-23 22:55:00 +02:00
jan iversen
cada3d1819
Activate mypy for smarttub ( #55070 )
2021-08-23 22:52:34 +02:00
jan iversen
d5c26aece1
Activate mypy for tuya ( #55057 )
2021-08-23 21:30:04 +02:00
jan iversen
a5c1fbcb1a
Activate mypy for velbus ( #55055 )
2021-08-23 20:57:37 +02:00
jan iversen
4ef376a971
Activate mypy for volumio ( #55054 )
...
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 ( #55058 )
2021-08-23 20:22:55 +02:00
Erik Montnemery
68f1c19049
Enable basic type checking for azure_event_hub ( #55047 )
...
* 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. ( #55069 )
2021-08-23 17:02:31 +03:00
Erik Montnemery
03bda6ed15
Enable basic type checking for almond ( #54927 )
...
* Enable basic type checking for almond
* Tweak
* Address review comments
2021-08-23 09:35:03 +02:00
J. Nick Koston
0403ea715e
Add known devices to USB Vendor / Product IDs ( #54986 )
...
Co-authored-by: kpine <keith.pine@gmail.com>
2021-08-21 21:56:49 +02:00
J. Nick Koston
ebb8ad308e
Fix nmap_tracker typing ( #54858 )
...
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 ( #54950 )
...
* Please mypy.
* Review comments.
* Review comments.
2021-08-21 20:19:56 +02:00
Erik Montnemery
fedd958dc0
Enable basic type checking for atag ( #54933 )
2021-08-21 13:39:56 +02:00
Erik Montnemery
efd15344e9
Enable basic type checking for analytics ( #54928 )
2021-08-21 11:46:28 +02:00
Erik Montnemery
7e5ff825dd
Enable basic type checking for adguard ( #54924 )
2021-08-21 11:46:00 +02:00
J. Nick Koston
8796eaec81
Add support for USB discovery to ZHA ( #54935 )
...
* Add USB discovery support to ZHA
* dry
* dry
* Update homeassistant/components/zha/config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* black
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 20:42:23 -05:00
J. Nick Koston
dc74a52f58
Add support for USB discovery ( #54904 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 14:04:18 -05:00