Franck Nijhof
4f8663846b
Migrate frontend tests from coroutine to async/await ( #30386 )
2020-01-02 14:23:56 -06:00
Franck Nijhof
4e6d415541
Migrate media_player tests from coroutine to async/await ( #30387 )
2020-01-02 14:23:35 -06:00
Franck Nijhof
b9fcb87d2c
Migrate generic tests from coroutine to async/await ( #30388 )
2020-01-02 14:23:16 -06:00
Franck Nijhof
1e3822bdd7
Migrate group tests from coroutine to async/await ( #30389 )
2020-01-02 14:22:49 -06:00
Franck Nijhof
332cbbd8b1
Migrate freedns tests from coroutine to async/await ( #30390 )
2020-01-02 14:22:30 -06:00
Franck Nijhof
5b2b86987b
Migrate fido tests from coroutine to async/await ( #30391 )
2020-01-02 14:22:13 -06:00
Franck Nijhof
7b00e94184
Migrate local_file tests from coroutine to async/await ( #30392 )
2020-01-02 14:21:54 -06:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Franck Nijhof
37d1771400
Migrate google_* tests from coroutine to async/await ( #30377 )
2020-01-01 17:24:30 -06:00
Franck Nijhof
bcb47dab45
Migrate discovery tests from coroutine to async/await ( #30376 )
2020-01-01 17:22:32 -06:00
Franck Nijhof
b43b50b6d2
Migrate ffmpeg tests from coroutine to async/await ( #30375 )
2020-01-01 17:22:08 -06:00
Franck Nijhof
c5298dc4dc
Migrate cast tests from coroutine to async/await ( #30374 )
2020-01-01 17:21:42 -06:00
Franck Nijhof
c837f185f7
Migrate camera tests from coroutine to async/await ( #30372 )
2020-01-01 17:21:21 -06:00
Franck Nijhof
8814e1eadc
Migrate no_ip tests from coroutine to async/await ( #30370 )
2020-01-01 17:18:40 -06:00
Franck Nijhof
47aa0043bf
Migrate owntracks tests from coroutine to async/await ( #30369 )
2020-01-01 17:18:20 -06:00
Franck Nijhof
1a2a976be2
Migrate counter tests from coroutine to async/await ( #30368 )
2020-01-01 17:17:55 -06:00
Franck Nijhof
320dc52bb3
Migrate config tests from coroutine to async/await ( #30366 )
2020-01-01 17:16:27 -06:00
Franck Nijhof
4e7b35355d
Migrate websocket_api tests from coroutine to async/await ( #30364 )
2020-01-01 17:15:29 -06:00
Franck Nijhof
0fb5fbd85c
Migrate hassio tests from coroutine to async/await ( #30363 )
2020-01-01 17:13:43 -06:00
Franck Nijhof
3a4db2fae7
Migrate mailbox tests from coroutine to async/await ( #30361 )
2020-01-01 17:13:04 -06:00
Franck Nijhof
bc6e2a06e6
Migrate yr tests from coroutine to async/await ( #30351 )
2020-01-01 16:21:37 +01:00
Franck Nijhof
33828ae514
Migrate timer tests from coroutine to async/await ( #30352 )
2020-01-01 16:20:18 +01:00
Franck Nijhof
9ba0daa358
Migrate teksavvy tests from coroutine to async/await ( #30353 )
2020-01-01 16:18:17 +01:00
Franck Nijhof
9fbe6d60cb
Migrate startca tests from coroutine to async/await ( #30354 )
2020-01-01 16:17:35 +01:00
Franck Nijhof
52ed9608e2
Migrate input_* tests from coroutine to async/await ( #30336 )
2020-01-01 01:22:44 +01:00
Josh Bendavid
fc23b4f83f
Migrate webostv to new library and make integration async with callback state updates ( #29296 )
...
* migrate webostv to new aiopylgtv version of the library and add support
for generic commands, input/button commands, and callback state updates
* update requirements
* cleanup and bump aiopylgtv version
* update webostv unit tests
* make webostv unit tests work with python 3.7
* cleanup for code checks
* cleanup and code review
* make all client request functions coroutines
* make host required for webostv configuration
* remove generic command and button functionality plus related cleanup
* fix previous track function
* update unit tests
* fix imports for unit tests
* update unit test
* further unit test updates
* remove unnecessary setup call in unit tests
* restore previous behaviour with client key config file in hass configuration directory
2020-01-01 00:26:35 +01:00
Franck Nijhof
af153521dc
Migrate emulated_hue tests from coroutine to async/await ( #30331 )
2019-12-31 16:50:07 -06:00
Franck Nijhof
194cb8dbf5
Migrate xiaomi_miio tests from coroutine to async/await ( #30329 )
2019-12-31 16:49:00 -06:00
Franck Nijhof
2ac5537495
Migrate alexa tests from coroutine to async/await ( #30332 )
2019-12-31 16:48:17 -06:00
Franck Nijhof
0280862780
Migrate api tests from coroutine to async/await ( #30338 )
2019-12-31 22:58:40 +01:00
Franck Nijhof
687a052d40
Migrate python_script tests from coroutine to async/await ( #30335 )
2019-12-31 22:48:43 +01:00
Franck Nijhof
cd8f954a4d
Migrate wunderground tests from coroutine to async/await ( #30330 )
2019-12-31 21:04:24 +01:00
Franck Nijhof
30dbed3f98
Migrate dsmr tests from coroutine to async/await ( #30333 )
2019-12-31 21:03:21 +01:00
Franck Nijhof
2620a95944
Improve Withings tests in different time zone ( #30326 )
...
* Improve Withings tests in different time zone
* Address code review comment
* Spelling error in code doc
2019-12-31 11:10:39 -05:00
Alexei Chetroi
a3061bda60
Make the rest of ZHA platforms to use ZHA class registry ( #30261 )
...
* Refactor ZHA component tests fixtures.
* Add tests for ZHA device discovery.
* Refactor ZHA registry MatchRule.
Allow callables as a matching criteria.
Allow sets for model & manufacturer.
* Minor ZHA class registry refactoring.
Less cluttered strict_matching registrations.
* Add entities only if there are any.
* Migrate rest of ZHA platforms to ZHA registry.
* Pylint fixes.
2019-12-31 11:09:58 -05:00
Iulius
1c2618d99a
Add separate command and state topics for mqtt lock ( #29808 )
...
* Update lock.py
Allow different command and state topic + different command and state values.
* Formatting updated after black run
* TC updated to reflect different state & cmd values
* Abbreviations for lock states added
* additional non-default state test
* whitespaces fixed
* black formatting run
2019-12-31 15:24:09 +01:00
Issac
3f570245aa
Add local_ip component ( #29973 )
...
* Added localip component
* Split config and core logic, and migrate to sensor platform (requested by @MartinHjelmare)
Also allow overriding the sensor name via the config
* Tweak docstring
Co-Authored-By: Fabian Affolter <mail@fabian-affolter.ch>
* Initial support for config entries
* Rename localip to local_ip (1/2)
* Rename localip to local_ip (2/2)
* Add test for config_flow
* Split and rename tests
* Remove unneeded code from config_flow
* Implement configuration as config entry import. Other misc requested changes from code review.
* Fix tests
* minor code review fixes
* remove unneeded code
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
2019-12-31 14:34:53 +01:00
Franck Nijhof
5414e9d155
Fix Withings leaking time zone change into other tests ( #30320 )
...
* Fix Withings leaking time zone change in other tests
* Fix spelling error in code doc
2019-12-31 14:30:09 +01:00
Paulus Schoutsen
bb14a083f0
Store capabilities and supported features in entity registry, restore registered entities on startup ( #30094 )
...
* Store capabilities and supported features in entity registry
* Restore states at startup
* Restore non-disabled entities on HA start
* Fix test
* Pass device class from entity platform
* Clean up restored entities from state machine
* Fix Z-Wave test?
2019-12-31 14:29:43 +01:00
Maciej Bieniek
2c1a7a54cd
Add GIOS integration ( #28719 )
...
* Initial commit
* Add gios to requirements
* Add tests
* Update .coveragerc file
* Run gen_requirements_all.py
* Change DEFAULT_SCAN_INTERVAL
* Better strings
* Bump library version
* run script.hassfest
* run isort
* Add icons mapping
* Remove unnecessary f-string
* Remove unnecessary listener
* Refactoring config_flow
* Add unique_id to config entry
* Change AQI states to consts in English
* Remove unused init
* Remove unused exception
* Remove private instance attribute
* Remove overwrite state property
* Fix pylint error
* Add SCAN_INTERVAL for air_quality entity
* Add _abort_if_unique_id_configured()
2019-12-31 13:05:31 +01:00
Robert Svensson
41d2d1f309
Handle wired bug on restart ( #30276 )
2019-12-30 12:40:52 -06:00
Fabian Affolter
d0c9a42b81
Add custom validator for countries ( #30280 )
2019-12-30 17:51:25 +01:00
Jc2k
fccb13b762
Add homekit_controller service.sensor.smoke ( #30269 )
2019-12-30 08:05:49 +00:00
Jc2k
8a22a38353
Accept homekit_controller pairing codes both with and without dashes ( #30273 )
...
* Handle MalformedPinError from homekit_python
* Handle both formats of pin codes
2019-12-30 07:36:01 +00:00
Robert Van Gorkom
08af989658
Fixing timezone issue which caused wrong selection of data to be used. ( #30011 )
2019-12-28 21:25:37 +01:00
Paulus Schoutsen
5a9e543087
Whitelist Android/iOS auth callbacks ( #30082 )
...
* Whitelist Android/iOS
* Add iOS alternate flavor URLs
* Update indieauth.py
Co-authored-by: Robbie Trencheny <me@robbiet.us>
2019-12-28 21:20:18 +01:00
SukramJ
658ec309aa
Add HmIP-MOD_TM to HomematicIP Cloud ( #30255 )
2019-12-28 16:29:14 +01:00
ochlocracy
25f78dd1a9
Implement EqualizerController in Alexa for media_player. ( #30159 )
2019-12-24 17:06:39 -05:00
Alan Tse
3aa2ae1700
Enable config flow for Tesla ( #28744 )
...
* build: bump teslajsonpy to 0.2.0
* Remove tests
* feat: add config flow
* feat: add async
* perf: convert unnecessary async calls to sync
* feat: add charger voltage and current sensor
* feat: add options flow
* build: bump teslajsonpy to 0.2.0
* Remove icon property
* Revert climate mode change
* Remove charger sensor
* Simplify async_setup_platform
* Update homeassistant/components/tesla/sensor.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/tesla/binary_sensor.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Address requested changes
* Fix pylint error
* Address requested changes
* Update codeowners
* Fix pylint error
* Address requested changes
* Address requested change
* Remove unnecessary check for existing config entry
* Load scan_interval in async_setup_entry
* Include coverage of config_flow
* Add tests for full coverage
* Address requested test changes
* Remove unnecessary init lines
* Remove unnecessary init
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2019-12-23 21:54:25 +01:00
Claudio Heckler
edce497a0d
New date_time_utc display option added to the time_date sensor platform ( #30158 )
2019-12-23 21:48:24 +01:00