Commit Graph

44473 Commits (d8df62ba1bf751899cdd052d65627d5d17e1090b)

Author SHA1 Message Date
Michael e609f196bc
add @mib1185 as codeowner (#64134) 2022-01-14 22:06:36 +01:00
Patrik Lindgren 03defdc922
Add test cases for Tradfri cover platform (#64072)
* Add test cases for Tradfri cover

* Simplify test

* Fix typo

* Fix typos

* Update tests/components/tradfri/test_cover.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix

* Remove unused function

* Move common tools to separate file

* Simplify parametrization

* Use int

* Remove loop

* Use context manager

* Simplify

* Update docstring

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 19:40:14 +01:00
G Johansson 99f36c9a8b
Implement DeviceInfo in smhi (#64126)
* Implement DeviceInfo in smhi

* Change model
2022-01-14 19:39:41 +01:00
Duco Sebel 19c65abaa6
Fix initial HomeWizard integration issues (#63921)
* Use helper for setup and unload

* Set mutable object in __init__

* Move logic out of try..except

* Print stack trace on error in config flow

* Don't catch broad except in update_coordinator, already handled

* Fix typo

* Combine available with super.available()

* Fix issues with config_flow test

* Test coordiantor indirectly

* Test coordinator by moving time forward

* set utcnow beforehand and increase timedelta

* Roll back f658749

* Rolled back the rollback and fixed timing

* Move setting time after adding to hass
2022-01-14 19:28:24 +01:00
Paulus Schoutsen 2f18058fe7
Allow browsing favorites in Sonos media browser (#64082)
* Allow browsing favorites in Sonos media browser

* Group favorites by type, add thumbnails

* Update homeassistant/components/sonos/media_player.py

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Keep favorite groups ordering consistent

* Skip root folder if only one child available

Co-authored-by: Jason Lawrence <jjlawren@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 09:28:25 -08:00
Maciej Bieniek 3265a09083
Fix changing the preset mode (#64119) 2022-01-14 17:24:54 +01:00
Franck Nijhof b1848cd2f4
Modernize Elgato tests (#64060) 2022-01-14 17:16:59 +01:00
Marc Mueller b17860a7dd
Upgrade boto3 to 1.20.24 + aiobotocore to 2.1.0 (#64045) 2022-01-14 17:10:09 +01:00
Marc Mueller 0407f60955
Upgrade enturclient to 0.2.3 (#64121) 2022-01-14 16:49:47 +01:00
epenet 3049f820b8
Add setup type hints to raspihats (#63988)
* Use DOMAIN to store hass.data

* Add setup type hints to binary_sensor

* Add setup type hints to switch

* Adjust callback registration

* Revert "Adjust callback registration"

This reverts commit 88c179f870.

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:43:52 +01:00
epenet 2c0033254b
Import cloud (#64116)
* Add type hints to cloud

* Import cloud

* Adjust smartthings tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:35:35 +01:00
epenet 9f61aecd5e
Import onboarding (#64115)
* Add type hints to onboarding

* Import onboarding

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:29:48 +01:00
Shay Levy 532c3aca33
Bump aprslib to 0.7.0 (#64093) 2022-01-14 16:28:30 +01:00
epenet 5db1dd2e41
Deprecate Raspihats (ADR-0019) (#64113)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 14:03:31 +01:00
epenet e492cb5156
Import webhook in netatmo (#64105)
* Import webhook in netatmo

* Adjust tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 13:01:14 +01:00
epenet 0042bb68d9
Cleanup ADS constants and add type hints (#63390)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:58:12 +01:00
G Johansson 55143e240b
Add DeviceInfo to trafikverket_weatherstation (#64083)
* Add DeviceInfo to trafikverket_weatherstation

* Correct DeviceInfo
2022-01-14 12:42:59 +01:00
epenet c1692a324b
Add type hints to tts (#64050)
* Add type hint for _get_cache_files

* Add type hint for _init_tts_cache_dir

* Add init type hints for async_clear_cache

* Add type hints to async_setup_platform

* Add type hints to async_register_engine

* Add type hints to self.providers

* Add type hints to _async_store_to_memcache

* Add type hints to async_file_to_mem

* Add full type hints

* Use tuple in async_read_tts

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:35:29 +01:00
epenet 44a686931e
Import webhook (#64102)
* Import webhook

* Adjust webhook trigger

* Fix pylint

* Add type hints to async_handle_webhook

* Revert changes to netatmo

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:31:02 +01:00
Joakim Sørensen 0eff3e4b26
Bump aiogithubapi to 22.1.0 (#64109) 2022-01-14 11:50:31 +01:00
Erik Montnemery 537dfbca18
Rename cloud's AlexaConfig to CloudAlexaConfig (#64065)
* Rename cloud's AlexaConfig to CloudAlexaConfig

* Tweak
2022-01-14 11:09:39 +01:00
epenet 3763407046
Move list to dict in supla discovery (#63805)
* Move list to dict in supla discovery

* Adjust key

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 10:11:04 +01:00
epenet 65f21891db
Move list to dict in repetier discovery (#64001)
* Move list to dict in repetier discovery

* Add setup type hints to repetier
2022-01-14 10:10:40 +01:00
epenet 946238fb02
Import frontend (#64104)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 10:01:12 +01:00
Allen Porter 4bce92dd2d
Bump google-nest-sdm to 1.4.0 (#64098) 2022-01-14 10:35:13 +02:00
RenierM26 a4656bc7bc
Ezviz dependancy to 0.2.0.6 (#64100)
* Ezviz dependency to 0.2.0.6

* Gen requirements
2022-01-14 10:33:49 +02:00
Marc Mueller c6acd8efa4
Pin python-engineio and python-socketio (#64074)
Prevent potential dependency conflicts between sisyphus-control and aioambient
2022-01-14 10:25:28 +02:00
Allen Porter 64c5f69c3d
Add thumbnails to nest media player (#62532) 2022-01-13 22:31:33 -08:00
Anton Malko 6a3de6ab10
Add light platform to LOOKin (#64076) 2022-01-13 17:07:02 -10:00
epenet 59c84f9586
Explicitly allow Mapping type hint in config entry async_update_entry (#63986)
* Allow MappingProxyType in async_update_entry

* Add setup type hints to ps4

* Adjust type hint to Mapping

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 04:06:19 +01:00
J. Nick Koston b064a24123
Add select platform to senseme (#64086)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-13 17:04:52 -10:00
Patrik Lindgren b52a8ba37a
Bump pytradfri to 8.0.1 and fix fan preset mode "Auto" bug (#63920)
* Move util functions

* Fix errors

* Revert changes

* Fix tests

* Use self.async_set_percentage()

* Fix calculation functions and associated tests

* Handle case of 0

* Update tests/components/tradfri/test_util.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/tradfri/test_util.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/tradfri/test_util.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Handle case of 0

* Update homeassistant/components/tradfri/fan.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 04:01:24 +01:00
ollo69 a978661545
Address late review of Minor AndroidTV config flow (#64088)
* Minor changes for AndroidTV config flow

* Add mark.parametrize to media_player tests
2022-01-14 02:05:35 +01:00
Joakim Sørensen 5a33610739
Use Platform enum in scaffold templates (#64091) 2022-01-14 02:13:56 +02:00
Marc Mueller 99d648fde6
Fix pre-commit gen_requirements_all files regex (#64095) 2022-01-14 01:04:12 +01:00
J. Nick Koston 33ca1bb7d9
Bump flux_led to 0.28.3 to fix setting colorloop on older models (#64094)
Fixes #64087
2022-01-14 01:43:39 +02:00
Mick Vleeshouwer 5e3bfabfcf
Add select entity to Overkiz integration (#62916) 2022-01-13 12:35:44 -10:00
mletenay c3c14563e5
Update to goodwe library v0.2.15 (#64089) 2022-01-14 00:34:59 +02:00
Marc Mueller cb976fa3b4
Upgrade pyserial-asyncio to 0.6 (#64041) 2022-01-14 00:31:28 +02:00
G Johansson 1a5716efc4
Enable strict typing for trafikverket_weatherstation (#64080) 2022-01-13 23:04:15 +01:00
Marc Mueller 77ea432b9e
Upgrade vallox-websocket-api to 2.9.0 (#64055) 2022-01-13 22:47:31 +01:00
G Johansson d53e5dfc2d
Add gjohansson-ST as codeowner to trafikverket_train (#64081) 2022-01-13 22:21:59 +01:00
Marc Mueller 30bd3234de
Run pre-commit script on constraint changes (#64073) 2022-01-13 22:14:43 +01:00
Mick Vleeshouwer 3fcdaa8a5d
Don't close HA aiohttp session in Overkiz Config Flow (#64052) 2022-01-13 21:35:07 +01:00
epenet 4bdc0c7120
Adjust device_tracker type hints (#64054)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 21:29:38 +01:00
Raman Gupta 867f8237e9
Remove attributes from vizio state when they don't make sense (#64025)
* Remove attributes from vizio state when they don't make sense

* rename var
2022-01-13 20:59:55 +01:00
Erik Montnemery 0fa4f616ed
Remove Windows workarounds from ping (#64069) 2022-01-13 20:43:00 +01:00
Erik Montnemery abce453b5c
Remove Windows workarounds from wake_on_lan (#64070) 2022-01-13 20:42:30 +01:00
Erik Montnemery b3421cf727
Remove Windows workarounds (#64068) 2022-01-13 20:41:11 +01:00
Erik Montnemery be628a7c4d
Keep track of Alexa authorization status (#63979) 2022-01-13 09:47:31 -08:00