J. Nick Koston
d7634d1cb1
Additional strict typing for additional recorder internals ( #68689 )
...
* Strict typing for additional recorder internals
* revert
* fix refactoring error
2022-03-29 09:45:25 +02:00
J. Nick Koston
225f7a989b
Add strict typing for recorder util ( #68681 )
2022-03-25 15:03:46 -07:00
G Johansson
67cf053260
Implement config flow for filesize ( #67668 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-25 09:30:28 -10:00
J. Nick Koston
c5c34bc0d7
Typing and code quality for recorder history ( #68647 )
2022-03-24 17:58:38 -07:00
Franck Nijhof
1c2b8ee606
Add typing to Alert integration ( #68365 )
2022-03-22 14:48:36 +01:00
IceBotYT
a43505a0a3
Add PECO power outage counter integration ( #65194 )
...
* Create a new NWS Alerts integration
* Create a new NWS Alerts integration
* Create new PECO integration
* Remove empty keys
* Revert "Create a new NWS Alerts integration"
This reverts commit 38309c5a87
.
* Revert "Create a new NWS Alerts integration"
This reverts commit aeabdd37b8
.
* Fix test with new mock data
* Add init and sensor to .coveragerc and more tests for config flow
* Small fixes and replacing patch with pytest.raises in testing invalid county
* Add type defs and fix test_config_flow to use MultipleValid instead
* Fix issues with 'typing.Dict'
* Move API communication to seperate PyPI library
* Switch PyPI library from httpx to aiohttp to allow for passing in websessions
* Commit file changes requested by farmio as listed here: d267e4300a
* Add suggestions requested by farmio as listed here: 586d8ffa42
* Move native_unit_of_measurement from prop to attr
* Update PLATFORMS constant type annotation
Co-authored-by: Matthias Alphart <farmio@alphart.net>
* Add peco to .strict-typing
I am from school so I can't run mypy atm
* Forgot to import Final
* Do as requested [here](5070634928
)
* Updated mypy.ini, checks should pass now
* Fix to conform to mypy restrictions 5072861837
\?check_suite_focus\=true
* Fix type annotations
* Fix tests
* Use cast in async_update_data
* Add data type to CoordinatorEntity and DataUpdateCoordinator
* More cleanup from suggestions here: https://github.com/home-assistant/core/pull/65194\#pullrequestreview-908183493
* Fix tests for new code
* Cleaning up a speck of dust
* Remove unused variable from the peco sensor
* Add rounding to percentage, and extra clean-up
* Final suggestions from @farmio
* Update SCAN_INTERVAL to be a little bit faster
* Change the SCAN_INTERVAL to be somewhat near the update interval of the outage map, as noted by farmio
* New UpdateCoordinator typing
2022-03-21 23:56:53 +01:00
Franck Nijhof
073fb40b79
Add update entity platform ( #68248 )
...
Co-authored-by: Glenn Waters <glenn@watrs.ca>
2022-03-21 11:02:48 +01:00
G Johansson
89cfb4e86f
Add yale_smart_alarm to strict typing ( #68422 )
...
* Add yale_smart_alarm to strict typing
* Type as Any
2022-03-20 19:50:37 +02:00
Franck Nijhof
2686be921c
Remove deprecated (old) Z-Wave integration ( #67221 )
...
* Remove deprecated (old) Z-Wave integration
* Mark migration tests as skip, for later cleanup
2022-03-18 13:09:10 +01:00
Marc Mueller
7ab9e5cf0f
Improve sonos error decorator typing ( #67199 )
2022-03-15 09:24:52 +01:00
Franck Nijhof
57c33a5cf0
Remove deprecated OpenZWave integration ( #68054 )
2022-03-14 17:33:04 +01:00
Marc Mueller
41df798375
Bump mypy to 0.940 ( #68007 )
2022-03-11 15:57:38 -08:00
epenet
8260767e8f
Enable basic type checking in upnp ( #66253 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:51:23 +01:00
Joakim Sørensen
6b3b21bcfd
Revert "Add update integration ( #66552 )" ( #67641 )
2022-03-07 15:52:15 -08:00
Steve Easley
ea82f2e293
Add Kaleidescape integration ( #67711 )
2022-03-08 00:16:43 +01:00
Robert Hillis
6a92081e83
Add strict typing to adguard ( #67775 )
2022-03-07 11:43:21 +01:00
Franck Nijhof
02391663c1
Add config flow to Moon ( #67444 )
2022-03-03 15:12:33 -08:00
Joakim Sørensen
1a78e18eeb
Add update integration ( #66552 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-03 08:27:09 -08:00
J. Nick Koston
ad87d06d1f
Enable strict typing for usb ( #67466 )
...
* Enable strict typing for usb
* Enable strict typing for usb
* Enable strict typing for usb
* adjust
* coverage
* Update tests/components/usb/test_init.py
2022-03-03 07:59:31 +01:00
Joakim Sørensen
d018cbab3d
Enable strict typing for backup integration ( #67427 )
2022-03-01 13:16:10 +02:00
J. Nick Koston
076fe97110
Strict typing for dhcp ( #67361 )
2022-02-28 18:49:44 -10:00
Franck Nijhof
2ca97f6309
Code quality improvements for Worldclock ( #67392 )
2022-02-28 11:03:43 -08:00
Martin Hjelmare
d299915c1a
Fix netgear typing ( #67287 )
2022-02-26 14:00:33 -08:00
Marc Mueller
ec980a574b
Improve typing [util.decorator] ( #67087 )
2022-02-23 20:58:42 +01:00
Marc Mueller
8b7639940e
Fix type issues [mobile_app] ( #67091 )
2022-02-23 08:47:54 -08:00
Robert Svensson
dd88a05cb4
Make type checking pass for deCONZ init, gateway and services ( #66054 )
...
* Type and enable type checking for init, config_flow, diagnostics, gateway and services
* Fix import
* Fix review comment
2022-02-23 13:10:35 +01:00
J. Nick Koston
e1989e2858
Enable strict typing for powerwall ( #65577 )
2022-02-23 12:15:31 +01:00
Marc Mueller
4fecd5d8af
Fix type issues [fireservicerota] ( #67094 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-23 11:53:02 +01:00
Marc Mueller
b6572d1cab
Fix type issues [geniushub] ( #67095 )
2022-02-23 09:55:26 +01:00
Marc Mueller
c11663344d
Fix type issues [firmata] ( #67093 )
2022-02-23 08:57:06 +01:00
Marc Mueller
636d791b37
Fix type issues [litterrobot] ( #67092 )
2022-02-23 08:44:35 +01:00
Klaas Schoute
6c2d6fde66
Add Pure Energie integration ( #66846 )
2022-02-19 17:53:25 +01:00
Mike Fugate
0bd0b4766e
Refactor sleepiq as async with config flow ( #64850 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-02-16 08:51:29 -06:00
Franck Nijhof
00221f1d66
Cleanup and strict typing for MJPEG integration ( #66526 )
2022-02-15 12:32:14 +01:00
Marc Mueller
80394e3de6
Improve util.async_
typing ( #66510 )
2022-02-14 15:41:09 +01:00
Jc2k
0daf20c0cc
Prepare for new aiohomekit lifecycle API ( #66340 )
2022-02-11 19:26:35 +00:00
epenet
47d6f75c17
Enable basic type checking in template ( #66222 )
...
* 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 ( #66212 )
...
* 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 ( #66218 )
...
* 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 ( #66197 )
2022-02-09 19:09:55 +01:00
Franck Nijhof
b9f21d4e07
Improve typing of Spotify ( #66109 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
Chris Talkington
15e5f516d2
Update rokuecp to 0.13.1 ( #65814 )
2022-02-05 22:17:31 -06:00
J. Nick Koston
342f5182b9
WiZ cleanups part 1 ( #65746 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-05 09:23:19 -06:00
Jc2k
714a952d73
Enable types from aiohomekit to be used by mypy for homekit_controller ( #65433 )
2022-02-03 10:18:03 -06:00
J. Nick Koston
6c38a6b569
Enable strict typing for isy994 ( #65439 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 17:02:05 +01:00
epenet
f95183f6a8
Make mypy IGNORED_MODULES file specific ( #65416 )
...
* 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 ( #65126 )
...
* 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
913d6f6ea1
Remove sonos media_player from strict typing ( #65419 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 06:59:21 +01:00
epenet
8325188ed2
Remove nest legacy from mypy ignored modules ( #65421 )
...
* 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 ( #65358 )
2022-02-01 11:27:35 +00:00