1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-02 09:16:11 +00:00
Commit Graph

16298 Commits

Author SHA1 Message Date
Rob Bierbooms
efe34c8d13 Cleanups in Twinkly code (#64139)
* Cleanup Twinkly code

* Add codeowner'

* Change const names
2022-01-14 22:07:15 +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
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
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
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
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
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
Allen Porter
64c5f69c3d Add thumbnails to nest media player (#62532) 2022-01-13 22:31:33 -08: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
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
abce453b5c Remove Windows workarounds from wake_on_lan (#64070) 2022-01-13 20:42:30 +01:00
Erik Montnemery
be628a7c4d Keep track of Alexa authorization status (#63979) 2022-01-13 09:47:31 -08:00
Rob Bierbooms
49a32c398c Add support for setting RGB and RGBW values for Twinkly lights (#62337)
* Change library to ttls

* Add rgbw support

* Add client session to config flow

* Fix config flow

* Adjust tests 1

* Fix more tests

* Fix last tests

* Add new tests

* Update test for coverage

* Update test for coverage 2

* Update test for coverage 3

* Change brightness to attribute

* Set RGBW mode only when available

* Add RGB support
2022-01-13 18:44:27 +01:00
Petro31
5f9a351889 Remove warnings from compensation (#63691) 2022-01-13 18:33:02 +01:00
Zac West
2df8ab865f Allow name-only location updates for mobile_app device_tracker (#62243) 2022-01-13 09:30:36 -08:00
J. Nick Koston
06fd75be7e Ensure august status is current when integration loads (#64027) 2022-01-13 18:26:47 +01:00
epenet
c8043eccc9 Fix yamaha discovery (#64056)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-13 15:32:39 +01:00
Franck Nijhof
754e291e1e Remove unused serial number config entry data from Elgato (#64035) 2022-01-13 13:17:16 +01:00
Erik Montnemery
6ffe04b788 Remove constant DEFAULT_CONFIG from alexa tests (#64031) 2022-01-13 11:35:16 +01:00
Erik Montnemery
b196064540 Import persistent notification (part 5) (#63902) 2022-01-13 08:45:30 +01:00
Robert Svensson
bc7624b417 Fix UniFi remove client service if time stamps are not integers (#63998)
* Only calculate total time if first and last seen are ints, else remove client

* Update homeassistant/components/unifi/services.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/unifi/services.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-13 08:15:40 +01:00
Christopher Bailey
20768172b1 Improve UniFi Protect Smart Sensor support (#64019)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-12 17:54:22 -10:00
Chris Talkington
4b11a4365b Add content deeplinking support to roku (#64010) 2022-01-12 20:07:11 -06:00
J. Nick Koston
7fc1306898 Ensure flux_led is reloaded when the ICtype is changed (#64016) 2022-01-12 15:57:12 -10:00
Robert Svensson
59cea56e17 Fix reconnect rather than reauth when both HA and UniFi controller restarts at the same time (#63994) 2022-01-12 15:08:04 -08:00
J. Nick Koston
d3f980d402 Convert siri requests for target heating cooling state auto to a valid mode (#60220) 2022-01-12 15:06:09 -08:00
J. Nick Koston
1c6ca908d1 Add support for changing the white strip type to flux_led (#63943) 2022-01-12 15:03:09 -08:00
J. Nick Koston
5622db10b1 Fix HomeKit reporting/setting colors when white values are present (#63948) 2022-01-12 14:58:25 -08:00
J. Nick Koston
1019156899 Fix homekit options being mutated during config_flow/migration (#64003) 2022-01-12 14:56:24 -08:00
Christopher Bailey
f034ea5b4b Enable package camera by default for UniFi Protect (#63985) 2022-01-12 11:27:41 -10:00
Christopher Bailey
6473069be1 Add Chime Type select for UniFi Protect (#63993) 2022-01-12 08:55:44 -10:00
Franck Nijhof
f93d999260 Revert "Weather units: climacell (1.3/4) (#61472)" (#63842)
This reverts commit 48057e1dfb.
2022-01-12 08:58:33 -08:00
Franck Nijhof
28d49e69c1 Expose WLED configuration URL of discovered device (#63983)
* Expose WLED configuration URL of discovered device

* Add test
2022-01-12 08:57:15 -08:00
Robert Svensson
e37456fb36 Move DPI Group logic to UniFi switch platform (#58761)
* Library has normalized management of DPI apps and groups, move logic to UniFi integration

* Bump dependency to v29

* Use a generator instead of a list - Pylint

* Minor improvements

* Improve doc strings
2022-01-12 17:11:05 +01:00
epenet
b71a22557d Use Platform enum in load_platform [tests] (#63904)
* Use Platform enum in numato tests

* Use Platform enum in discovery tests

* Adjust load_platform argument

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 15:07:30 +01:00
Marc Mueller
d057850971 Update typing - collections.abc (3) (#63947) 2022-01-12 08:04:17 +01:00
Allen Porter
789c0a24dd Improve nest media player clip/image and event handling for multiple events in a short time range (#63149) 2022-01-11 20:54:49 -08:00
Stefan Agner
42706f780c Convert disabled_by to DeviceEntryDisabler on load (#63944)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-11 20:50:32 -08:00
Christopher Bailey
ce0b378e05 Removes ThumbnailProxyView (#63940) 2022-01-11 13:45:40 -10:00
Christopher Bailey
05ee5e0251 Simplify UniFi Protect service setup/cleanup (#63908)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-11 23:37:47 +01:00
Franck Nijhof
f4aa18de31 Replace hass.helpers: async_call_later() (#63929) 2022-01-11 13:30:59 -08:00
J. Nick Koston
259975c116 Add already_configured coverage to oncue (#63919) 2022-01-11 21:44:44 +01:00
Marc Mueller
ef7316d8d9 Update typing (5) [tests] (#63926) 2022-01-11 21:28:13 +01:00
Matthias Alphart
dc58bc375a Warn ontime.sleep in event loop (#63766)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-11 17:55:24 +01:00
Franck Nijhof
20bdcc7fff Replace hass.helpers: async_get_clientsession() (#63910) 2022-01-11 17:33:50 +01:00
epenet
c6416955c6 Add type hints to setup_scanner (#63825)
* Add type hints to setup_scanner

* Fix aprs tests

* Revert "Add type hints to setup_scanner"

This reverts commit 3e8b2954843ee978d356e01ae5976528c74e54dc.

* Revert "Fix aprs tests"

This reverts commit 854b37aee8394e3e59ee48122226a50b8ddcf8bb.

* Add type hints to setup_scanner

* Fix aprs tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:29:04 +01:00
Erik Montnemery
6eb0447566 Import websocket_api (part 3) (#63907) 2022-01-11 17:26:37 +01:00
Erik Montnemery
8d6e2ae354 Import persistent notification part 1 (#63898) 2022-01-11 17:24:59 +01:00