Commit graph

44340 commits

Author SHA1 Message Date
Patrik Lindgren
66f1ac025d
Add test cases for Tradfri fan platform (#64135)
* Add test cases for Tradfri fan platform

* Remove line
2022-01-15 11:34:19 +01:00
Robert Svensson
43fe46c582
Use hass.async_create_task rather than hass.loop.create_task in deconz (#64158) 2022-01-15 11:13:26 +01:00
Shay Levy
c0b1d083b8
Use dataclass properties in webostv discovery (#64159) 2022-01-15 11:10:04 +01:00
Chris Talkington
533d0e4444
Add play media URL support to roku (#64021) 2022-01-15 01:49:33 -06:00
J. Nick Koston
d1831748eb
Ensure status is correct at start for older august bridges (#64144) 2022-01-14 21:00:44 -10:00
J. Nick Koston
06329a2f43
Code cleanups for lookin (#64106) 2022-01-14 14:22:06 -10:00
GitHub Action
b949199866 [ci skip] Translation update 2022-01-15 00:14:21 +00:00
Anton Malko
946de01b94
Fix media_player power state (#64136) 2022-01-15 01:52:18 +02:00
Christopher Bailey
f4b5b56427
Fix package camera snapshot (#64145) 2022-01-14 13:38:01 -10:00
J. Nick Koston
8f8ea5b102
Add energy and additional sensors to oncue (#64097)
- The genset total energy can now be added to the energy dashboard
2022-01-15 00:36:29 +01:00
J. Nick Koston
b273c37d2b
Fix flux_led turn on when brightness is zero on newer devices (#64129) 2022-01-14 15:14:02 -08:00
J. Nick Koston
2d5fe93cb2
Fix august lock/unlock with older bridges (#64143) 2022-01-14 15:13:30 -08:00
Paulus Schoutsen
b0387efee3
Guard for timeout errors during wled discovery (#64130) 2022-01-14 14:32:07 -08:00
Shay Levy
dee843bf6e
Add LG webOS Smart TV config flow support (#64117)
* Add webOS Smart TV config flow support (#53256)

* Add Webostv config flow

* Fix tests mocks and apply review comments

* Apply review comments

* Change config flow to use ssdp UDN as unique_id

* Fix device info

* More review comments

* Fix _async_check_configured_entry

* Remove turn on script

* Add webOS Smart TV device triggers (#53752)

* Add webOS Smart TV config flow support (#53256)

* Add Webostv config flow

* Fix tests mocks and apply review comments

* Apply review comments

* Change config flow to use ssdp UDN as unique_id

* Fix device info

* More review comments

* Fix _async_check_configured_entry

* Remove turn on script

* Add webOS Smart TV device triggers (#53752)

* Fix webOS Smart TV mypy and pylint errors (#62620)

* Change webOS Smart TV PyPi aiopylgtv package to bscpylgtv (#62633)

* Change webOS Smart TV PyPi aiopylgtv package to bscpylgtv

* Update bscpylgtv to 0.2.8 (revised websockets requirment)

* Change webOS Smart TV PyPi package to aiowebostv (#63759)

* Change webOS Smart TV PyPi package to aiowebostv

* Apply suggestions from code review

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

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

* webOS TV check UUID for user added device (#63817)

* webOS TV check uuid when for user added device

* Apply suggestions from code review

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

* Add test for form abort and host update

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

* Rework webOS Smart TV device trigger to custom trigger platform (#63950)

* Rework webOS Smart TV device trigger to custom trigger platform

* Review comments and add tests

* Fix webOS TV import from YAML (#63996)

* Fix webOS TV import from YAML

* Fix requirements

* Migrate YAML entities unique id to UUID

* Add backoff to migration task delay

* Assert result data and unique_id

* Apply suggestions from code review

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

* Add codeowner

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-14 22:48:45 +01:00
Simon Hansen
043b9c66b0
Add missing type annotation for launch library (#64131)
* Add missing type annotation in config flow

* Add import

* Add default None

* Fix black

* Fix linting
2022-01-14 22:15:38 +01:00
Clifford Roche
fede0f8e66
Bump greeclimate to 1.0.2 (#64138) 2022-01-14 22:11:29 +01:00
Rob Bierbooms
efe34c8d13
Cleanups in Twinkly code (#64139)
* Cleanup Twinkly code

* Add codeowner'

* Change const names
2022-01-14 22:07:15 +01:00
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