Franck Nijhof
5ab527e59c
Add configuration flow to CPU Speed ( #62929 )
2021-12-28 21:17:53 +01:00
Mick Vleeshouwer
c3917fc250
Remove TaHoma integration ( #62607 )
2021-12-23 16:17:51 +01:00
Ville Skyttä
a49aa065b7
Derive mypy python_version from REQUIRED_PYTHON_VER ( #62616 )
2021-12-22 21:21:05 +01:00
Franck Nijhof
4805b67300
Add strict typing to Luftdaten ( #62588 )
2021-12-22 12:20:35 +01:00
Ville Skyttä
334c6c5c02
Make device automation type an enum ( #62354 )
2021-12-20 19:16:30 +01:00
Franck Nijhof
fc6c0b1d4a
Add input_button ( #62008 )
...
* 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 ( #62157 )
2021-12-19 18:09:30 -06:00
J. Nick Koston
615872a5d1
Align zeroconf matching with ZeroconfServiceInfo ( #62133 )
2021-12-19 02:09:21 -06:00
Franck Nijhof
26d8d82061
Fix codeowners for tests in hassfest ( #62204 )
2021-12-17 16:21:32 +01:00
epenet
25cf690b20
Tidy up package constraint messages ( #61866 )
...
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 ( #61793 )
...
* Revert "Bump pillow from 8.2.0 to 8.3.2 (#61661 )"
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 ( #61141 )
2021-12-06 22:07:56 -08:00
Erik Montnemery
e50a47621f
Enable basic type checking for climacell ( #55334 )
2021-12-03 10:08:23 -08:00
Marvin Wichmann
707fe67c00
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const ( #60880 )
...
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 ( #60841 )
2021-12-02 14:55:12 -08:00
Franck Nijhof
c8b0a3b667
Revert "Move Platform StrEnum to const" ( #60875 )
2021-12-02 14:19:08 -08:00
Franck Nijhof
6e220d5d17
Move Platform StrEnum to const ( #60857 )
2021-12-02 22:30:52 +01:00
Erik Montnemery
c85bb27d0d
Teach state trigger about entity registry ids ( #60271 )
...
* 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 ( #60481 )
2021-11-28 14:54:07 +01:00
Erik Montnemery
135778fe91
Enable basic type checking for awair ( #55046 )
2021-11-23 22:49:42 +01:00
Franck Nijhof
42ed6ddba3
Add button support to Google Assistant ( #60158 )
2021-11-22 20:50:21 -08:00
Franck Nijhof
766c889e70
Add button support to HomeKit ( #60165 )
...
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 ( #60024 )
2021-11-20 16:15:33 +01:00
Erik Montnemery
dec54488e8
Enable basic type checking for cloud ( #55337 )
...
* 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 ( #58669 )
...
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 ( #59470 )
...
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 ( #58922 )
2021-11-07 07:44:15 -08:00
Franck Nijhof
d126d88977
Add Button entity component platform ( #57642 )
...
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 ( #59043 )
2021-11-04 11:21:30 +01:00
J. Nick Koston
2b175a37a7
Add package constraint to websockets ( #58626 )
2021-10-28 21:32:22 +02:00
Philip Allgaier
5e88760fa7
Add translations for binary_sensor device classes ( #58471 )
...
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 ( #58310 )
2021-10-26 13:27:26 -05:00
Allen Porter
31aa168bbb
Fix bug in MediaSource definintion and enable strict type checking ( #58321 )
2021-10-24 11:39:39 +02:00
Joakim Sørensen
2a7192167d
Use regex instead of partition to section package definition ( #58278 )
2021-10-23 13:19:56 +02:00
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