Commit graph

488 commits

Author SHA1 Message Date
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
epenet
f4aaa981a1
Adjust coverage to include all config flows ()
* Adjust tradfri

* Adjust huawei_lte

* Adjust iqvia

* Adjust wiffi

* Adjust solarlog

* Adjust lifx

* Adjust doorbird

* Adjust rachio

* Adjust starline

* Adjust konnected

* Adjust ambient_station

* Adjust tado

* Adjust point

* Adjust daikin

* Adjust hangouts

* Adjust ifttt

* Adjust ios

* Adjust life360

* Adjust sms

* Adjust spider

* Adjust upnp

* Adjust hassfest
2022-02-09 22:19:29 +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
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
Marc Mueller
75f39f9ca2
Move version metadata key to setup.cfg ()
* 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] () 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
Paulus Schoutsen
9f12612391
Update hassfest dependency check () 2022-01-21 09:29:17 -08: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
Paulus Schoutsen
6055cd20c8
Add diagnostics integration () 2022-01-17 20:42:18 -08: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
Ville Skyttä
1dd87810bc
Generate supported python versions based on current and next required () 2022-01-11 10:50:17 +01: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
Franck Nijhof
5ab527e59c
Add configuration flow to CPU Speed () 2021-12-28 21:17:53 +01:00
Mick Vleeshouwer
c3917fc250
Remove TaHoma integration () 2021-12-23 16:17:51 +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
Franck Nijhof
fc6c0b1d4a
Add input_button ()
* 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