Commit Graph

44352 Commits (e019d0890fbce2e4e26862c82d2f96bc1431248c)

Author SHA1 Message Date
Álvaro Fernández Rojas e019d0890f
Drop aemet isoformat() from timestamps (#62793)
* aemet: drop isoformat() from timestamps

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* aemet: fix forecast timestamp sensors

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* aemet: move forecast timestamp sensor to lambda

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Revert "aemet: move forecast timestamp sensor to lambda"

This reverts commit 1f012c9adc.
2022-01-16 12:31:55 +01:00
Robert Svensson 02cc75997c
Change carbon monoxide device class to CO for deCONZ integration (#64185)
* Change carbon monoxide device class from gas to co

* Add device class safety to alarm sensor
2022-01-16 10:06:09 +01:00
GitHub Action 5b1acdf607 [ci skip] Translation update 2022-01-16 00:15:31 +00:00
Allen Porter 849abaca8b
Bump google-nest-sdm to 1.5.0 and add nest mp4 clip transcoding to animated gif (#64155) 2022-01-15 12:31:02 -08:00
Sdahl1234 7545b93787
Add TimeCold and TimeWarm programs to HomeConnect dryer (#63330) 2022-01-15 14:16:03 -06:00
Brandon Rothweiler bc17616720
Add electric vehicle sensors to Mazda integration (#64099) 2022-01-15 09:05:06 -10:00
Sean Vig 9d0b73bd99
Change doorbird relay/IR switch to button (#63995) 2022-01-15 09:02:31 -10:00
G Johansson 6750614655
Set unique id for config entry in smhi (#63547) 2022-01-15 09:01:48 -10:00
Brave Chicken b7785eb188
Add HomeConnect Refrigerator (#63850) 2022-01-15 11:24:35 -06:00
starkillerOG 759b6fd9b2
Fix changed port on Netgear R7000 (#64012)
* fix changed port on Netgear R7000

* fix styling

* update tests
2022-01-15 18:01:23 +01:00
Patrik Lindgren e87fb6fc09
Add test cases for Tradfri sensor platform (#64165)
* Add tests for Tradfri sensor platform

* Update docstring
2022-01-15 15:53:03 +01:00
Patrik Lindgren c2181aa5fc
Add test cases for Tradfri switch platform (#64156)
* Add tests for the switch platform

* Fix typo

* Typos
2022-01-15 12:27:42 +01:00
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