Franck Nijhof
45f3eb6991
Remove deprecated Wink integration ( #57634 )
2021-10-14 00:20:13 +02:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +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
uvjustin
dd9bfe7aa0
Add package constraint anyio>=3.3.1 ( #55997 )
2021-09-09 15:33:09 +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
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ( #55402 )
...
* Make automation trigger info a TypedDict
* zwave_js trigger type hint fixes
* Remove redundant automation trigger info field presence checks
* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
Tomasz Wieczorek
501e7c84be
Type scaffold PLATFORMS ( #55699 )
...
* Added template base type
Proposition to add typing, as pre-commit test on newly created integrations fails on it automatically:
```
homeassistant/components/<my_integration>/__init__.py:11: error: Need type annotation for "PLATFORMS" (hint: "PLATFORMS: List[<type>] = ...") [var-annotated]
Found 1 error in 1 file (checked 4 source files)
```
I believe there shouldn't be other type than text, hence the proposition.
* Apply suggestions from code review
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-09-04 01:21:18 +02:00
Erik Montnemery
cdaba62d2c
Add test fixture for unauthenticated HTTP client ( #55561 )
...
* Add test fixture for unauthenticated HTTP client
* Remove things from the future
2021-09-02 13:09:16 +02: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
Joakim Sørensen
2fcd77098d
Pin regex to 2021.8.28 ( #55368 )
2021-08-28 15:00:14 +02: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
Allen Porter
58f170ba45
Pin google-api-core to avoid new version of grpcio ( #55115 )
2021-08-24 09:43:29 +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
Ville Skyttä
0095c6baeb
Improve device trigger type hinting ( #54907 )
2021-08-22 20:32:50 +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
Erik Montnemery
dbc4470979
Enable basic type checking for aemet ( #54925 )
2021-08-20 19:10:19 +02:00
Erik Montnemery
09ee7fc021
Enable basic type checking for asuswrt ( #54929 )
2021-08-20 19:08:22 +02:00
Ville Skyttä
4bb2c6e00f
Improve device action type hinting ( #54850 )
...
* Improve device action type hinting
* More precise _async_get_automations type hints
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 07:13:25 +03:00