Fabian Affolter and Pascal Vizeli
31cd0af47a
Upgrade matrix-client to 0.3.2 ( #30027 )
2019-12-17 16:26:36 +01:00
Andre Richter and Alexei Chetroi
115aa2e49c
Z-Wave: Fibaro FGR*-222: Add venetian blind support ( #29701 )
...
The Fibaro FGR-222/FGRM-2222 ZWave roller shutter devices have a proprietary
command class to support setting the tilt angle of venetian blinds (= type of
window cover). This PR adds the support to HA for this. This allows the user to
set the height of the blinds and the tilt angle separately.
Original patch by @ChristianKuehnel #24405 .
2019-12-17 09:26:19 -05:00
Robert Van Gorkom and Teemu R
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
HomeAssistant Azure
ad8278c078
[ci skip] Translation update
2019-12-17 00:32:23 +00:00
Franck Nijhof and Paulus Schoutsen
0439d6964c
Fix persistent setup error notification content ( #29995 )
...
* Fix persistent setup error notification content
* Use documentation from manifest, enriched error messages
* Fix issue caught by mypy
2019-12-16 20:16:23 +01:00
Vladimír Záhradník and Franck Nijhof
c16fae2c0b
Fix modbus service description ( #30005 )
2019-12-16 20:07:46 +01:00
Paulus Schoutsen and GitHub
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
zewelor and Teemu R
575eb48feb
Show current effect in yeelight device ( #28975 )
...
* Show current effect in yeelight device
* Use device_state_attributes instead of state_attributes
* Add early return in set effect
* Make single if elif chain
* Fix if elif
* Fix if elif
2019-12-16 16:23:05 +01:00
Paulus Schoutsen and GitHub
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
Franck Nijhof and Paulus Schoutsen
87ca61ddd7
Add check-json to CI and Pre-commit ( #29912 )
...
* Add check-json to CI and Pre-commit
* Add ignore pre-commit hooks to gen_requirements_all
2019-12-16 11:06:16 +01:00
Franck Nijhof and Fabian Affolter
d1e59b20c8
Bump pytest to 5.3.2 ( #29990 )
2019-12-16 10:59:32 +01:00
Franck Nijhof and Fabian Affolter
dd0f0034f3
Bump shodan to 1.21.0 ( #29991 )
2019-12-16 10:57:42 +01:00
Emacee and Paulus Schoutsen
be042f3d91
Update binary_sensor.py ( #29977 )
...
Change sensor type for central locking from safety into lock.
2019-12-16 09:42:48 +01:00
Louis-Dominique Dubeau and Paulus Schoutsen
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 and GitHub
b058742404
Fix condition typo ( #29989 )
2019-12-16 09:33:11 +01:00
Ryan and Fabian Affolter
3f32490ae6
Fixed "condtion_type" to "condition_type" ( #29984 )
...
Fixed "condtion_type" to "condition_type"
2019-12-16 08:41:32 +01:00
Paulus Schoutsen and GitHub
9e51a18845
Make hassfest import detection better ( #29932 )
...
* Make hassfest import detection better
* Fix tests
2019-12-16 08:22:20 +01:00
Jeff Irion and Paulus Schoutsen
8fe17c0933
Remove 'SUPPORT_PLAY_MEDIA' from Volumio ( #29969 )
2019-12-16 08:21:29 +01:00
Kevin Eifinger and Paulus Schoutsen
fc01da8933
Migrate to api_key ( #29966 )
2019-12-16 08:20:41 +01:00
Joakim Plate and Paulus Schoutsen
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ä and Paulus Schoutsen
445fd15f76
Drop Python 3.6 support ( #29978 )
2019-12-16 07:29:19 +01:00
Andrew Onyshchuk and Charles Garwood
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
HomeAssistant Azure
95a6a7502a
[ci skip] Translation update
2019-12-16 00:32:25 +00:00
Ville Skyttä and GitHub
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
Aaron Godfrey and Franck Nijhof
012c09ce00
Fix example value for Todoist service ( #29953 )
2019-12-15 18:47:11 +01:00
Fabian Affolter and Franck Nijhof
9c0799eb0a
Upgrade keyring to 20.0.0 and keyrings.alt to 3.4.0 ( #29960 )
2019-12-15 17:41:56 +01:00
Chris Caron and Franck Nijhof
09f3362cc6
isort fix on test_media_player ( #29965 )
2019-12-15 16:07:57 +01:00
Joakim Plate and GitHub
84a7115435
Start of using hass state for tests rather than direct object ( #29377 )
2019-12-15 13:14:50 +01:00
Jeff Irion and Fabian Affolter
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
Tyler and Fabian Affolter
a28545b69b
bump venstar 0.12 ( #29954 )
...
* bump venstar 0.12
* Update manifest.json
2019-12-15 08:16:20 +01:00
Chris Mandich and Martin Hjelmare
6dd496deb4
Fix loading flume integration ( #29926 )
...
* Fix https://github.com/home-assistant/home-assistant/issues/29853
* Run script.gen_requirements
* Update to store Token File in config directory
* Update to store Token File in config directory
* Update to store Token File in config directory
2019-12-15 03:45:29 +01:00
Quentame and Martin Hjelmare
820780996a
Add battery sensor to iCloud ( #29818 )
...
* Add battery sensor to iCloud
* Update .coveragerc
* Review: @balloob & @MartinHjelmare
* Review: use f string
2019-12-14 23:06:00 +01:00
Raman Gupta and Fabian Affolter
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 and Paulus Schoutsen
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
DjMoren and Paulus Schoutsen
3c86825e25
Update Tahoma component's tahoma-api requirement's version ( #29918 )
2019-12-14 08:00:19 +01:00
Anders Melchiorsen and Paulus Schoutsen
2cb92c66ef
Support entity_id: all in lifx.set_state ( #29919 )
2019-12-14 07:36:33 +01:00
Justin Bassett and Paulus Schoutsen
114390c95e
Fix mobile app device identifiers ( #29920 )
...
Fix identifiers when updating device registration.
2019-12-14 07:36:12 +01:00
HomeAssistant Azure
8f5a00a98b
[ci skip] Translation update
2019-12-14 00:32:08 +00:00
Paulus Schoutsen and GitHub
a470a72ec5
Add integration platform helper ( #29914 )
2019-12-13 15:38:41 +01:00
springstan and Paulus Schoutsen
6b3260357f
Fix setup error for logbook ( #29908 )
...
* Fix setup error by moving an import back into the setup function
* Revert c741664d4d
* Add homekit as after_dependency to logbook manifest.json
2019-12-13 14:08:30 +01:00
Franck Nijhof and Paulus Schoutsen
c8cc8acc81
Fixes invalid JSON syntax in devcontainer ( #29911 )
2019-12-13 12:41:56 +01:00
Franck Nijhof and GitHub
b91a8f510c
Fix incorrect file format yr test fixure ( #29910 )
2019-12-13 12:29:24 +01:00
Fabian Affolter and Paulus Schoutsen
1301a4fcc6
Upgrade Sphinx to 2.2.2 and sphinx-autodoc-typehintsi to 1.10.3 ( #29906 )
2019-12-13 11:15:26 +01:00
Ville Skyttä and Paulus Schoutsen
4d57de335c
Make Python deprecation notice easier to maintain ( #29900 )
2019-12-13 10:39:57 +01:00
springstan and Martin Hjelmare
9fbb6d981a
Fix setup for tank_utility component ( #29902 )
2019-12-13 10:31:53 +01:00
Bas Nijholt and Paulus Schoutsen
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
HomeAssistant Azure
5b32ee566c
[ci skip] Translation update
2019-12-13 00:32:17 +00:00
Sebastian Muszynski and Franck Nijhof
c051ae0bfb
Bump python-miio version to 0.4.8 ( #29890 )
2019-12-12 22:39:11 +01:00
Alexei Chetroi and GitHub
7685c76b9b
Defer log formatting. ( #29888 )
2019-12-12 14:16:02 -05:00
randellhodges and Martin Hjelmare
9d662d6114
ISY994 Node Filter Update ( #28155 )
...
* Adding filters for keypad dimmers and smoke sensor
* ran black --fast as suggested
* Adding filters for keypad dimmers and smoke sensor
* ran black --fast as suggested
2019-12-12 19:47:38 +01:00