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
DjMoren
3c86825e25
Update Tahoma component's tahoma-api requirement's version ( #29918 )
2019-12-14 08:00:19 +01:00
Anders Melchiorsen
2cb92c66ef
Support entity_id: all in lifx.set_state ( #29919 )
2019-12-14 07:36:33 +01:00
Justin Bassett
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
a470a72ec5
Add integration platform helper ( #29914 )
2019-12-13 15:38:41 +01:00
springstan
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
c8cc8acc81
Fixes invalid JSON syntax in devcontainer ( #29911 )
2019-12-13 12:41:56 +01:00
Franck Nijhof
b91a8f510c
Fix incorrect file format yr test fixure ( #29910 )
2019-12-13 12:29:24 +01:00
Fabian Affolter
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ä
4d57de335c
Make Python deprecation notice easier to maintain ( #29900 )
2019-12-13 10:39:57 +01:00
springstan
9fbb6d981a
Fix setup for tank_utility component ( #29902 )
2019-12-13 10:31:53 +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
HomeAssistant Azure
5b32ee566c
[ci skip] Translation update
2019-12-13 00:32:17 +00:00
Sebastian Muszynski
c051ae0bfb
Bump python-miio version to 0.4.8 ( #29890 )
2019-12-12 22:39:11 +01:00
Alexei Chetroi
7685c76b9b
Defer log formatting. ( #29888 )
2019-12-12 14:16:02 -05:00
randellhodges
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
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
327b5c3c94
Log ZHA bind/unbind operations status ( #29842 )
...
* Log bind/unbind operation result.
* Use ZDO consts.
* Use device logger for bind/unbind results.
* Lint.
2019-12-12 12:16:51 -05: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
c58c10ab7c
Add isort to CI and pre-commit ( #29739 )
...
* add isort to CI and pre-commit
* disable wrong-import-order in pylintrc
* ✏️ Tweak
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2019-12-12 15:58:47 +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
Franck Nijhof
4b33578757
Fix package import sort on dwd_weather_warnings ( #29874 )
2019-12-12 14:45:00 +01:00
Aaron Bach
914b49566a
Bump aioambient to 1.0.2 ( #29850 )
2019-12-12 10:24:57 +01:00
Ville Skyttä
7931a0b675
Use Bionic's ffmpeg on Travis, jonathonf/ffmpeg-4 is N/A at the moment ( #29860 )
2019-12-12 07:15:32 +01:00
Paulus Schoutsen
b9eb831d29
Revert Tahoma removal ( #29840 )
...
* Revert "Remove Tahoma component #29744 (#29745 )"
This reverts commit df74272ba6
.
* Revert "Cleanup removed component (#29788 )"
This reverts commit 3a28361beb
.
2019-12-12 06:37:55 +01:00
HomeAssistant Azure
7bd98d1082
[ci skip] Translation update
2019-12-12 00:32:15 +00:00
foxy82
a08e3d7352
Update rfxtrx component so it can be run as a custom_component ( #29638 )
...
* Updating rfxtrx component so it can be run as a custom_component
* Fix pylint errors
* Fix pylint errors
* Fix pylint error on dict.
* isort
2019-12-11 15:58:49 +01:00
Robert Svensson
856dd63680
Add more logging to help future debug situations ( #29800 )
2019-12-11 15:45:21 +01:00
springstan
7b8dff2aa9
Add user-agent to fix dwd_weather_warnings setup error ( #29596 )
...
* Added dummy user-agent to http request to fix setup error
* Replace dummy user-agent with the user-agent of the global home assistant session
* Adjust comment and rename user-agent constant
2019-12-11 15:43:54 +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
HomeAssistant Azure
c2357d843b
[ci skip] Translation update
2019-12-11 00:32:21 +00: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
Ville Skyttä
899f6cf1a3
Re-authorize Huawei LTE on login required error ( #29597 )
...
* Re-authorize Huawei LTE on login required error
Closes https://github.com/home-assistant/home-assistant/issues/29531
* Eliminate one indented "else" block
* Convert get_data from inline to instance method
* Use .get instead of [] for checking subscriptions for clarity
2019-12-10 22:41:29 +02:00
Robert Svensson
99328bd4c1
UniFi - honor detection time when UniFi wire bug happens ( #29820 )
2019-12-10 20:05:18 +01:00
Robert Svensson
47e5142ddb
UniFi - Handle disabled switches ( #29824 )
2019-12-10 20:04:48 +01:00
proferabg
e28fd16c84
Fix tank utility token ( #29801 )
...
* Tank Utility Token Fix
Fix 400 Bad Request on Invalid Token
* Format Fix for Pull Request #29801
* Pylint Annotation Fix for Pull Request #29801
2019-12-10 19:25:21 +01:00
Robert Svensson
db0baab692
Only update disabled_by when enabled default and entity enabled states differ ( #29643 )
2019-12-10 11:02:26 +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
Franck Nijhof
0ed6a434f8
Adjusts repository README ( #29805 )
2019-12-10 09:22:37 +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
Brett T. Warden
9049e090f9
Bump Roku to 4.0.0 ( #29809 )
2019-12-10 09:20:52 +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
HomeAssistant Azure
12f273eb11
[ci skip] Translation update
2019-12-10 00:32:16 +00:00