Commit Graph
21826 Commits
Author SHA1 Message Date
Ville SkyttäandPaulus Schoutsen 103ffacea7 Use pre-commit in CI and tox (#27743) 2019-10-18 12:20:26 -07:00
Paulus SchoutsenandGitHub a119932ee5 Refactor the conversation integration (#27839)
* Refactor the conversation integration

* Lint
2019-10-18 11:46:45 -07:00
Malte FrankenandPaulus Schoutsen 83a709b768 Move imports in recorder component (#27859)
* move imports to top-level in recorder init

* move imports to top-level in recorder migration

* move imports to top-level in recorder models

* move imports to top-level in recorder purge

* move imports to top-level in recorder util

* fix pylint
2019-10-18 10:14:54 -07:00
bouniandcgtobi e95b8035ed Move imports in blinksticklight component (#27851) 2019-10-18 17:15:20 +02:00
bouniandcgtobi bb76678b36 Move imports in blink component (#27850) 2019-10-18 17:14:50 +02:00
bouniandcgtobi 56dde68c5b Move imports in bmw_connected_drive component (#27853) 2019-10-18 17:14:01 +02:00
bouniandcgtobi 03cc7f377b Move imports in bom component (#27854) 2019-10-18 17:12:42 +02:00
Pascal VizeliandGitHub 9392cbff03 cryptography + numpy for python 3.8 (#27861) 2019-10-18 16:11:40 +02:00
bouniandPascal Vizeli 3bb46d5080 Move blackbird imports (#27849)
* Move imports in blackbird component

* fixed tests after import move to top level
2019-10-18 15:12:36 +02:00
bouniandPascal Vizeli c0d084fb04 Move imports in blockchain component (#27852) 2019-10-18 15:12:00 +02:00
bouniandPascal Vizeli 58d2d858cd Move imports in brunt component (#27856) 2019-10-18 15:08:40 +02:00
Tomasz Jaguszandcgtobi 675c91b436 Move imports in yweather (#27842)
Changes checked with pylint.
Formatted with black
Imports sorted with isort
2019-10-18 10:11:53 +02:00
bouniandPaulus Schoutsen 511766cb06 Move imports in apns component (#27804)
* Move imports in apns component

* fixed apns tests
2019-10-17 22:13:29 -07:00
QuentameandPaulus Schoutsen 5cb145f588 Move imports in openweathermap component (#27779) 2019-10-17 22:12:32 -07:00
Tobias EfingerandPaulus Schoutsen 7ec8384fa6 Add service description for route53 integration (#27774) 2019-10-17 22:11:51 -07:00
Bendik BrenneandPaulus Schoutsen 9625e0463b Add sinch integration (notify component) (#26502)
* Added sinch integration (notify component)

* Updated requirements

* Fixes according to lint

* Update homeassistant/components/sinch/notify.py

Co-Authored-By: Andrew Sayre <6730289+andrewsayre@users.noreply.github.com>

* Update homeassistant/components/sinch/notify.py

Co-Authored-By: Andrew Sayre <6730289+andrewsayre@users.noreply.github.com>

* Update homeassistant/components/sinch/notify.py

Co-Authored-By: Andrew Sayre <6730289+andrewsayre@users.noreply.github.com>

* Adds @bendikrb as codeowner

* Imports to the top. Catching specific exceptions. Logic fixes

* Updated CODEOWNERS

* Reformatting (black)

* Added sinch component to .coveragerc

* Conform to pylintrc

* Okay, Mr. Black

* Fixed: Catching too general exception Exception
2019-10-17 21:44:09 -07:00
Tsvi MostoviczandPaulus Schoutsen 2bc6b59e79 Move holiday info into a single sensor with multiple attributess (#27654)
* Move holiday onfo into a single sensor with multiple attributess

* Add tests for holiday attributes
2019-10-17 20:32:24 -07:00
Raman GuptaandPaulus Schoutsen 4e25807b7d Add ability for MQTT device tracker to map non-default topic payloads to zones/states (#27143)
* add ability for MQTT device tracker to map nondefault topic payloads to zones

* update new parameter name and add abbreviation

* support for payload_home, payload_not_home, and payload_custom

* use constants STATE_NOT_HOME and STATE_HOME as defaults

* reference state constants directly

* add empty dict as default for payload_custom

* change parameter name for custom mapping of payloads to non-home zones to be more descriptive

* removed 'payload_other_zones' per ballobs review

* remove abbreviation for 'payload_other_zones'

* add tests for feature
2019-10-17 17:51:27 -07:00
mvn23andPaulus Schoutsen 489340160b Add opentherm_gw options flow. (#27316) 2019-10-17 17:36:34 -07:00
jjlawrenandPaulus Schoutsen 0888098718 Use URI provided by Plex for local connections (#27515)
* Use provided URI for local connections

* Use provided plexapi connection method

* Remove unused mock from tests

* Handle potential edge case(s)
2019-10-17 17:31:53 -07:00
SukramJandPaulus Schoutsen 564789470e Add device_info to HomematicIP climate and acp (#27771) 2019-10-17 17:25:16 -07:00
Tiit RätsepandPaulus Schoutsen 81178661ae Added handling for connection errors in state update, added available property (#27794) 2019-10-17 17:23:11 -07:00
Maciej BieniekandPaulus Schoutsen 86a4be1636 Fix attribution (#27815) 2019-10-17 17:22:40 -07:00
QuentameandPaulus Schoutsen dcdcfdd376 Unload linky config entry (#27831) 2019-10-17 17:22:16 -07:00
schericandPaulus Schoutsen 3e7fcc7575 Add grid sensors to SolarEdge_local (#27247)
* Add grid sensors

* Formatting

* Add possibility to add attributes

* Add optimizer attribute

* Remove bare 'except'

* add proper exception

* Remove return attribution 0

* Ad inverter attribution

* Style change

* Add attribute name to sensors constants

* SENSOR_TYPES  alphabetical and snake_case lower

* Formatting

* forgot snake_case lower

* Add extra meter sensors

* add critical error for debugging

* Update sensor.py

* swam meter sensors

* Add suitable icons to meter reading

* Fix for pointless-statement

homeassistant/components/solaredge_local/sensor.py:173:8: W0104: Statement seems to have no effect (pointless-statement)
homeassistant/components/solaredge_local/sensor.py:192:8: W0104: Statement seems to have no effect (pointless-statement)
homeassistant/components/solaredge_local/sensor.py:349:16: W0104: Statement seems to have no effect (pointless-statement)
homeassistant/components/solaredge_local/sensor.py:356:16: W0104: Statement seems to have no effect (pointless-statement)

* Rename import energy sensor

* Insert feadback

* Change to debug info

* Add check if attribute name exist

* Remove unnecessary else

* Add return None if no attributes

* flake
2019-10-17 17:21:00 -07:00
Erik MontnemeryandPaulus Schoutsen 6d083969c2 Add device action support to the lock integration (#27499)
* Add device action support to the lock integration

* Check that the enitity supports open service
2019-10-17 17:20:10 -07:00
QuentameandPaulus Schoutsen bd0403c65e Move imports in telegram_bot component (#27785) 2019-10-17 17:19:34 -07:00
David BonnesandPaulus Schoutsen 2d1f7932ba bump client (#27799) 2019-10-17 17:19:07 -07:00
bouniandPaulus Schoutsen e17b8b011a Move imports in bitcoin component (#27814) 2019-10-17 17:18:47 -07:00
bouniandPaulus Schoutsen 21754fd7cc Move imports in bbb_gpio component (#27813) 2019-10-17 17:18:22 -07:00
bouniandPaulus Schoutsen d95b4a6a0b Move imports in anel_pwrctrl component (#27798) 2019-10-17 17:18:11 -07:00
Tomasz JaguszandPaulus Schoutsen bc58649c2b Move imports in MCP23017 component (#27769)
* mcp23017 move imports

* fix pylint errors
2019-10-17 17:17:56 -07:00
QuentameandPaulus Schoutsen fdf839774e Move imports in fritz + fritzbox_netmonitor component (#27823)
* Move imports in fritz + fritzbox_netmonitor component

* Fix PyLint 1
2019-10-17 17:17:24 -07:00
QuentameandPaulus Schoutsen 22b904f5e0 Move imports in flux_led component (#27822) 2019-10-17 17:15:18 -07:00
QuentameandPaulus Schoutsen 0965e358ea Move imports in fitbit component (#27820) 2019-10-17 17:14:53 -07:00
QuentameandPaulus Schoutsen fe036ed094 Move imports in flic component (#27821) 2019-10-17 17:13:20 -07:00
Ville SkyttäandPaulus Schoutsen 3a608314c4 Mypy setup fixes (#27825)
* Install our core dependencies for mypy in azure

To match local setups and tox.

* Use "system" mypy in pre-commit instead of the "real" mypy hook

The results of mypy depend on what is installed. And the mypy hook
runs in a virtualenv of its own, meaning we'd need to install and
maintain another set of our dependencies there... no. Use the "system"
one and reuse the environment that is set up anyway already instead.

* Reintroduce needed ruamel.yaml type ignore

This ignore is required when ruamel.yaml is installed, and we want it
to be as it's part of the core dependency set.
2019-10-17 17:12:58 -07:00
QuentameandPaulus Schoutsen 61edd33da7 Move imports in google component (#27826) 2019-10-17 17:11:51 -07:00
QuentameandPaulus Schoutsen 6998687742 Move imports in gitlab_ci component (#27827) 2019-10-17 17:11:20 -07:00
bouniandPaulus Schoutsen 9d583ad9f9 Move imports in baidu component (#27812) 2019-10-17 17:11:11 -07:00
bouniandPaulus Schoutsen 54ef96e79a Move imports in awair component (#27811) 2019-10-17 17:11:01 -07:00
bouniandPaulus Schoutsen 447d99a1ae Move imports in apcupsd component (#27803) 2019-10-17 17:10:28 -07:00
bouniandPaulus Schoutsen 56c13503c3 Move imports in aqualogic component (#27805) 2019-10-17 17:10:16 -07:00
bouniandPaulus Schoutsen 5eb781d378 Move imports in arlo component (#27806) 2019-10-17 17:09:47 -07:00
bouniandPaulus Schoutsen 3cf7983e00 Move imports in asterisk_mbox component (#27807) 2019-10-17 17:08:58 -07:00
bouniandPaulus Schoutsen bb80d9bd16 Move imports in august component (#27810) 2019-10-17 17:06:41 -07:00
Malte FrankenandPaulus Schoutsen 1a5b4c105a Move imports in mqtt component (#27835)
* move imports to top-level in mqtt server

* move imports to top-level in mqtt configflow

* move imports to top-level in mqtt init

* move imports to top-level in mqtt vacuum

* move imports to top-level in mqtt light
2019-10-17 17:04:27 -07:00
QuentameandMartin Hjelmare 7637ceb880 Move imports in html5 component (#27473)
* Move imports in html5 component

* Fix tests 1

* Fix tests 2
2019-10-17 21:17:23 +02:00
tombboandMartin Hjelmare e992cfb45c Add on_off_inverted to KNX climate (#25900)
* Added a new configuration boolean parameter on_off_inverted to KNX Climate component.

* Remove unexpected spaces around equals.

* Parameter name changed to on_off_invert and modified to new version of XKNX library.

* Dict[key] for required config keys and keys with default config schema values.
2019-10-17 21:07:09 +02:00
bouniandPascal Vizeli ba0107f912 Move imports in android_ip_webcam component (#27797) 2019-10-17 17:07:36 +02:00