Commit Graph

21762 Commits (e54f5102aaab112d4b89fc12e34c8393cfd85d6d)

Author SHA1 Message Date
Quentame e54f5102aa Move imports in ifttt component (#27792) 2019-10-17 14:58:23 +02:00
Tomasz Jagusz b187ca93d0 Move imports in rpi_gpio (#27752)
* move imports for rpi_gpio

* fixed pylint error

* fix pylint error

* removed empty line

* add missing blank line

* sort with isort
2019-10-17 12:24:53 +02:00
Tomasz Jagusz 7fd606a254 bump rpi.gpio to 0.7.0 (#27753) 2019-10-17 11:30:18 +02:00
Antonio Larrosa 2d6d6ba90e Forget auth token when going offline so we can reconnect (#26630)
When an amcrest camera was unplugged and then plugged again
it was impossible to reconnect to it, since the old
auth token was reused while we need to use a new one.

In fact, the method that is called every minute to check
the camera availability is going to fail always since we're
reusing an old token.

By forgetting the token (setting it to None) when going offline,
we ensure that we'll regenerate it in the next commands thus allowing
to reconnect to the camera when it comes back online.
2019-10-17 11:29:08 +02:00
kennedyshead 46f1166edd Fix On/Off for melissa (#27733)
* Fixed On/Off for melissa

fixes #27092

* reformatted
2019-10-17 10:32:02 +02:00
Ville Skyttä 23db94c627 Run mypy in pre-commit without args to match CI (#27741) 2019-10-16 21:36:43 -07:00
springstan e79a5baf9e Move imports in slack and socialblade (#27747)
* Moved imports to top-level in samsungtv, slack and socialblade

* Rewinded top-level imports in samsungtv component
2019-10-16 21:36:19 -07:00
Erik Montnemery 43c85c0549 Add device action support to the alarm_control_panel integration (#27616)
* Add device action support to the alarm_control_panel integration

* Improve tests
2019-10-16 21:34:56 -07:00
Robert Svensson 6ffc520b1c
Axis - Improve discovery title by adding placeholder support (#27663)
* Improve discovery title by adding placeholder support
2019-10-16 20:45:03 +02:00
Josef Schlehofer 0607a30612 Upgrade youtube_dl to 2019.10.16 (#27737) 2019-10-16 20:28:59 +02:00
Andrey Kupreychik bd95a89f45 Bump ndms2-client to 0.0.10 (#27734) 2019-10-16 20:28:12 +02:00
Pascal Vizeli 8a0f26e155
Add cache for mypy (#27745)
* Add cache for mypy

* Update ruamel_yaml.py
2019-10-16 17:37:24 +02:00
Pascal Vizeli a1b8f4d9c3
New cache on Azure (#27739)
* New cache on Azure

* Update azure-pipelines-ci.yml

* Update azure-pipelines-ci.yml

* Update azure-pipelines-ci.yml

* Update azure-pipelines-ci.yml

* Update azure-pipelines-ci.yml
2019-10-16 17:11:25 +02:00
cgtobi 14d3b9b8f9 Bump pyatmo version to 2.3.2 (#27731)
* Bump pyatmo version to 2.3.2

* Add reachable attribute

* Add reachable attribute
2019-10-16 12:19:38 +02:00
Maciej Bieniek ec78821161 Add sensor platform to Airly integration (#27717)
* Add sesnor.py file

* Move AirlyData to __init__

* Cleaning

* Update .coveragerc file

* Sort consts

* Sort imports

* Remove icons from sensors with device_class
2019-10-16 12:06:52 +02:00
Paolo Tuninetto cc93dd4928 Move imports in Kodi component (#27728)
* Move imports for Kodi component

* Removed empty line ad requested by review
2019-10-16 12:05:05 +02:00
David Bonnes 44b6258e48
Add evohome high_precision temperatures (#27513)
* add high_precision (current) temperatures 
* bump client to use aiohttp for v1 client
* token saving now event-driven rather than scheduled
* protection against invalid tokens that cause issues
* tweak error message
2019-10-16 10:32:25 +01:00
bouni 5a35e52adf Move imports in device_tracker component (#27676)
* moved imports to top level

* sorted imports using isort
2019-10-16 10:25:37 +02:00
Bogdan Vlaicu c8f6484095 New sensor platform integration for Orange and Rockland Utility smart energy meter (#27571)
* New sensor platform integration for Orange and Rockland Utility smart energy meter

* New sensor platform integration for Orange and Rockland Utility smart energy meter

* bumped the oru py version to 0.1.9

* Added PLATFORM_SCHEMA
Adde unique_id property
Changed logger level from info to debug when printing the updated sensor value
Set the SCAN_INTERVAL to 15 mins
Added exception handling durin init when creating the oru meter instance

* Various fixes base on the PR review
+ Added SCAN_INTERVAL for 15 mins

* fixed path to documentation
2019-10-16 09:52:30 +02:00
HomeAssistant Azure b8e00925e7 [ci skip] Translation update 2019-10-16 00:32:17 +00:00
bouni 04a5f19f6a moved imports to top level (#27696) 2019-10-15 16:24:18 -07:00
springstan 2b92fd3422 Moved imports to top-level in fritzbox_callmonitor component (#27705) 2019-10-15 16:22:42 -07:00
Michał Mrozek d4692367c5 move imports in spotcrime component (#27715) 2019-10-15 16:21:19 -07:00
Michał Mrozek b2f6931bbe move imports in speedtestdotnet component (#27716) 2019-10-15 16:20:59 -07:00
Michał Mrozek a58d242909 move imports in sony_projector component (#27718) 2019-10-15 16:17:09 -07:00
Rolf K 8720ca38b5 Add improved scene support for input_select (#27697)
* Add improved scene support for input_select

* Add tests for reproducing input_select states.

* Add some comments.

* Add support for set_options

Allows defining the options for an input_select in a scene.

* Add tests for set_options in test_reproduce_state

* Execute for real instead of mock execution.
2019-10-15 16:15:42 -07:00
Paulus Schoutsen 93f9afcd21
Fix config imports (#27669)
* Fix config imports

* Remove old migration

* Remove migrate tests
2019-10-15 16:15:26 -07:00
Rolf K c700085490 Add improved scene support to input_text (#27687)
* Add improved scene support for input_text.

* Add tests for reproducing input_text states.

* Add some comments.
2019-10-15 08:37:15 -07:00
quthla a591d78efe Bump PyMata to 2.20 (#27431)
* Bump PyMata to 2.20

* Bump PyMata to 2.20
2019-10-15 17:21:40 +02:00
bouni 6f894d2dec moved imports to top level (#27679) 2019-10-15 17:12:32 +02:00
springstan 26d19f9e1c Moved imports to top-level in spotify integration (#27703) 2019-10-15 17:12:12 +02:00
AaronDavidSchneider d534f30042 Update fritzconnection requirement to 0.8.4 (#27698)
* update fritzconnection requirement

* update requierements for other components and requierements_all
2019-10-15 17:11:17 +02:00
bouni 0e5f24d60c moved imports to top level (#27693) 2019-10-15 17:57:02 +05:30
Luca Angemi 3e26b49cc2 Add battery status in owntracks (#27686)
* Add battery status in owntracks

* Remove trailing whitespaces
2019-10-15 17:56:39 +05:30
bouni b22eb22358 moved imports to top level (#27695) 2019-10-15 17:56:04 +05:30
Tiit Rätsep 40fbc3bd41 Fix missing strings in soma config flow (#27689) 2019-10-15 14:05:10 +02:00
bouni 16c18d303f Move imports in bme680 component (#27506)
* moved imports to top level

* fixed pylint error

* moved imports to top level

* fixed import error
2019-10-15 13:39:51 +02:00
Quentame 5b1f44ba19 Move imports in yeelight + yeelightsunflower component (#27388)
* Move imports in yeelight + yeelightsunflower component

* Fix pylint

* Fix pylint (again)
2019-10-15 13:37:40 +02:00
bouni 0463349f02 moved imports to top level (#27683) 2019-10-15 12:28:24 +02:00
bouni b4a73fa87e Move imports in decora component (#27645)
* moved imports to top level

* replaced importlib with standard import

* fix for Unable to import 'decora' error
2019-10-15 12:26:50 +02:00
SukramJ 3d7860391a Improve code coverage for HomematicIP Cloud (#27606)
* Improve tests for HomematicIP Cloud

* create fixtures remove decorators

* removed further decorators

* remove  last decorator

* improve exception handling

* removed not required coroutine

* use the correct place for mock
2019-10-15 12:12:58 +02:00
Brett T. Warden 57b8d1889a Handle marker attrs that may not exist (#27519)
marker-high-levels and marker-low-levels may not exist in printer
attributes returned by CUPS, so we'll use .get() to avoid this and
default to None:
KeyError: 'marker-high-levels'

Fixes #27518
2019-10-15 15:23:13 +05:30
bouni 5b410ff3a5 moved imports to top level (#27677) 2019-10-15 15:03:22 +05:30
bouni ecc276de38 moved imports to top level (#27675) 2019-10-15 10:07:37 +02:00
bouni 502c65b5fd moved imports to top level (#27678) 2019-10-15 10:06:56 +02:00
bouni 5938f5a3a1 moved imports to top level (#27682) 2019-10-15 10:06:29 +02:00
Ville Skyttä 68a3c97464 Deprecate Python 3.6 support, 3.8.0 is out (#27680) 2019-10-15 10:04:58 +02:00
HomeAssistant Azure d8e3255603 [ci skip] Translation update 2019-10-15 00:31:44 +00:00
Chris Caron 3cb844f22c Add Apprise notification integration (#26868)
* Added apprise notification component

* flake-8 fixes; black formatting + import merged to 1 line

* pylint issues resolved

* added github name to manifest.json

* import moved to top as per code review request

* manifest formatting to avoid failing ci

* .coveragerc updated to include apprise

* removed block for written tests

* more test coverage

* formatting as per code review

* tests converted to async style as per code review

* increased coverage

* bumped version of apprise to 0.8.1

* test that mocked entries are called

* added tests for hass.service loading

* support tags for those who identify the TARGET option

* renamed variable as per code review

* 'assert not' used instead of 'is False'

* added period (in case linter isn't happy)
2019-10-15 00:53:59 +02:00
Paulus Schoutsen 3231e22ddf
Remove direct authentication via trusted networks or API password (#27656)
* Remove direct authentication via trusted networks and API password

* Fix tests
2019-10-14 14:56:45 -07:00