Commit Graph

824 Commits (aee412f60b7d43e6e72246db1c863c3f2fcc94f4)

Author SHA1 Message Date
Matt Zimmerman ae3ff0a8ce
Skip empty test directories in gen_requirements_all () 2022-01-07 16:45:27 +01:00
Allen Porter 1ed2497ec9
Revert "Bump google-cloud-pubsub to 2.9.0 (attempt ) ()" ()
This reverts commit 1baa3d87d1.
2022-01-06 09:46:11 -08:00
Allen Porter 1baa3d87d1
Bump google-cloud-pubsub to 2.9.0 (attempt ) () 2022-01-06 15:47:06 +01:00
Franck Nijhof ce31af5b42
Revert "Bump google-cloud-pubsub to 2.9.0 (to bump grpcio)" () 2022-01-05 22:50:11 +01:00
Allen Porter f786237def
Bump google-cloud-pubsub to 2.9.0 ()
The primary motivation is to kick off building wheels for grpcio
2022-01-05 12:03:45 -08: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
Ville Skyttä 334c6c5c02
Make device automation type an enum () 2021-12-20 19:16:30 +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
Eric Severance 1318597370
Fix typing for wemo () 2021-12-19 18:09:30 -06:00
J. Nick Koston 615872a5d1
Align zeroconf matching with ZeroconfServiceInfo () 2021-12-19 02:09:21 -06:00
Franck Nijhof 26d8d82061
Fix codeowners for tests in hassfest () 2021-12-17 16:21:32 +01:00
epenet 25cf690b20
Tidy up package constraint messages ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-15 12:28:04 +01:00
Martin Hjelmare a818afdad1
Revert pillow 8.3.2 ()
* Revert "Bump pillow from 8.2.0 to 8.3.2 ()"

This reverts commit 3635946211.

* Add comment

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Fix comment

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-15 03:10:06 +01:00
Paulus Schoutsen 009a28ba7a
Block pytest_asyncio () 2021-12-06 22:07:56 -08:00
Erik Montnemery e50a47621f
Enable basic type checking for climacell () 2021-12-03 10:08:23 -08:00
Marvin Wichmann 707fe67c00
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-03 09:31:17 +01:00
Erik Montnemery 0e3bc21d54
Teach state and numeric_state conditions about entity registry ids () 2021-12-02 14:55:12 -08:00
Franck Nijhof c8b0a3b667
Revert "Move Platform StrEnum to const" () 2021-12-02 14:19:08 -08:00
Franck Nijhof 6e220d5d17
Move Platform StrEnum to const () 2021-12-02 22:30:52 +01:00
Erik Montnemery c85bb27d0d
Teach state trigger about entity registry ids ()
* Teach state trigger about entity registry ids

* Tweak

* Add tests

* Tweak tests

* Fix tests

* Resolve entity ids during config validation

* Update device_triggers

* Fix mistake

* Tweak trigger validator to ensure we don't modify the original config

* Add index from entry id to entry

* Update scaffold

* Pre-compile UUID regex

* Address review comment

* Tweak mock_registry

* Tweak

* Apply suggestion from code review
2021-12-02 14:26:45 +01:00
Erik Montnemery caf5ee2fab
Remove optional validation when creating conditions () 2021-11-28 14:54:07 +01:00
Erik Montnemery 135778fe91
Enable basic type checking for awair () 2021-11-23 22:49:42 +01:00
Franck Nijhof 42ed6ddba3
Add button support to Google Assistant () 2021-11-22 20:50:21 -08:00
Franck Nijhof 766c889e70
Add button support to HomeKit ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-23 00:46:51 +01:00
Marvin Wichmann 1d63ae8696
Code quality improvements for KNX integration () 2021-11-20 16:15:33 +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
Simone Chemelli 5fc51130ea
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 4 ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 09:18:57 -08:00
Joakim Sørensen 13067003cb
Fix issue with ranges in requirements with hassfest ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-12 09:39:30 +01:00
J. Nick Koston b75476e844
Add support for matching the zeroconf model property () 2021-11-07 07:44:15 -08:00
Franck Nijhof d126d88977
Add Button entity component platform ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-04 16:50:43 +01:00
Franck Nijhof 32784d1b83
Constrain urllib3 to >=1.26.5 () 2021-11-04 11:21:30 +01:00
J. Nick Koston 2b175a37a7
Add package constraint to websockets () 2021-10-28 21:32:22 +02:00
Philip Allgaier 5e88760fa7
Add translations for binary_sensor device classes ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-26 20:41:44 +02: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
Joakim Sørensen 2a7192167d
Use regex instead of partition to section package definition () 2021-10-23 13:19:56 +02:00
Franck Nijhof 45f3eb6991
Remove deprecated Wink integration () 2021-10-14 00:20:13 +02:00
Paulus Schoutsen a4d9019ffc
Refactor persistent notification to no longer route all data via a service ()
* 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 () 2021-10-04 22:13:11 +02:00
Martin Hjelmare 50fffe48f8
Add zwave to zwave_js migration ()
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 ()
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. () 2021-09-18 10:02:24 +01:00
jan iversen 94f06f86cf
Activate mypy for gpmdp. () 2021-09-16 20:05:08 +03:00
jan iversen 53d5a59257
Activate mypy for directv ()
* Activate mypy for directv.

* Activate mypy for directv.
2021-09-15 07:58:04 +02:00
starkillerOG 5f86388f1c
Netgear config flow ()
* 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 () 2021-09-09 15:33:09 +02:00