Commit graph

40 commits

Author SHA1 Message Date
Martin Hjelmare
e73cdfab2f
Fix mysensors typing ()
* Fix device

* Fix init

* Fix gateway

* Fix config flow

* Fix helpers

* Remove mysensors from typing ignore list
2021-06-05 13:43:39 +02:00
Michael
be0a54edb1
Add strict type annotations to bluetooth_tracker () 2021-05-25 12:29:35 +01:00
Franck Nijhof
0cbcb9e0d6
Fix Hue overriding property methods, remove ignored typing () 2021-05-22 20:32:41 -07:00
Franck Nijhof
e64b5afa58
Typing improvements for Sentry ()
* Typing improvements for Sentry

* Fix event tags access

* Fix tests
2021-05-22 19:09:19 +02:00
Michael
4a64f7a696
Add strict type annotations to tcp ()
* add strict type annotations

* apply suggestions

* rename to TCP_PLATFORM_SCHEMA

* Replace DiscoveryInfoType
2021-05-22 15:45:18 +01:00
Michael
2e316f6fd5
Add strict type annotations to canary ()
* Add strict type annotations

* Add missing futur import

* Apply suggestions

* Apply suggestions
2021-05-22 09:14:59 +01:00
Michael
8c5c8ed153
Add strict type annotations to fitbit ()
* add strict type annotations

* cast json_load()

* apply suggestions

* move SCAN_INTERVAL back to platform file

* apply suggestion

* apply suggestion

* apply suggestions

* rename to PARENT_PLATFORM_SCHEMA
2021-05-21 13:33:54 +01:00
Ruslan Sayfutdinov
62386c8676
Enable type checks for device_tracker ()
* Enable type checks for device_tracker

* Fix MQTT test
2021-05-19 09:36:26 +01:00
Kevin Eifinger
663c0374ab
Add full typing to kraken ()
* Add full typing to kraken

* Let device_info return DeviceInfo

* Replace unsub_listeners with entry.async_on_unload

* Raise TypeError on end of _try_get_state

* Assert Coordinator is not none

* Add class SensorType

* Add strict typing to kraken

* Add changes from code review

* Revert typed dict creation
2021-05-17 10:12:04 +03:00
Ruslan Sayfutdinov
703456abea
Better errors handling in mypy hassfest plugin () 2021-05-16 07:04:09 -07:00
Martin Hjelmare
5da64d01e2
Fix smhi typing () 2021-05-15 21:38:12 +02:00
Michael
25b2fd0cee
Add strict typing to fritzbox ()
* enable strict typing

* apply suggestions

* set defaults for FritzboxConfigFlow

* improvements and suggestions

* another suggestion

* tweaks

* tweaks
2021-05-15 07:54:11 +02:00
Ville Skyttä
ed10856cc4
UpCloud API and typing update () 2021-05-14 21:49:41 -07:00
Kevin Eifinger
c220e70008
Add integration kraken ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-14 08:02:11 -07:00
Ruslan Sayfutdinov
35f304450c
Enable type checks for stream component ()
* Enable type checks for stream component

* Fix pylint
2021-05-13 23:26:11 +02:00
Paulus Schoutsen
2cdf075f95
Only return empty string if non-fixable errors () 2021-05-12 08:54:04 +02:00
Simone Chemelli
e616583bad
Improve types for Fritz ()
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
2021-05-11 10:41:27 -05:00
epenet
d6c99a3db9
Enable strict type checks for onewire () 2021-05-11 17:28:17 +02:00
Maciej Bieniek
f5541a468e
Improve type annotations for GIOS integration () 2021-05-11 07:57:24 -07:00
Ruslan Sayfutdinov
1538271555
Don't generate mypy.ini if errors are found () 2021-05-11 14:29:14 +02:00
Ruslan Sayfutdinov
3a192896df
Enable some strict mypy checks globally ()
* Enable some strict mypy checks globally

* Update mypy.ini
2021-05-10 14:20:25 +02:00
Michael
042822e35e
Improve typing for synology_dsm () 2021-05-09 22:44:55 +02:00
Shay Levy
be73067f9c
Fix Shelly type hints () 2021-05-09 19:46:53 +02:00
Dermot Duffy
4e4042a869
Fix types for WLED () 2021-05-09 19:34:21 +02:00
Ruslan Sayfutdinov
9b058551f7
Enable type checks for camera platform () 2021-05-09 18:04:57 +02:00
Gleb Sinyavskiy
52b1a416d9
Remove the N26 integration () 2021-05-09 00:58:23 +02:00
Maciej Bieniek
6df0190aeb
Improve type annotations for Airly integration () 2021-05-07 09:47:52 -05:00
Franck Nijhof
e3e9239798
Strictly type Twente Milieu integration () 2021-05-05 22:04:09 -07:00
Milan Meulemans
a0feee083c
Fix and enable type checks in Rituals Perfume Genie () 2021-05-04 14:47:17 +02:00
Dermot Duffy
809c1394d4
Enable mypy for motionEye (aye aye!) () 2021-05-04 08:19:41 +02:00
jan iversen
f0ec9c38b0
Fix modbus typing ()
Add changes needed to please mypy and follow the coding rules
of the project.
2021-05-03 22:45:21 +02:00
Ruslan Sayfutdinov
5fd8e7008e
Create separate entries for each component in mypy.ini () 2021-05-03 18:45:38 +02:00
Dermot Duffy
e8446cb4d9
Fix types for shell command () 2021-05-03 10:43:23 +02:00
jan iversen
ebee5f7808
Fix ihc typing () 2021-05-01 21:01:56 +02:00
jan iversen
60ae230499
Please mypy (axis). ()
* Please mypy (axis).

* Update homeassistant/components/axis/config_flow.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-05-01 16:13:43 +02:00
Franck Nijhof
dc46a213a7
Enable strict typing for the Elgato integration () 2021-04-30 13:21:30 -07:00
Ruslan Sayfutdinov
02764c2f46
Disable strict type checks for tests () 2021-04-29 15:57:02 +02:00
Ruslan Sayfutdinov
a0bf95d4b5
Validate if modules in mypy config exist () 2021-04-29 06:29:53 +02:00
Ruslan Sayfutdinov
2adc6d62e5
Replace .no-strict-typing with .strict-typing () 2021-04-27 09:13:11 -07:00
Ruslan Sayfutdinov
37466ae423
Don't ignore mypy errors by default () 2021-04-26 14:23:21 +02:00