Commit Graph
18109 Commits
Author SHA1 Message Date
Florian KlienandFabian Affolter 5418e0510d XMPP HTTP upload (#17426)
* notify.xmpp: first working http upload

* extension guessing for upload

* docstrings, flake8, pylint

* hass.async_add_executor_job(...)

* catch more errors, allow unverified SSL request

allow user to specify unverified SSL request to URL
cleaner code
catch more exceptions

* pylint

* catching XMPP exceptions, timeout for requests call

removed calls for roster and presence
added timeout for upload request call
cleared up debug, info, warning messages
cleared up requests call for secure and insecure retrieval of image
catching IqError, IqTimeout, XMPPError from slixmpp
docstring updated

* added timout for http upload of local files

* timeout, mimetypes, random filenames

guessing filetypes and mimetypes with stdlib mimetypes
setting a random filename for privacy
working around slixmpp timeout issues with asyncio.wait_for

* code cleanup

* added file upload for rooms/groupchats

* version bump for slixmpp to 1.4.1

added NotConnectedError, removed double catches of IqErrors
removed asyncio import

* slixmpp 1.4.1 in requirements_all

* added url and path templating

* Minor changes

* fixed review requests

fixed possible path issue for foo/../bar/ paths
fixed possible access for non-whitelisted files
fixed None or X
fixed try-else block, moved else block into try
fixed raising error in upload_file if url is None
fixed using data.get after it's already been checked
fixed added docstring for tiny get_url function
2018-11-04 09:17:05 +01:00
Anders MelchiorsenandMartin Hjelmare 164c68093b Improve netgear_lte logging when unconnected (#18163)
* Improve netgear_lte logging when unconnected

* Use callback
2018-11-04 09:15:57 +01:00
Jorim TielemansandAnders Melchiorsen 5dd691e55d Rename huawei_lte.py to test_huawei_lte.py (#18170) 2018-11-04 01:33:05 +01:00
Corey EdwardsandFabian Affolter 155df912e5 Add option to manually specify device detection method (#17852)
* Add option to manually specify device detection method

* Fix style and lint issue
2018-11-03 23:48:08 +01:00
Joakim SørensenandFabian Affolter 610b0b6494 Add Tautulli sensor platform (#17835)
* Adds Tautulli as a sensor platform.

* Remove blank last line.

* Rewrite the platform to comply with review.

* Linting issues.

* Remove tailing newline.

* Corrected typo

* Correcte check_connection, removed wierd defaults, added line in imports, removed unused var, use the correct user list.

* Use dict[key] for required config options.

* Minor changes
2018-11-03 23:47:31 +01:00
rafale77andFabian Affolter f76ccb636c Add support for various load level devices (#18161) 2018-11-03 22:25:05 +01:00
Paulus Schoutsen b2bdf05cae Bumped version to 0.82.0b1 0.82.0b1 2018-11-03 19:18:38 +01:00
Paulus Schoutsen 461e6acf5c Bump frontend to 20181103.1 2018-11-03 19:18:33 +01:00
Paulus Schoutsen fbcf0880f3 Bump frontend to 20181103.1 2018-11-03 19:18:20 +01:00
Paulus Schoutsen 9bf824bf00 Bumped version to 0.82.0b0 0.82.0b0 2018-11-03 13:48:45 +01:00
Paulus Schoutsen 0009e7bde9 Merge remote-tracking branch 'origin/master' into dev 2018-11-03 13:48:19 +01:00
Paulus Schoutsen 67e62e8020 Merge remote-tracking branch 'origin/rc' into dev 2018-11-03 13:48:16 +01:00
Paulus Schoutsen e8e135fd25 Update translations 2018-11-03 13:47:36 +01:00
Paulus Schoutsen 63e53fdf15 Bump frontend to 20181103.0 2018-11-03 13:47:13 +01:00
Paulus SchoutsenandGitHub ed3ca2b74f Merge pull request #18144 from home-assistant/rc
0.81.5
0.81.5
2018-11-03 13:27:15 +01:00
Paulus Schoutsen 91a93b0060 Merge remote-tracking branch 'origin/master' into rc 2018-11-03 12:38:00 +01:00
Paulus Schoutsen 6d3167fcd4 Bumped version to 0.81.5 2018-11-03 12:36:51 +01:00
jjlawrenandPaulus Schoutsen 255607f3a5 Remove FFmpeg input tests (#18131)
* Remove FFmpeg input tests

* Not needed here

* Removing tests for removed functionality

* Minor lint

* Fix tests to reflect removed config option

* Remove async service registration by request

* More lint

* Unused imports

* Make it a non-breaking change

* Update ffmpeg.py
2018-11-03 12:36:47 +01:00
jjlawrenandPaulus Schoutsen 9807ba1a5d Remove FFmpeg input tests (#18131)
* Remove FFmpeg input tests

* Not needed here

* Removing tests for removed functionality

* Minor lint

* Fix tests to reflect removed config option

* Remove async service registration by request

* More lint

* Unused imports

* Make it a non-breaking change

* Update ffmpeg.py
2018-11-03 12:36:22 +01:00
alex9446andPaulus Schoutsen 782a90a535 Fix hassio command timeout (#17567)
* fix hassio command timeout

* Increased command timeout
2018-11-03 11:04:17 +01:00
Fabian AffolterandPaulus Schoutsen 7caddd48cd Fix typos and update docstrings (#18137) 2018-11-03 10:24:02 +01:00
Adam BelebczukandAaron Bach 5c99862878 Allow disabling WeMo Discovery (#18079)
* WeMo - Disable Discovery - New config option

* WeMo - Disable Discovery - Change log level to debug

* WeMo - Disable Discovery - Change logging level
2018-11-02 21:42:24 -06:00
Pascal de LadurantayeandAaron Bach 6a5f9faa33 Add optional ttl config to route53 component (#18135)
* Add optional ttl config to route53 component

* linting :)
2018-11-02 21:41:26 -06:00
mtl010957andPaulus Schoutsen 03d94df3cd Fix DTE Energy Bridge V2 scaling issue. (#18124) (#18129) 2018-11-02 22:48:17 +01:00
Jason HunterandPaulus Schoutsen 45484ba569 TensorFlow image_processing component (#17795)
* initial tensorflow image_processing component

* linting fixes

* make displayed attribute a summary of objects

* fix missed merge conflict and add warning supression back in for CPU type

* restructure tensorflow component to install on the fly, remove from Docker

* add both matches and summary as attributes

* address review comments

* do not use deps folder as default, as it should only be managed by HA.  Update to have tensorflow in root config directory
2018-11-02 21:57:03 +01:00
Robert SvenssonandPaulus Schoutsen 92c536ec0e Don't create a switch for POE device if said device is Cloud key (#18117) 2018-11-02 21:09:16 +01:00
Adam MillsandPaulus Schoutsen 1f290bad94 Update fan/demo tests to async (#18109)
* Update fan/demo tests to async

* Use async_create_task
2018-11-02 21:08:22 +01:00
Adam MillsandPaulus Schoutsen dd938d7460 Async generic thermostat tests (#18111) 2018-11-02 21:06:59 +01:00
Paulus Schoutsen 73ed2ab164 bump frontend to 20181026.4 2018-11-02 20:09:12 +01:00
Joakim SørensenandFabian Affolter 283407fe6c Exposes initial attribute on the entity. (#18123) 2018-11-02 16:52:02 +01:00
Aaron BachandFabian Affolter 97e928df4a Update Pollen.com to use numpy for trend analysis (#18107)
* Update Pollen.com to use numpy for trend analysis

* Hound

* Linting
2018-11-02 15:48:22 +01:00
vacumetandFabian Affolter a39846bad9 Changed from pifacecommon 4.1.2 to 4.2.2 to make the piface digital i/o boards work on rpi like 3 (#18101) 2018-11-02 14:44:20 +01:00
Maikel PunieandFabian Affolter 3fe895c18f Adding climate.velbus support (#18100)
* Adding climate.velbus support

* Fix version

* fixed houndci-bot

* More fixes

* Fix typos and ordering
2018-11-02 14:43:17 +01:00
Paulus SchoutsenandGitHub d7efe274c1 Merge pull request #18122 from home-assistant/rc
0.81.4
0.81.4
2018-11-02 14:08:21 +01:00
Paulus Schoutsen 91b7d56aa6 Bumped version to 0.81.4 2018-11-02 14:07:02 +01:00
Paulus Schoutsen 1895e03874 Frontend bump to 20181026.3 2018-11-02 14:06:49 +01:00
Adam MillsandMartin Hjelmare 0a301f7dcb Convert nsw rural fire tests to async (#18112) 2018-11-02 14:03:05 +01:00
Oleksii SerdiukandFabian Affolter 58c7ee649d Darksky: Round all temperatures to 1 decimal place (#18119)
Some temperatures were not rounded to 1 decimal place:
`temperature_low`, `apparent_temperature_low`, `temperature_high`,
`apparent_temperature_high`.
2018-11-02 13:44:53 +01:00
Paulus SchoutsenandGitHub d80dce31da Merge pull request #18120 from home-assistant/rc
0.81.3
2018-11-02 13:25:53 +01:00
Diogo GomesandPaulus Schoutsen 94f24e6d49 Upgrade pyipma (#17992)
* bump dependency version

* Add more context to debug message

Co-Authored-By: dgomes <diogogomes@gmail.com>

* shorten debug messages
2018-11-02 13:25:32 +01:00
Paulus Schoutsen 2e169320a4 Bumped version to 0.81.3 2018-11-02 12:33:02 +01:00
Anders MelchiorsenandPaulus Schoutsen dce6a9f882 Fix time zone for flux switch (#18102) 2018-11-02 12:32:52 +01:00
Anders MelchiorsenandPaulus Schoutsen 93689d68f7 Fix time zone for flux switch (#18102) 2018-11-02 12:32:41 +01:00
cdce8pandPaulus Schoutsen 5a802c1069 Revert HomeKit update to 2.2.2 (#18069) 2018-11-02 12:31:58 +01:00
Jason HuandPaulus Schoutsen 602b59aed8 Change cv.string to [cv.string] (#18050) 2018-11-02 12:31:58 +01:00
Nate ClarkandPaulus Schoutsen 6f8ac7f5c9 Konnected: Pass hass_config to load_platform (#18027) 2018-11-02 12:31:57 +01:00
Tomas HellströmandPaulus Schoutsen 5910161202 fix naming bug (#17976) 2018-11-02 12:31:56 +01:00
Paulus Schoutsen afc70fda50 Bump frontend to 20181026.2 2018-11-02 12:31:45 +01:00
LeothlonandPaulus Schoutsen 8613694544 Added service select_video_output and video_out attribute (#18081)
* Added service select_video_output and video_out attribute

* Fixed white lines and long lines

* Made line shorter

* Added period to comment according to flake8 rules

* Imported domain const

* Prefixed service with platform name

* changed "video output" to "hdmi output" to better reflect eiscp cammand

* video_output to hdmi_output rename
2018-11-02 11:07:36 +01:00
Neil CrosbyandPascal Vizeli cb7ae5cdf2 Allow MS face detection to handle updating entities when no face is detected (#17593)
* Allow Microsoft face detection to handle updating entities when no face is detected

* Remove microsoft_face_detect_no_face_detected.json and hard code in simple empty list into the tests
2018-11-02 10:50:43 +01:00