Franck Nijhof and Paulus Schoutsen
4e62da9c8e
Improve WLED pure white support for RGBW ( #30477 )
2020-01-04 22:52:10 +01:00
Franck Nijhof and Paulus Schoutsen
51db9bdfce
Add unique ID to WLED config entries ( #30480 )
...
* Add unique ID to WLED config entries
* Improve robustness of the tests
2020-01-04 22:48:31 +01:00
Franck Nijhof and Paulus Schoutsen
3b14d9f375
Add unique ID to elgato config entries ( #30486 )
2020-01-04 22:45:11 +01:00
Franck Nijhof and Paulus Schoutsen
4ea0754094
Fix WLED light transition ( #30490 )
2020-01-04 22:44:28 +01:00
Paulus Schoutsen and Pascal Vizeli
2f362b44c4
Allow adding unique device ID to mobile app registration ( #30457 )
...
* Allow adding unique device ID to mobile app registration
* Remove unknown data
* Better fix
2020-01-04 13:45:03 +01:00
Paulus Schoutsen and Pascal Vizeli
6e909ab3f1
Only return remote UI url if remote UI enabled ( #30453 )
2020-01-04 13:43:59 +01:00
Robert Svensson and GitHub
63347ebeb5
Make Axis integration use config entry unique id ( #30461 )
...
* Make Axis integration use config entry unique id
2020-01-04 08:58:18 +01:00
Joakim Plate and GitHub
8dc57a3700
Allow all sources and sound modes to be selected in google assistant ( #30418 )
...
* Simplify media player source list
Google don't need a whitelisted set of modes anymore. So let's just forward any mode that we have.
* Report current mode with the setting name, not a synonym
* Refactor mode generation to support other modes
* Support sound mode as mode as well
* Adjust failing test now with sound modes
2020-01-04 00:39:03 +01:00
Phil Bruckner and Paulus Schoutsen
d6e230e66b
Fix counter with empty config ( #30454 )
2020-01-04 00:03:54 +01:00
Paulus Schoutsen and GitHub
b9aba30a6e
Extract Collection helper from Person integration ( #30313 )
...
* Add CRUD foundation
* Use collection helper in person integration
* Lint/pytest
* Add tests
* Lint
* Create notification
2020-01-03 21:37:11 +01:00
David Cramer and Paulus Schoutsen
3033dbd86c
Add Sentry component ( #30422 )
2020-01-03 21:34:20 +01:00
Robert Svensson and Andrew Sayre
bb55606d29
Axis - Remove manual configuration and legacy config file import ( #30365 )
...
* Remove manual configuration and legacy config file import
* Remove unused imports in tests after rebase
2020-01-03 14:25:31 -06:00
ochlocracy and Paulus Schoutsen
6387a50697
Implement supported locales for Alexa capabilities ( #30285 )
...
* Implement Alexa capability supported locales.
* Check config for supported locales.
* Removed unused import.
* Applied some potpourri to improve code smell.
* Change supported_locales to set.
2020-01-03 21:23:22 +01:00
Robert Svensson and Andrew Sayre
2b26af89df
Improve tests based on Martins feedback from Axis improve tests ( #30442 )
2020-01-03 12:23:17 -06:00
Robert Svensson and GitHub
ec61342ec3
deCONZ - Improve tests based on Martins feedback in Axis integration ( #30438 )
2020-01-03 18:11:04 +01:00
Jc2k and Paulus Schoutsen
6b519499a7
Don't expose flows that aren't initialised. ( #30432 )
...
* Don't expose flows that aren't initialised.
If a flow init does not return immediately then there is a window where our
behaviour is screwy:
* Can try to configure a flow that isn't ready
* Can show notifications for discoveries that might yet return an abort
This moves the flow discovery events and notifications to after the flow is
initialised and hides flows that don't have a cur_step from async_progress
* Fix tradfri test
* Black.
* Lint fixes
2020-01-03 17:28:05 +01:00
Jc2k and GitHub
df6c7b97f5
isort homekit ( #30437 )
2020-01-03 15:00:44 +00:00
Ville Skyttä and Paulus Schoutsen
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
David K and Charles Garwood
859935e8bc
Update HomeKit position state characteristic for covers ( #27867 )
...
* HomeKit: update position state characteristic for covers
position state is a mandatory characteristic for HK window coverings
* Test position state characteristic
2020-01-03 08:19:03 -05:00
Robert Svensson and Martin Hjelmare
b57da2f862
Axis - Improve tests based on feedback ( #30430 )
...
* Use MockConfigEntry, add_to_hass and hass.config_entries.async_setup
* Mock method instead of handling paths
2020-01-03 13:27:14 +01:00
Stefan Agner and Paulus Schoutsen
3f33fc6122
convert to integer if rounding precision is zero ( #30226 )
...
Convert values to integer if rounding precision is zero. With that a
value which is an integer before filtering can be configured to stay
integer when using precision = 0. This also aligns behavior of filters
to how rounding behaves in tempaltes (homeassistant/helpers/template.py,
function forgiving_round).
2020-01-03 11:54:19 +01:00
Jc2k and Paulus Schoutsen
fdfedd086b
Rework FlowManager to use inheritance ( #30133 )
...
* Pull async_finish_flow/async_create_flow out of ConfigEntries
* Towards refactoring
* mypy fixes
* Mark Flow manager with abc.* annotations
* Flake8 fixes
* Mypy fixes
* Blacken data_entry_flow
* Blacken longer signatures caused by mypy changes
* test fixes
* Test fixes
* Fix typo
* Avoid protected member lint (W0212) in config_entries
* More protected member fixes
* Missing await
2020-01-03 11:52:01 +01:00
Robert Svensson and Paulus Schoutsen
0a4f3ec1ec
Use config entry unique id for deCONZ ( #30122 )
...
* Use config entry unique id
* Clean up
* Backwards compatiblity note
* Fix some of Balloobs comments
* Bump dependency to v66
* Black somehow missed config flow tests...
* Move set unique ID til after possibility to update existing entry
2020-01-03 11:50:53 +01:00
ochlocracy and Paulus Schoutsen
3a18ef219b
Add RTSP stream support for UVC (Unifi Video Client) integration ( #30297 )
...
* Add SUPPORT_STREAM to supported_features.
* Implement stream_source with channel RTSP URIs.
* Add Tests for Stream Support.
* Make stream_source async.
* Removed unused import.
* Re-wrote test to remove warning, and lint error.
2020-01-03 11:30:26 +01:00
David F. Mulcahey and Alexei Chetroi
ef8eefc7a0
Remove ZHA establish device mappings function ( #30423 )
...
* remove establish_device_mappings
* inline init
2020-01-02 21:21:09 -05:00
Josh Bendavid and Martin Hjelmare
4c6e10a988
Cleanup of state handling in webostv ( #30416 )
...
* cleanup unnecessary manipulation of state variables
* update unit test
2020-01-03 02:46:32 +01:00
Robert Svensson and GitHub
9b961632af
Axis - Improve tests ( #30415 )
2020-01-03 00:02:59 +01:00
Josh Bendavid and springstan
c1936f6fe4
Add generic command/button functionality to webostv ( #30379 )
...
* add generic command/button functionality to webostv
* update codeowners
2020-01-02 22:32:56 +01:00
Josh Bendavid and springstan
9064058a03
Add generic command functionality to denonavr ( #29295 )
...
* Add generic command functionality to denonavr
* add minimal unit tests for denonavr
* fix import order
* simplify denonavr unit test
* handle domain specific service calls with dispatcher
* update unit tests
* update unit tests
* remove unnecessary return value
* fix handling of mock instances in unit tests
2020-01-02 22:30:20 +01:00
Franck Nijhof and Andrew Sayre
4f8663846b
Migrate frontend tests from coroutine to async/await ( #30386 )
2020-01-02 14:23:56 -06:00
Franck Nijhof and Andrew Sayre
4e6d415541
Migrate media_player tests from coroutine to async/await ( #30387 )
2020-01-02 14:23:35 -06:00
Franck Nijhof and Andrew Sayre
b9fcb87d2c
Migrate generic tests from coroutine to async/await ( #30388 )
2020-01-02 14:23:16 -06:00
Franck Nijhof and Andrew Sayre
1e3822bdd7
Migrate group tests from coroutine to async/await ( #30389 )
2020-01-02 14:22:49 -06:00
Franck Nijhof and Andrew Sayre
332cbbd8b1
Migrate freedns tests from coroutine to async/await ( #30390 )
2020-01-02 14:22:30 -06:00
Franck Nijhof and Andrew Sayre
5b2b86987b
Migrate fido tests from coroutine to async/await ( #30391 )
2020-01-02 14:22:13 -06:00
Franck Nijhof and Andrew Sayre
7b00e94184
Migrate local_file tests from coroutine to async/await ( #30392 )
2020-01-02 14:21:54 -06:00
Ville Skyttä and GitHub
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Franck Nijhof and Andrew Sayre
37d1771400
Migrate google_* tests from coroutine to async/await ( #30377 )
2020-01-01 17:24:30 -06:00
Franck Nijhof and Andrew Sayre
bcb47dab45
Migrate discovery tests from coroutine to async/await ( #30376 )
2020-01-01 17:22:32 -06:00
Franck Nijhof and Andrew Sayre
b43b50b6d2
Migrate ffmpeg tests from coroutine to async/await ( #30375 )
2020-01-01 17:22:08 -06:00
Franck Nijhof and Andrew Sayre
c5298dc4dc
Migrate cast tests from coroutine to async/await ( #30374 )
2020-01-01 17:21:42 -06:00
Franck Nijhof and Andrew Sayre
c837f185f7
Migrate camera tests from coroutine to async/await ( #30372 )
2020-01-01 17:21:21 -06:00
Franck Nijhof and Andrew Sayre
8814e1eadc
Migrate no_ip tests from coroutine to async/await ( #30370 )
2020-01-01 17:18:40 -06:00
Franck Nijhof and Andrew Sayre
47aa0043bf
Migrate owntracks tests from coroutine to async/await ( #30369 )
2020-01-01 17:18:20 -06:00
Franck Nijhof and Andrew Sayre
1a2a976be2
Migrate counter tests from coroutine to async/await ( #30368 )
2020-01-01 17:17:55 -06:00
Franck Nijhof and Andrew Sayre
320dc52bb3
Migrate config tests from coroutine to async/await ( #30366 )
2020-01-01 17:16:27 -06:00
Franck Nijhof and Andrew Sayre
4e7b35355d
Migrate websocket_api tests from coroutine to async/await ( #30364 )
2020-01-01 17:15:29 -06:00
Franck Nijhof and Andrew Sayre
0fb5fbd85c
Migrate hassio tests from coroutine to async/await ( #30363 )
2020-01-01 17:13:43 -06:00
Franck Nijhof and Andrew Sayre
3a4db2fae7
Migrate mailbox tests from coroutine to async/await ( #30361 )
2020-01-01 17:13:04 -06:00
Franck Nijhof and Martin Hjelmare
bc6e2a06e6
Migrate yr tests from coroutine to async/await ( #30351 )
2020-01-01 16:21:37 +01:00