Commit Graph

832 Commits (b52a8ba37a5e5e05b80beddff06b116371941d86)

Author SHA1 Message Date
Joakim Sørensen 5a33610739
Use Platform enum in scaffold templates () 2022-01-14 02:13:56 +02:00
Franck Nijhof d1eecba36a
Pin libcst==0.3.23 () 2022-01-13 18:25:28 +01:00
Marc Mueller 0922627612
Remove unused pillow 8.2.0 constraint () 2022-01-13 00:28:32 +01:00
Marc Mueller d057850971
Update typing - collections.abc (3) () 2022-01-12 08:04:17 +01:00
Allen Porter aab5a097a0
Bump google-cloud-pubsub to 2.9.0 (attempt ) () 2022-01-11 17:25:50 +01:00
Ville Skyttä 1dd87810bc
Generate supported python versions based on current and next required () 2022-01-11 10:50:17 +01:00
Marc Mueller 912ff76fda
Enable strict typing for `core.py` () 2022-01-10 12:07:22 +01:00
Shay Levy 1f92c25b8c
Remove package constraint to websockets () 2022-01-09 05:04:19 +01:00
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