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
SukramJ
134dc45b77
Bump dependency for HomematicIp cloud ( #30237 )
...
* Bump dependency for HomematicIp cloud
* Update test_data
2019-12-28 13:46:04 +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
ochlocracy
a2678b2aff
Add support for input_number entities in Alexa integration ( #30139 )
...
* Add support for input_number entities
* Update homeassistant/components/alexa/capabilities.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Removed get methods to directly access required attributes dicts.
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2019-12-23 15:17:37 +01:00
Franck Nijhof
d101d4449f
Fix deconz SSDP updating Hassio discovery ( #30153 )
2019-12-22 22:24:18 +01:00
Paulus Schoutsen
63a843c19c
Fix test
2019-12-22 10:31:23 +01:00
Alexei Chetroi
8e3dfbd5c9
Refactor ZHA electrical measurement sensor. ( #30130 )
2019-12-21 17:15:50 -05:00
Alexei Chetroi
fb3bb8220b
Implement ZHA entity classes registry ( #30108 )
...
* ZHA Entity registry.
Match a zha_device and channels to a ZHA entity.
* Refactor ZHA sensor to use registry.
* Remove sensor_types registry.
* Fix ZHA device tracker battery remaining.
* Remove should_poll/force_update attributes.
* Fix binary_sensor regression.
* isort.
* Pylint.
* Don't access protected members.
* Address comments and fix spelling.
* Make pylint happy again.
2019-12-21 16:26:58 -05:00
Jc2k
b41480ae46
Add a config entry mechanism to rediscover a discovery that was ignored ( #30099 )
...
* Mechanism to rediscover a discovery that was ignored
* Add core config entry tests for new rediscover step
* Add tests for homekit_controller implementation of async_step_rediscover
* Rename rediscover to unignore
* Comment the new ignore/unignore mechanisms
2019-12-21 11:22:07 +01:00
ochlocracy
0faca57e8b
Explicitly include Alexa interface for image_processing entities. ( #30101 )
2019-12-20 20:28:23 +01:00
Fazli Sapuan
92fd3e3ad5
Fix homekit handling of 0 light brightness and fan speed ( #29962 )
...
* Fix homekit handling of 0 light brightness and fan speed
* Update homekit tests for new initial brightness/speed value
2019-12-20 11:00:21 +01:00
Franck Nijhof
eb0aed3653
Fix update port and api key on deconz discovery config entry u… ( #30088 )
...
* Fix update port and api key on discovery config entry update
* Remove coroutine from _update_entry
2019-12-20 10:29:18 +01:00
Ville Skyttä
d236a19139
Include all SSDP data in discovery info ( #28197 )
...
* Include all SSDP data in discovery info
* Use UPnP device description as discovery info, inject some SSDP attrs
* Clean up attribute names
* Adapt existing SSDP flows to changed attribute names
* Prefix all SSDP UPnP attribute name constants with ATTR_UPNP, tweak a bit
2019-12-19 19:28:03 +02:00
Paulus Schoutsen
52818bdb89
Make Hassfest stricter pt 2 ( #30068 )
...
* Make Hassfest stricter
* Fix if-condition
* Small cleanup
2019-12-19 14:00:22 +01:00
ochlocracy
5baaa852dd
Refactor Alexa capabilityResources object into class, Implement Alexa semantics object ( #29917 )
...
* Refactor capabilityResources object into class.
Implement semantics object to support open, close, raise, lower utterences.
Replace covers PercentageController with RangeController.
Add semantics for covers.
Remove PowerController for covers.
Add new display categories.
Add new items to Alexa Global Catalog.
Implement garage door voice PIN code support though Alexa app.
Fixed bug with getting property for ModeController.
Fixed bug were PercentageController AdjustPercentage would exceed 100.
* Comment fixes in Tests.
* Reorder imports.
* Added additional tests for more code coverage.
* Added and additional test for more code coverage.
* Explicitly return None for configuration() if not instance of AlexaCapabilityResource.
2019-12-19 12:44:17 +01:00
Jc2k
c3144eddbb
Set unique id on homekit_controller config entries ( #30035 )
...
* Set unique id on config entries
* Changes from review
2019-12-19 09:45:22 +01:00
Alexei Chetroi
41bef4b919
Add timer reload service. ( #30015 )
2019-12-18 21:15:11 +01:00
Paulus Schoutsen
9c7caaa142
Add option to ignore flows ( #30008 )
2019-12-18 07:41:01 +01:00
Robert Van Gorkom
78e831b08e
Make tplink light more responsive ( #28652 )
...
* Making tplink light more responsive.
* Adding light platform tests.
* Addressing PR feedback.
* Mocking the module, not the api.
* Using sync method for background update.
2019-12-17 02:24:50 +01:00
Paulus Schoutsen
58b5833d64
Convert Hue to use unique ID ( #30000 )
...
* Convert Hue to use unique ID
* Fix normalization
* Store/restore unique ID
* Fix tests
2019-12-16 19:45:09 +01:00
Paulus Schoutsen
d851cb6f9e
Add unique ID to config entries ( #29806 )
...
* Add unique ID to config entries
* Unload existing entries with same unique ID if flow with unique ID is
finished
* Remove unused exception
* Fix typing
* silence pylint
* Fix tests
* Add unique ID to Hue
* Address typing comment
* Tweaks to comments
* lint
2019-12-16 12:27:43 +01:00
Louis-Dominique Dubeau
33cbb398ad
Don't use the locals parameter on exec. ( #29979 )
...
Using the locals parameter makes it so that the code of a Python script runs as
if it were in the body of a ``class``. One effect of this is that functions
defined as part of a script cannot call one another directly.
Fixes : #24704 , #13653
2019-12-16 09:39:20 +01:00
Paulus Schoutsen
9e51a18845
Make hassfest import detection better ( #29932 )
...
* Make hassfest import detection better
* Fix tests
2019-12-16 08:22:20 +01:00
Kevin Eifinger
fc01da8933
Migrate to api_key ( #29966 )
2019-12-16 08:20:41 +01:00
Joakim Plate
039cc98278
Support case of unknown/unavailable temperature/humidity ( #29959 )
...
* Support case of unknown/unavailable temperature/humidity
State is never None, just a string.
* Lint suggestion
2019-12-16 08:04:59 +01:00
Ville Skyttä
445fd15f76
Drop Python 3.6 support ( #29978 )
2019-12-16 07:29:19 +01:00
Andrew Onyshchuk
bfafa77016
Fix support for legacy Z-Wave thermostats ( #29955 )
...
This brings back support for Z-Wave thermostats
of SETPOINT_THERMOSTAT specific device class.
Such devices don't have COMMAND_CLASS_THERMOSTAT_MODE
and are now handled separately.
2019-12-15 20:02:18 -05:00
Ville Skyttä
d6f317c0a9
Remove deprecated rflink configs ( #29972 )
...
They've been deprecated and automatically replaced since July 2017
already, fe6a4b8ae5
2019-12-15 22:57:23 +02:00
Chris Caron
09f3362cc6
isort fix on test_media_player ( #29965 )
2019-12-15 16:07:57 +01:00
Joakim Plate
84a7115435
Start of using hass state for tests rather than direct object ( #29377 )
2019-12-15 13:14:50 +01:00
Jeff Irion
8a5bce81c8
Bump adb-shell to 0.1.0 and androidtv to 0.0.36 ( #29938 )
...
* Bump adb-shell to 0.1.0 and androidtv to 0.0.36
* Add test for setting up two devices
* Add test_setup_same_device_twice
* Fix test_setup_two_devices
* Fix coverage
* Coverage
* Fix flaky 'test_setup_two_devices'
* Another stab at coverage
* Rename 'address' back to 'host'
2019-12-15 11:31:59 +01:00
Raman Gupta
003658a3f0
Update androidtv version to improve source selection support ( #29579 )
...
* Change androidtv module versions and add support for select_source for all device types
* Update and add tests
* Update requirements_test_all.txt
* Update requirements_all.txt
* Consolidate tests
* Fix typo
* Remove 'self._device'
2019-12-14 16:54:41 +01:00
ochlocracy
3db7e8f5e9
Implement Alexa.EventDetectionSensor for Alexa ( #28276 )
...
* Implement Alexa.EventDetectionSensor Interface
* Removed references to PR #28218 not yet merged into dev.
* Update tests to include Alexa Interface
* Guard for `unknown` and `unavailible` states.
* Fixed Unnecessary "elif" after "return"
2019-12-14 08:47:45 +01:00
Paulus Schoutsen
a470a72ec5
Add integration platform helper ( #29914 )
2019-12-13 15:38:41 +01:00
Franck Nijhof
b91a8f510c
Fix incorrect file format yr test fixure ( #29910 )
2019-12-13 12:29:24 +01:00
Bas Nijholt
c59bf0bff6
`genericpath` is an internal Python module and shouldn't be imported according to core Python devs. (see [this]( https://bugs.python.org/msg358136 ) comment) ( #29903 )
...
For a reason unknown to me, @exxamalte introduced this in https://github.com/home-assistant/home-assistant/pull/14342 .
The problem is that Linux and macOS implement `os.path` differently, one imports from [`ntpath.py`](https://github.com/python/cpython/blob/master/Lib/ntpath.py ) and the other one from [`posixpath.py`](https://github.com/python/cpython/blob/master/Lib/posixpath.py ), and both these files use `genericpath.py`.
Somehow, `isort` on macOS will see `genericpath` as a third party library and sort it accordingly.
Other Unix-based OSes will correctly treat `genericpath` as an internal library.
This problem led to a sorting sequence in the following commits:
- ca0fad2cbb
- f5d4878992
- 7d68e88d31
- 1fee400dcd
This supersedes https://github.com/home-assistant/home-assistant/pull/29893 .
2019-12-13 09:47:09 +01:00
John Luetke
7c42f4b45b
(Re)Add support for multiple Pi-Holes ( #27569 )
...
* Update configuration schema to support multiple Pi-holes
* Construct sensors for each configured Pi-hole
* Ensure each Pi-hole has a unique name
* Update services to handle multiple Pi-holes
* Update tests for multiple configurations
* Refactor tests to support service testing
* Fix else-raise per pyliunt
* Per code review, add all entities in a single call
* Per code review, add the default name as default.
* Per code review, add cv.ensure_list to prevent breaking change
* Per code review, move name validation to schema
* Remove default name
* Per code review, validate api_key in schema definition
* Per code review, rename variables
* Per code review, use list comprehension
* Ensure unique slug names in config validation
* Per code review, refactor to CoroutineMock
* Fix adding sensor entities
* Per code review, refactor mock function creation
* Per code review, refactor mock function return values
2019-12-12 19:43:49 +01:00
Alexei Chetroi
1fee400dcd
Revert "Sort import for tests/components/feedreader/test_init.… ( #29882 )
...
This reverts commit 7d68e88d31
.
2019-12-12 17:10:43 +01:00
Ville Skyttä
130571c478
Remove no longer needed auth.util, use secrets instead ( #29861 )
2019-12-12 16:46:33 +01:00
Bas Nijholt
7d68e88d31
Sort import for tests/components/feedreader/test_init.py ( #29878 )
...
This unblocks https://github.com/home-assistant/home-assistant/pull/29739
2019-12-12 15:56:32 +01:00
Pascal Vizeli
0c796fc3c3
Remove uvloop event policy ( #29835 )
...
* Remove uvloop event policy
* Clean tests
* Fix lint
* Cleanup statment
2019-12-11 13:28:50 +01:00
Tiit Rätsep
01ef44fd68
Fix Soma integration connection issue ( #27692 )
...
* Added a check for Connect actually returning something before telling the user the setup succeeded
* Added handling for KeyError in case API returns empty response, formatting
* Trying to please the linter
2019-12-11 13:27:28 +01:00
Bas Nijholt
004af97699
Sort imports for requirements.py and its test using isort ( #29836 )
...
Unblocks https://github.com/home-assistant/home-assistant/pull/29739
2019-12-11 12:12:06 +01:00
Ville Skyttä
a12cf7211d
Upgrade pydocstyle to 5.0.1 ( #29830 )
...
* Upgrade pydocstyle to 5.0.1
http://www.pydocstyle.org/en/5.0.1/release_notes.html
* Pydocstyle and other docstring fixes
2019-12-10 23:25:06 +01:00
Alexei Chetroi
3ed1738f76
Fix input_text initialization with empty config. ( #29829 )
2019-12-10 23:24:33 +01:00
Robert Van Gorkom
66d2f5f61d
Fix withings wrong sleep state entry ( #29651 )
...
* Fixing issue where wrong sleep state entry was being used. closes #28370,#29397
* Fixing formatting.
* Sorting imports to get black checks to pass.
* Using lambda for getting latest sleep serie.
2019-12-10 21:54:50 +01:00
Robert Svensson
99328bd4c1
UniFi - honor detection time when UniFi wire bug happens ( #29820 )
2019-12-10 20:05:18 +01:00
Franck Nijhof
f5d4878992
Fix isort on a small set of misc files ( #29803 )
2019-12-10 09:25:42 +01:00
Paulus Schoutsen
27244e29c4
Install discovery requirements if used ( #29795 )
...
* Install discovery requirements if used
* Update loader.py
* Fix types
2019-12-10 09:24:49 +01:00
Ian
4f1f4a1b4f
Nextbus: Sort results for upcoming times ( #29811 )
...
Sort upcoming times across all direction's for a particular route and
stop.
2019-12-10 09:22:13 +01:00
Alexei Chetroi
315d0064fe
Fix zha circular import ( #29802 )
...
* Refactor zha.core.helpers.
* Make zha isort-able.
* Const import reorg.
* Keep DATA_ZHA config key on entry unload.
* Cleanup ZHA config flow.
* isort.
* Add test.
2019-12-10 00:00:04 -05:00
Alexei Chetroi
454cc684e4
Add input_select reload service. ( #29647 )
...
* Add input_select reload service.
* Add test.
2019-12-09 21:15:32 +01:00
Alexei Chetroi
8c1cdc0cf7
Add input_text reload service. ( #29644 )
...
* Add input_text reload service.
* Add test.
2019-12-09 21:15:24 +01:00
David F. Mulcahey
1222aa8c56
Add ZHA group API ( #29641 )
...
* add skeleton to retrieve zigbee groups
* get single group
* add a group
* return group members with group
* add comment
* fix group members
* add function to add device to group
* add group members
* add remove from group method
* add api to remove members from group
* add remove groups method
* clean up group add and remove
* fix remove group
* fix remove groups
* add api to get only groupable devices
* change var init
* add tests
* address review comment
2019-12-09 14:50:04 -05:00
Bas Nijholt
7f948594eb
Sort imports according to PEP8 for google_assistant ( #29633 )
...
* sort imports and fix flake8 issue for google
* add isort:skip to EVENT_SYNC_RECEIVED
2019-12-09 20:00:14 +01:00
Bas Nijholt
e37443f10c
Sort imports according to PEP8 for components starting with "U" ( #29779 )
...
* use isort to sort imports for components starting with 'u'
* add 'pylint: disable=import-error' to the right place
2019-12-09 19:07:32 +01:00
Bas Nijholt
80c344d3a8
Sort imports according to PEP8 for huawei_lte ( #29664 )
2019-12-09 19:06:25 +01:00
Bas Nijholt
897522a82d
Fix 'pytest.register_assert_rewrite("tests.common")' warning ( #29797 )
...
see fea243c035 (r355533273)
2019-12-09 19:04:38 +01:00
Bas Nijholt
080c702d4f
Sort imports according to PEP8 for components starting with "C" ( #29763 )
2019-12-09 18:56:21 +01:00
Bas Nijholt
6cc75fc6f3
Sort imports according to PEP8 for components starting with "Z" ( #29784 )
...
* use isort to sort imports for components starting with 'z'
* add skip to end of zha/core/channels/__init__.py
* put 'pylint: disable=import-error' at the right place
* remove the import of config_flow in zha/__init__.py
According to @balloob it is no longer needed.
* revert previous commit
* isort:skip homeassistant/components/zha/__init__.py completely
2019-12-09 18:54:54 +01:00
springstan
6b6570e7ca
Move imports to top for ness_alarm ( #29518 )
...
* Move imports to top for ness_alarm
* Added patch for the ArminState in alarm_control_panel.py
2019-12-09 18:46:56 +01:00
Bas Nijholt
08f128e9c7
Sort imports according to PEP8 for components starting with "D" ( #29764 )
...
* use isort to sort imports for components starting with 'd'
* fix isort mistake
2019-12-09 17:42:00 +01:00
Quentame
c804f8f961
Add config flow to iCloud ( #28968 )
...
* iCloud: setup ConfigFlow and prepare for more platforms
- add config flow + tests
- fix existing services
- add play_sound & display_message services
- document services
- can use devices with the same name
- prepare to add sensor platform
* Review : not copy account conf
* Review: Safer test patch
* Review: remove reset_account
* Review: Use executor_job while IO
* Review: Use executor_job while IO 2
* Review: use hass.helpers.storage.Store()
* Review: no IO in tests
* Remove reset from services.yaml
* Review: remove authenticate.return_value = Mock()
* Review: do not initialize the api with the mocked service
* isort
* Review: @MartinHjelmare Test config flow with all steps
* Review: Fix failed tests names
* Codevov: Add one missing test
2019-12-09 17:19:42 +01:00
Bas Nijholt
f60125b5c9
Sort imports according to PEP8 for 'tests' ( #29791 )
2019-12-09 16:52:24 +01:00
springstan
72f336a2dd
Move imports to top for homekit ( #29560 )
...
* Move imports to top for homekit
* Moved back a couple imports, added annotation to disable import-outside-toplevel
* Fix all tests in test_homekit.py
2019-12-09 16:10:02 +01:00
Bas Nijholt
96a6a44411
Sort imports according to PEP8 for components starting with "X" ( #29782 )
2019-12-09 14:58:51 +01:00
Bas Nijholt
9bcd4653e0
Sort imports according to PEP8 for components starting with "Y" ( #29783 )
2019-12-09 14:57:42 +01:00
Bas Nijholt
4035fda659
Sort imports according to PEP8 for components starting with "Q" ( #29785 )
2019-12-09 14:56:20 +01:00
Bas Nijholt
fbf1836997
Sort imports according to PEP8 for components starting with "W" ( #29781 )
2019-12-09 14:47:53 +01:00
Bas Nijholt
1ab1808307
Sort imports according to PEP8 for components starting with "N" ( #29773 )
2019-12-09 14:46:24 +01:00
Bas Nijholt
ee1cc3b3dd
Sort imports according to PEP8 for components starting with "V" ( #29780 )
2019-12-09 14:42:53 +01:00
Bas Nijholt
de915e1bf0
Sort imports according to PEP8 for components starting with "T" ( #29778 )
2019-12-09 14:41:48 +01:00
Bas Nijholt
485761bbaf
Sort imports according to PEP8 for components starting with "R" ( #29776 )
2019-12-09 14:39:51 +01:00
Bas Nijholt
23b92b2a56
Sort imports according to PEP8 for components starting with "S" ( #29777 )
2019-12-09 14:38:01 +01:00
Bas Nijholt
21816eeed4
Sort imports according to PEP8 for components starting with "P" ( #29775 )
2019-12-09 14:29:39 +01:00
Bas Nijholt
5cdaff5405
Sort imports according to PEP8 for components starting with "O" ( #29774 )
2019-12-09 14:26:53 +01:00
Bas Nijholt
c49e423c78
Sort imports according to PEP8 for components starting with "K" ( #29770 )
2019-12-09 14:25:18 +01:00
Bas Nijholt
1dea0c9e34
Sort imports according to PEP8 for components starting with "L" ( #29771 )
2019-12-09 14:22:30 +01:00
Bas Nijholt
14779ce3d0
Sort imports according to PEP8 for components starting with "I" ( #29769 )
2019-12-09 14:21:24 +01:00
Bas Nijholt
710680d604
use isort to sort imports for components starting with 'm' ( #29772 )
2019-12-09 18:50:40 +05:30
Bas Nijholt
8b39957c56
Sort imports according to PEP8 for components starting with "H" ( #29768 )
2019-12-09 14:19:48 +01:00
Bas Nijholt
d58e6e924a
Sort imports according to PEP8 for components starting with "G" ( #29767 )
2019-12-09 14:17:36 +01:00
Bas Nijholt
ca0fad2cbb
Sort imports according to PEP8 for components starting with "F" ( #29766 )
2019-12-09 14:14:40 +01:00
Bas Nijholt
f9e06ca2fd
Sort imports according to PEP8 for components starting with "E" ( #29765 )
2019-12-09 14:10:04 +01:00
Bas Nijholt
96961b9bcc
Sort imports according to PEP8 for components starting with "A" ( #29761 )
2019-12-09 13:57:24 +01:00
Bas Nijholt
73de69896b
Sort imports according to PEP8 for components starting with "B" ( #29762 )
2019-12-09 13:52:18 +01:00
Bas Nijholt
9b27e5b86c
Sort imports according to PEP8 for vultr ( #29760 )
2019-12-09 13:33:08 +01:00
Bas Nijholt
c7cf1b820c
Sort imports according to PEP8 for hue ( #29757 )
2019-12-09 13:25:04 +01:00
Bas Nijholt
abfcc18004
Sort imports according to PEP8 for mobile_app ( #29758 )
2019-12-09 13:22:42 +01:00
Bas Nijholt
53012a548b
Sort imports according to PEP8 for sleepiq ( #29759 )
2019-12-09 13:21:45 +01:00
Bas Nijholt
60e1789557
Sort imports according to PEP8 for emulated_roku ( #29756 )
2019-12-09 13:20:51 +01:00
Bas Nijholt
991834f337
Sort imports according to PEP8 for shopping_list ( #29751 )
2019-12-09 13:14:49 +01:00
Bas Nijholt
76debf4c88
Sort imports according to PEP8 for scene ( #29750 )
2019-12-09 13:12:43 +01:00
Bas Nijholt
127d84edd1
Sort imports according to PEP8 for solarlog ( #29752 )
2019-12-09 13:11:37 +01:00
Bas Nijholt
f81e608cc1
Sort imports according to PEP8 for remote ( #29749 )
2019-12-09 13:09:16 +01:00
Bas Nijholt
e9b428781b
Sort imports according to PEP8 for pushbullet ( #29748 )
2019-12-09 13:06:25 +01:00
Bas Nijholt
3df40c7a16
Sort imports according to PEP8 for websocket_api ( #29657 )
2019-12-09 12:30:23 +01:00
Bas Nijholt
16a7408f23
Sort imports according to PEP8 for zwave ( #29658 )
2019-12-09 12:29:12 +01:00
Bas Nijholt
41cd678f00
Sort imports according to PEP8 for deconz ( #29659 )
2019-12-09 12:25:35 +01:00
Bas Nijholt
2da3848f89
Sort imports according to PEP8 for unifi ( #29656 )
2019-12-09 12:19:33 +01:00
Bas Nijholt
3b0f29fe95
sort imports according to PEP8 for lock ( #29663 )
2019-12-09 12:19:11 +01:00
Bas Nijholt
eb47c2b148
Sort imports according to PEP8 for media_player ( #29665 )
2019-12-09 12:17:41 +01:00
Bas Nijholt
01d651c67d
Sort imports according to PEP8 for device_tracker ( #29666 )
2019-12-09 12:14:38 +01:00
Bas Nijholt
27bd6ca1db
Sort imports according to PEP8 for emulated_hue ( #29667 )
2019-12-09 12:12:41 +01:00
Bas Nijholt
05daa817f5
Sort imports according to PEP8 for owntracks ( #29672 )
2019-12-09 12:11:27 +01:00
Bas Nijholt
d62993c5af
Sort imports according to PEP8 for pilight ( #29673 )
2019-12-09 12:10:38 +01:00
Bas Nijholt
04225ba802
Sort imports according to PEP8 for rest ( #29674 )
2019-12-09 12:09:49 +01:00
Bas Nijholt
186799794d
Sort imports according to PEP8 for nest ( #29670 )
2019-12-09 12:08:51 +01:00
Bas Nijholt
ad58e607df
Sort imports according to PEP8 for somfy ( #29675 )
2019-12-09 12:07:10 +01:00
Bas Nijholt
69b113c539
Sort imports according to PEP8 for dyson ( #29678 )
2019-12-09 12:04:39 +01:00
Bas Nijholt
3d10bb3647
Sort imports according to PEP8 for http ( #29679 )
2019-12-09 11:59:38 +01:00
Bas Nijholt
c7d61279bd
Sort imports according to PEP8 for ring ( #29680 )
2019-12-09 11:58:40 +01:00
Bas Nijholt
df85a50f3b
Sort imports according to PEP8 for sensor ( #29683 )
2019-12-09 11:57:49 +01:00
Bas Nijholt
9cf3ff319e
Sort imports according to PEP8 for iaqualink ( #29681 )
2019-12-09 11:56:51 +01:00
Bas Nijholt
b54c8641b4
Sort imports according to PEP8 for vesync ( #29684 )
2019-12-09 11:56:02 +01:00
Bas Nijholt
e4e4f78eb0
Sort imports according to PEP8 for utility_meter ( #29710 )
2019-12-09 11:54:56 +01:00
Bas Nijholt
776d8cfdc9
Sort imports according to PEP8 for specific_devices ( #29687 )
2019-12-09 11:51:36 +01:00
Bas Nijholt
4c5c34919d
Sort imports according to PEP8 for camera ( #29691 )
2019-12-09 11:50:48 +01:00
Bas Nijholt
0b4ca9ecac
Sort imports according to PEP8 for ambiclimate ( #29689 )
2019-12-09 11:49:35 +01:00
Bas Nijholt
bfa58f671a
use isort to sort imports according to PEP8 for broadlink ( #29690 )
2019-12-09 11:48:52 +01:00
Bas Nijholt
9c1236b6de
Sort imports according to PEP8 for ffmpeg ( #29693 )
2019-12-09 11:48:22 +01:00
Bas Nijholt
38657c0055
Sort imports according to PEP8 for counter ( #29692 )
2019-12-09 11:47:35 +01:00
Bas Nijholt
2261bb60e0
Sort imports according to PEP8 for geofency ( #29695 )
2019-12-09 11:46:49 +01:00
Bas Nijholt
2511f5edb4
Sort imports according to PEP8 for ifttt ( #29696 )
2019-12-09 11:46:08 +01:00
Bas Nijholt
fa6b75f2c1
Sort imports according to PEP8 for file ( #29694 )
2019-12-09 11:45:11 +01:00
Bas Nijholt
a78fe25871
Sort imports according to PEP8 for locative ( #29698 )
2019-12-09 11:43:46 +01:00
Bas Nijholt
642655b6d7
Sort imports according to PEP8 for met ( #29699 )
2019-12-09 11:43:00 +01:00
Bas Nijholt
0e71c29e00
Sort imports according to PEP8 for opentherm_gw ( #29671 )
2019-12-09 11:34:06 +01:00
Bas Nijholt
0fbb450838
Sort imports according to PEP8 for jewish_calendar ( #29697 )
...
* use isort to sort imports according to PEP8 for jewish_calendar
* fix order
somehow isort did the wrong thing
2019-12-09 11:30:31 +01:00
springstan
202522fbca
Move imports to top for nsw_fuel_station ( #29538 )
...
* Move imports to top for nsw_fuel_station
* Correct patch path in test_sensor.py
* Fix tests by removing the unused argument mock_nsw_fuel
2019-12-09 11:29:36 +01:00
Bas Nijholt
425a1814d9
Sort imports according to PEP8 for geonetnz_quakes ( #29668 )
2019-12-09 11:28:07 +01:00
Bas Nijholt
790881fa7b
Sort imports according to PEP8 for almond ( #29688 )
2019-12-09 11:27:16 +01:00
Bas Nijholt
2cd55bbb87
Sort imports according to PEP8 for device_automation ( #29707 )
2019-12-09 11:24:49 +01:00
Bas Nijholt
ea39d5b428
Sort imports according to PEP8 for aws ( #29704 )
2019-12-09 11:23:21 +01:00
Bas Nijholt
f9e9a5e4cb
Sort imports according to PEP8 for darksky ( #29706 )
2019-12-09 11:22:04 +01:00
Bas Nijholt
9228ed7c40
Sort imports according to PEP8 for verisure ( #29711 )
2019-12-09 11:21:16 +01:00
Bas Nijholt
6a11e6aa72
Sort imports according to PEP8 for soma ( #29709 )
2019-12-09 11:19:23 +01:00
Bas Nijholt
7128396f1a
Sort imports according to PEP8 for minio ( #29723 )
2019-12-09 11:08:29 +01:00
Bas Nijholt
6a67532a2d
Sort imports according to PEP8 for linky ( #29722 )
2019-12-09 11:07:50 +01:00
Bas Nijholt
cbf59fb33d
Sort imports according to PEP8 for input_text ( #29719 )
2019-12-09 11:06:05 +01:00
Bas Nijholt
9df71ecae2
Sort imports according to PEP8 for neato ( #29724 )
2019-12-09 11:05:22 +01:00
Bas Nijholt
d0c7db548f
use isort to sort imports according to PEP8 for group ( #29713 )
2019-12-09 09:39:26 +01:00
Bas Nijholt
1790036767
use isort to sort imports according to PEP8 for zone ( #29712 )
2019-12-09 09:38:38 +01:00
Bas Nijholt
2abc9005cc
use isort to sort imports according to PEP8 for homeassistant ( #29718 )
2019-12-09 09:38:24 +01:00
Bas Nijholt
236a21c76e
Sort imports according to PEP8 for pi_hole ( #29726 )
2019-12-09 09:38:14 +01:00
Bas Nijholt
8c1a8b502d
Sort imports according to PEP8 for velbus ( #29676 )
2019-12-09 09:36:42 +01:00
Robert Van Gorkom
e577f047f7
Add tests for vera component ( #28340 )
...
* Adding tests for vera component.
Fixing update bug in the vera climate platform.
* Updating requrements file.
* Moving vera stop to a job.
Sorting imports.
* Addressing simple PR feedback.
* Splitting tests into platforms.
* Mocking controller instead of using requests_mock.
* Updating pyvera to use version that stops threads quickly.
* Updating requirements files.
* Mocking the pyvera module, not the API.
* Addressing PR feedback.
Handling start/stop of patch in fixture.
Removing unecessary code.
* Using generator
2019-12-09 00:19:38 +01:00
Bas Nijholt
39887c46c0
Sort imports according to PEP8 for dialogflow ( #29714 )
2019-12-08 23:40:06 +01:00
Bas Nijholt
6a1753d6db
Sort imports according to PEP8 for geonetnz_volcano ( #29716 )
2019-12-08 23:33:42 +01:00
Bas Nijholt
cce3077df3
Sort imports according to PEP8 for cert_expiry ( #29705 )
2019-12-08 23:32:50 +01:00
Bas Nijholt
e6eed4755f
Sort imports according to PEP8 for plex ( #29708 )
2019-12-08 23:31:55 +01:00
Bas Nijholt
55559f3e30
Sort imports according to PEP8 for starline ( #29653 )
2019-12-08 21:09:48 +01:00
Bas Nijholt
415176e350
Sort imports according to PEP8 for template ( #29655 )
2019-12-08 21:05:08 +01:00
Bas Nijholt
e0b82440ad
Sort imports according to PEP8 for switch ( #29654 )
2019-12-08 18:50:17 +01:00
Bas Nijholt
3d64405896
Sort imports according to PEP8 for recorder ( #29652 )
2019-12-08 18:48:18 +01:00
Bas Nijholt
0a4979549d
use isort to sort imports according to PEP8 for vacuum ( #29650 )
2019-12-08 22:47:01 +05:30
Bas Nijholt
b731ddabde
Sort imports according to PEP8 for homekit ( #29645 )
2019-12-08 18:16:49 +01:00
Bas Nijholt
aeff27680b
use isort to sort imports according to PEP8 for light ( #29648 )
2019-12-08 22:46:23 +05:30
Bas Nijholt
ce5072fc91
use isort to sort imports according to PEP8 for mqtt ( #29649 )
2019-12-08 22:45:26 +05:30
Bas Nijholt
d2c1e5d45c
Sort imports according to PEP8 for homekit_controller ( #29646 )
2019-12-08 18:14:26 +01:00
Bas Nijholt
0d5de6a464
use isort to sort imports according to PEP8 for ecobee ( #29631 )
2019-12-08 22:31:50 +05:30
Bas Nijholt
fbd4cf1089
use isort to sort imports according to PEP8 for cloud ( #29626 )
2019-12-08 22:31:12 +05:30
Bas Nijholt
e4e9cdce73
use isort to sort imports according to PEP8 for demo ( #29630 )
2019-12-08 22:29:27 +05:30
Bas Nijholt
a3b605bb7d
use isort to sort imports according to PEP8 for cover ( #29629 )
2019-12-08 22:28:00 +05:30
Bas Nijholt
f355570f17
use isort to sort imports according to PEP8 for config ( #29628 )
2019-12-08 22:27:28 +05:30
Bas Nijholt
73c373a0f2
use isort to sort imports according to PEP8 for command_line ( #29627 )
2019-12-08 22:25:57 +05:30
Bas Nijholt
954813b478
use isort to sort imports according to PEP8 for climate ( #29625 )
2019-12-08 22:25:01 +05:30
springstan
3b5da9c44a
Move imports to top for homekit_controller ( #29564 )
...
* Move imports to top for homekit_controller
* Fix IpPairing mock in two test files
2019-12-08 16:50:57 +00:00
Bas Nijholt
8f5e8c72c6
use isort to sort imports according to PEP8 for binary_sensor ( #29622 )
2019-12-08 22:02:08 +05:30
Bas Nijholt
f5288db93c
use isort to sort imports according to PEP8 for cast ( #29624 )
2019-12-08 22:00:57 +05:30
Bas Nijholt
d3f67c3841
use isort to sort imports according to PEP8 for automation ( #29620 )
2019-12-08 21:59:39 +05:30
Bas Nijholt
a38f3ac9c6
use isort to sort imports according to PEP8 for fan ( #29632 )
2019-12-08 21:28:47 +05:30
Robert Svensson
57a3f7d5c8
Pass in parameters explicitly to DeconzSession ( #29617 )
...
Dont pass in loop to DeconzSession
Services will use new refresh state method
2019-12-08 16:53:34 +01:00
Bas Nijholt
00dc721609
sort imports according to PEP8 for hassio ( #29634 )
2019-12-08 16:33:22 +01:00
Bas Nijholt
b0d0060643
sort imports according to PEP8 for axis ( #29621 )
2019-12-08 15:44:03 +01:00
Bas Nijholt
663e2eaaff
sort imports according to PEP8 for buienradar ( #29623 )
2019-12-08 14:59:21 +01:00
Bas Nijholt
ba34922b03
sort imports according to PEP8 for alexa ( #29618 )
2019-12-08 14:56:42 +01:00
Bas Nijholt
6ad3b6426a
sort imports according to PEP8 for auth ( #29619 )
2019-12-08 14:55:23 +01:00
Bas Nijholt
09ff0a5ac6
sort imports according to PEP8 for yweather ( #29608 )
2019-12-08 13:50:02 +01:00
Bas Nijholt
74c0219d0c
sort imports according to PEP8 for components ( #29609 )
2019-12-08 13:46:04 +01:00
Bas Nijholt
a885670a9a
sort imports according to PEP8 for abode ( #29610 )
2019-12-08 13:44:12 +01:00
Bas Nijholt
d020486929
sort imports according to PEP8 for alarm_control_panel ( #29616 )
2019-12-08 13:42:31 +01:00
Bas Nijholt
700cecc8ef
sort imports according to PEP8 for airly ( #29615 )
2019-12-08 13:41:51 +01:00
springstan
d752fe3033
Move imports to top for fido ( #29557 )
...
* Move imports to top for fido
* Fix tests for fido by using patch
2019-12-08 12:20:53 +01:00
Andrew McRae
de0db1601b
Add quarterly cycle for utility_meter component ( #29534 )
...
* Add quarterly tariff period to utility_meter
Many tariff cycles in Australia are 3 monthly (quarterly).
Add quarterly tariff cycle handling to the utility_meter component.
* Add quarterly tariff period to utility_meter
Many tariff cycles in Australia are 3 monthly (quarterly).
Add quarterly tariff cycle handling to the utility_meter component.
* Change date for test for utility_meter
* Add quarterly tariff period to utility_meter
Many tariff cycles in Australia are 3 monthly (quarterly).
Add quarterly tariff cycle handling to the utility_meter component.
2019-12-08 09:49:18 +01:00
springstan
957a2e99fd
Move imports to top for tellduslive ( #29550 )
2019-12-08 09:48:08 +01:00
Franck Nijhof
cc9589cff2
Add Elgato Key Light integration ( #29592 )
...
* Add Elgato Key Light integration
* Remove passing in of hass loop
* Tweaks a comment
* Tweaks a function name
* Ensure domain namespace in data exists in entry setup
2019-12-08 09:26:31 +01:00
Alexei Chetroi
e360b1265f
Add input_number.reload admin service. ( #29584 )
...
* Add input_number reload service.
* Add test.
* Allow platform setup without entities.
We can reload and add entities later.
2019-12-07 21:26:06 +01:00
Alexei Chetroi
256056430e
Add input_datetime reload service. ( #29581 )
...
* Add input_datetime reload service.
* Add reload service test.
2019-12-07 21:24:56 +01:00
Alexei Chetroi
ccb0fd5e32
Register automation.reload service as an admin service. ( #29582 )
...
* homeassistant/components/automation/__init__.py
* Register automation.reload as an admin service.
2019-12-07 21:17:30 +01:00
springstan
23fb364076
Move imports to top for openuv ( #29541 )
...
* Move imports to top for openuv
* Renamed mock_pyopenuv_ to MockClient in test_config_flow
2019-12-06 14:13:43 -07:00
springstan
74d86dfff9
Move imports to top for soundtouch ( #29546 )
...
* Move imports to top for soundtouch
* Format with black
* Fix pyling error by renaming variable
* Rename entity instances to include entity instead of device
2019-12-06 21:11:02 +01:00
springstan
6af30bc232
Move imports to top for notion ( #29539 )
...
* Move imports to top for notion
* Fix mocking library in test_config_flow.py
2019-12-06 12:40:00 -07:00
springstan
606d310ea3
Move imports to top for spc ( #29547 )
...
* Move imports to top for spc
* Fix pylint error by removing duplicate import
2019-12-06 15:40:04 +01:00
David K
c5f4872aea
Limit available heat/cool modes for HomeKit thermostats ( #28586 )
...
* Limit available heat/cool modes for HomeKit thermostats.
The Home app only shows appropriate modes (heat/cool/auto) for the device. Depending on the climate integration, disabling the auto start might be needed.
* Include improved mapping for HVAC modes in tests
2019-12-06 14:07:45 +01:00
springstan
27530be46f
Move imports to top for influxdb ( #29513 )
2019-12-06 17:35:35 +05:30
springstan
ec3ffe309a
Move imports to top for toon ( #29553 )
2019-12-06 10:40:38 +01:00
springstan
8def0326dd
Move imports to top for izone ( #29508 )
...
* Move imports to top for izone
* Isorted all imports, fixed tests for config_flow
2019-12-06 06:08:08 +01:00
Alexei Chetroi
dc911ecc5b
Add input_boolean reload service ( #29379 )
...
* Add input_boolean reload service.
* Add reload test.
* Address comments.
Register reload service as an admin service
Setup platform even if there're no entities
2019-12-05 20:31:18 -08:00
springstan
3b6bc9067f
Move imports to top for mochad ( #29514 )
...
* Move imports to top for mochad
* Fix test test_light.py for mochad
* Fix test test_switch.py for mochad
* Make intra package imports relative in switch and light
2019-12-06 02:02:34 +01:00
orrpan
9ba9b3339b
Add full state view for emulated_hue (apps using emulated_hue, 'sleep cycle' and 'sleep as android') ( #26650 )
...
* Add full state view for emulated_hue
* clean and support updated sleep cycle
* emulated hue add reuasable logic and cleanup code
* emulated hue correct typos
* Update hue_api.py
* correct error message and update test_hue_api.py
* cleanup test_hue_api.py
2019-12-05 15:23:54 -08:00
springstan
173966f459
Move imports to top for switcher_kis ( #29530 )
...
* Move imports to top for switcher_kis
* Disabled ungrouped imports if TYPE_CHECKING is true
2019-12-05 18:20:07 -05:00
springstan
20fdcbadff
Move imports to top for nextbus ( #29520 )
...
* Move imports to top for nextbus
* Fix test_sensor.py failed tests
2019-12-05 21:56:42 +01:00
springstan
4e7b9eaed0
Move imports to top for monoprice ( #29516 )
...
* Move imports to top for monoprice
* Format test with black
2019-12-05 19:16:15 +01:00
springstan
19893b8f3c
Move imports to top for islamic_prayer_times ( #29506 )
...
* Move imports to top for islamic_prayer_times
* Fix test_sensor.py for islamic_prayer_times
* Format test_sensor.py with black
* Fix tests for islamic prayer times sensor
2019-12-05 16:58:14 +01:00