Commit graph

186 commits

Author SHA1 Message Date
Marc Mueller
636d791b37
Fix type issues [litterrobot] () 2022-02-23 08:44:35 +01:00
epenet
47d6f75c17
Enable basic type checking in template ()
* Fix binary_sensor

* Adjust button

* Adjust fan

* Adjust select

* Adjust template_entity

* Adjust trigger_entity

* Adjust weather

* Adjust init

* Adjust number

* Adjust None check
2022-02-10 10:59:54 +01:00
epenet
ea325ef027
Enable basic type checking in demo platforms ()
* Adjust type hints in demo platforms

* Adjust mypy config

* Adjust name
2022-02-10 10:05:58 +01:00
epenet
f17d66228c
Enable basic type checking in demo init ()
* Enable basic type checking in demo init

* Remove from mypy ignore list
2022-02-10 09:04:36 +01:00
Erik Montnemery
83a10cca53
Enable basic type checking for config () 2022-02-09 19:09:55 +01:00
Franck Nijhof
b9f21d4e07
Improve typing of Spotify ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
J. Nick Koston
6c38a6b569
Enable strict typing for isy994 ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 17:02:05 +01:00
epenet
f95183f6a8
Make mypy IGNORED_MODULES file specific ()
* Make mypy IGNORED_MODULES file specific

* Adjust sonos type hints

* Remove legacy nest from IGNORED_MODULES

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:21:06 +01:00
epenet
9fde84ab41
Remove freebox from mypy ignore list ()
* Add type hints to freebox

* Remove freebox from mypy ignore list

* Adjust type hints

* Refactor FreeboxRouter setup/close

* Remove unnecessary assert

* Remove unused constant

* Rework unload routine

* Bring back close method

* Suppress NotOpenError

* Use async_on_unload on signal_device_new

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:01:41 +01:00
epenet
8325188ed2
Remove nest legacy from mypy ignored modules ()
* Remove nest legacy from mypy ignored modules

* Set type-ignore inside the files

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 06:57:44 +01:00
Jc2k
dd5bcafab7
Enable mypy checks for homekit_controller () 2022-02-01 11:27:35 +00:00
Marc Mueller
f6c679699f
Add plugin option [hassfest] () 2022-01-26 20:52:09 -08:00
Marc Mueller
5e633498d2
Enable no_implicit_reexport for core files [mypy] () 2022-01-26 10:55:06 +01:00
epenet
3f8032c635
Remove ring from mypy ignore list ()
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 ()
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 ()
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 ()
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 () 2022-01-20 09:51:10 +01:00
epenet
3e4883b175
Remove stt from mypy ignore list () 2022-01-20 09:49:34 +01:00
epenet
3ef2eadaf5
Remove plum lightpad from mypy ignore list ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
* 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 ()
* 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 () 2022-01-20 09:22:18 +02:00
epenet
03bf2cdd56
Remove vera from mypy ignore list ()
* Remove vera from mypy ignore list

* Fix pylint
2022-01-20 07:46:26 +01:00
epenet
29ec65f924
Remove verisure from mypy ignore list () 2022-01-19 22:56:31 +01:00
epenet
7592347715
Remove somfy from mypy ignore list ()
* 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 ()
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) ()
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) ()
* 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) ()
* 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 ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-18 13:26:12 +01:00
epenet
d1a2ce4b78
Cleanup mypy ignored modules ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-18 12:10:49 +01:00
epenet
24c07ccf15
Remove tado from mypy ignored modules ()
* 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
Marc Mueller
912ff76fda
Enable strict typing for core.py () 2022-01-10 12:07:22 +01:00
Franck Nijhof
2fe08d2b9b
Complete strict typing to Humidifier entity platform () 2022-01-04 18:09:32 +01:00
Ville Skyttä
a49aa065b7
Derive mypy python_version from REQUIRED_PYTHON_VER () 2021-12-22 21:21:05 +01:00
Franck Nijhof
4805b67300
Add strict typing to Luftdaten () 2021-12-22 12:20:35 +01:00
Eric Severance
1318597370
Fix typing for wemo () 2021-12-19 18:09:30 -06:00
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