Commit graph

28046 commits

Author SHA1 Message Date
Paulus Schoutsen
690579749e
Bump pyHS100 to 3.5.1 () 2020-07-11 18:02:08 +02:00
Kevin Fronczak
4d0c4ac5b3
Bump blinkpy version to fix connection errors ()
* Bump blinkpy version to fix connection errors

* Bump blinkpy version to fix connection errors

* Rebased, re-ran gen_requirements_all
2020-07-11 17:50:18 +02:00
Paulus Schoutsen
0bcc8624b7
Reference constraint files from requirement files ()
* Reference constraint files from requirement files

* Update azure-pipelines-wheels.yml

Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-07-11 06:20:14 -07:00
Paulus Schoutsen
0bf772b68b
Bump ADS to 3.1.3 () 2020-07-10 23:50:28 -07:00
Haemish Kyd
8a2b34cc09
Updates to poolsense integration ()
* Created a binary sensor and corrected some review comments.

* Updated the poolsense class and its interface to handle credentials better

* Moved the client session to the PoolSense class.

* Apply suggestions from code review

* Update binary_sensor.py

* Update homeassistant/components/poolsense/__init__.py

* Update sensor.py

* Update binary_sensor.py

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-07-10 21:53:34 -05:00
Eugene Prystupa
1e9bc278e0
Refactor Bond integration to remove duplication ()
* Refactor Bond integration to remove duplication in Entity code and unit tests

* Refactor Bond integration to remove duplication in Entity code and unit tests (PR feedback)
2020-07-10 20:20:50 -05:00
Eugene Prystupa
0fbdb47dcf
Fix incorrect comparison of speed "off" by identity instead of by value () 2020-07-10 19:45:12 -05:00
Eugene Prystupa
366354c90c
Support Fan domain in Bond integration ()
* Support Fan domain in Bond integration

* Support Fan domain in Bond integration

* Support Fan domain in Bond integration (apply PR feedback)

* Support Fan domain in Bond integration (apply PR feedback)
2020-07-10 19:23:35 -05:00
HomeAssistant Azure
2e72216a1c [ci skip] Translation update 2020-07-11 00:02:51 +00:00
Phil Bruckner
63e55bff52
Remove legacy script mode and simplify remaining modes () 2020-07-10 17:00:57 -07:00
Paulus Schoutsen
8a8289b1a4
Uninstall typing () 2020-07-10 15:57:40 -07:00
Rohan Kapoor
0db8140c13
Add support for the DataUpdateCoordinator to not automatically update () 2020-07-10 15:48:20 -07:00
J. Nick Koston
52939865fa
Use the shared zeroconf instance for homekit_controller ()
* Use the shared zeroconf instance for homekit_controller

* bump version

* Update for upstream changes. Thank you @Jc2k !

* naming

* bump version

* empty commit to reset CI as re-run is not working
2020-07-10 12:18:53 -10:00
Aaron Bach
e61da2fff3
Re-add ability to use remote files (by URL) in Slack messages ()
* Re-add remote file support for Slack

* More work

* Ensure Slack can only upload files from whitelisted directories

* Cleanup

* Finish work

* Code review

* Messing around

* Final cleanup

* Add comment explaining why we use aiohttp for remote files

* Typo
2020-07-10 16:07:44 -06:00
Joakim Plate
5255bf20d3
Add rfxtrx device classes to known types ()
* Add device classes to known types

* Update homeassistant/components/rfxtrx/sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-10 21:47:37 +02:00
Phil Bruckner
91271f388c
Add new repeat loop for scripts and automations () 2020-07-10 13:37:19 -05:00
Erik Montnemery
b187b17a4f
Fix MQTT availability startup race () 2020-07-10 09:40:15 -07:00
Erik Montnemery
383db60dff
Tweak MQTT availability () 2020-07-10 09:39:18 -07:00
Paulus Schoutsen
67b18aef5b
Fix Hue homekit discovery ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-07-10 09:37:36 -07:00
Greg Dowling
405c1cdc86
Fix loopenergy callback updating HA before the object is initialised ()
* Fix loopenergy callback updating HA before the object is initialised.

* Change to use async_added_to_hass.
2020-07-10 17:42:27 +02:00
Jakub Bednář
c260b7fa16
Update influxdb-client dependency to 1.8.0, fix test write for InfluxDB v2 ()
* chore: updated influxdb-client dependency to 1.8.0, fixed testing write for InfluxDB v2

* fix: code style
2020-07-10 16:56:36 +02:00
Diefferson Koderer Môro
804cae02ee
Fix get profiles checking if has ptz capabilities () 2020-07-10 10:13:16 -04:00
Paul Annekov
609bd6313a
bump tuyaha 0.0.7 () 2020-07-10 14:56:21 +02:00
Joakim Plate
67038c6ba8
Rewrite rfxtrx init logic to do away with global object ()
* Rewrite init logic to do away with global object

* Put constant at end

* Use a set instead of list for device_ids
2020-07-10 14:52:07 +02:00
Paulus Schoutsen
b45a952d61
Upgrade foobot-async () 2020-07-10 08:44:19 +02:00
mdegat01
e379bfe383
Revert "Updated influxdb-client dependency to 1.8.0" ()" ()
This reverts commit 9964bd40ed.
2020-07-10 05:05:55 +02:00
Aaron Bach
5f36023b9e
Actually fix Guardian entity services ()
* Actually fix Guardian entity services

* Bump aioguardian

* Remove upgrade_firmware defaults
2020-07-09 20:52:13 -06:00
HomeAssistant Azure
82739bac3b [ci skip] Translation update 2020-07-10 00:03:39 +00:00
Eugene Prystupa
69a8ba2af8
Add bond cover assumed state and local polling ()
* Declare Bond covers as having assumed state, setup local polling for state updates

* Declare Bond covers as having assumed state, setup local polling for state updates (apply feedback from PR review)

* Declare Bond covers as having assumed state, setup local polling for state updates (apply feedback from PR review)

* Declare Bond covers as having assumed state, setup local polling for state updates (apply feedback from PR review)
2020-07-09 18:25:18 -05:00
Jelle Raaijmakers
ef254a1c3d
Round time values in get_age() to better approximate the actual age () 2020-07-09 11:19:38 -07:00
Harryjholmes
511da9557b
Change audio sample rate for apple watch homekit camera ()
* Update type_cameras.py

* Apply suggestions from code review

Support both 24kHz and 16kHz sample rate

Co-authored-by: J. Nick Koston <nick@koston.org>

* Adjust formatting

* Reformat

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-07-09 05:19:49 -10:00
Joakim Plate
bcd604eec2
Detect lingering threads after tests ()
* Detect lingering threads after tests

* Make sure cast is setup before checking state

* Make sure we ask executors of old hass to shutdown

We are not waiting here, just hoping for the best

* Make sure all instances of hass and executors is stopped.

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Also apply hass stopping to scripts

* Adjust to changes how we set up executor

* Add new CoreState.stopped

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-09 16:15:14 +02:00
bsmappee
08fa701854
Smappee dependency update () 2020-07-09 13:03:23 +02:00
Pascal Vizeli
748ce05341
Python 3.8 on core Container () 2020-07-09 13:01:18 +02:00
Joakim Plate
a3310330f4
Split handling and application of event ()
This way _handle_event can contain things available
when entity has been added to home assistant,
and _apply event can remain internal and used on init.
2020-07-09 11:40:37 +02:00
cgtobi
155a5f7c26
Add back Netatmo public weather sensors ()
* Add public weather sensors back in

* Remove stale code

* Cleanup after before adding entities

* Fix pylint complaint

* Add test for options flow

* Change mode to listbox

* Update .coveragerc

* Address comments

* Don't process empty list

* Address comment

* Fix mistake

* Make signal unique

* Make string more unique

* Fix merge conflict
2020-07-09 06:39:33 +02:00
jduquennoy
af6a4bb6cf
Refactor Enocean part 1 ()
* First step of an EnOcean integration refactoring, including code reorganisation and support of a setup config flow

* Moved title to root of strings file

* Fixed pre-commit checks failures

* Fixed linter errors

* Updated formatted string format in logs

* Removed leftover comment

* Multiple changes after PR change requests.
Using an import flow for yaml config, removed unnecessary logs, added proper unload in __init__ and EnOceanDongle
Replaced config state machine by several flows.
Serial port validity check done in the EnOceanDongle class asynchronously, removed unique ID from config flow
Multiple cosmetic changes

* Multiple changes after PR change requests

* Added variable to store default value, as setdefault was caught returning None when the empty dict literal was passed as an argument

* Literal used directly

* Added tests for EnOcean config flows, changed static methods to bundle methods for bundle

* Updated variable name

* Added missing mock to test, replaced repeated magic strings by constants

* Changed imports to avoid an unused import warning from pylint on DOMAIN

* Adding pylint exception for unused import

* Added proper propagation of setup and unload to platforms, removed dead code, some syntax changes

* Removed setup_entry forwarding as the entities can only be configured using yaml

* Removed forwarding of unload

* Enabled code coverage for config flow only

* Clean up coveragerc

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-07-08 20:46:38 -04:00
Shulyaka
872140123d
Add humidifier support to prometheus ()
* Add humidifier support to promethease

* add humidifier dependency

* handle dependencies

* wrong place

* applied suggestions from code review

* fix typo

* Revert "wrong place"

This reverts commit 58e509d767.

* Revert "handle dependencies"

This reverts commit 74bd523e08.

* Revert "add humidifier dependency"

This reverts commit 8840b378e5.
2020-07-08 20:42:45 -04:00
Chris
3c7f729b15
OZW Usercodes update services.yaml with examples () 2020-07-08 17:33:04 -07:00
HomeAssistant Azure
251a1d6619 [ci skip] Translation update 2020-07-09 00:05:04 +00:00
Chris
fd65ce08c1
Add ozw usercode support () 2020-07-08 16:41:53 -07:00
Rami Mosleh
62477a3457
Use "next_state" attr instead of "post_pending" for ArmDisarm trait () 2020-07-08 16:38:42 -07:00
Ville Skyttä
a077c280c8
Convert syncthru to config flow and native SSDP discovery ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-08 16:38:16 -07:00
Erik Montnemery
fb3049d6a2
Set MQTT sensor to state unavailable when value expires () 2020-07-08 16:20:19 -07:00
Chris Talkington
fb420d5952
Apply more suggestions from bond code review ()
* apply more suggestions from bond code review

* Update cover.py

* Update test_cover.py

* Update test_cover.py

* Update test_cover.py

* Update cover.py

* Update utils.py

* Update test_cover.py

* Update test_utils.py

* Delete test_utils.py

* Update cover.py

* Update test_cover.py

* Update test_cover.py
2020-07-08 16:28:53 -05:00
Sava Tshontikidis
c1de781a23
Add kwargs to send_magic_packet() service individually () 2020-07-08 14:25:21 -07:00
Aaron Bach
05f93f27df
Fix missing Guardian service strings () 2020-07-08 14:51:42 -06:00
bsmappee
99c815bcbd
Update Smappee integration with proper solar, voltage and reactive entities () 2020-07-08 13:45:01 -07:00
mdegat01
d60c52bbc7
Check buckets/dbs for validity during Influx sensor startup ()
* Check buckets/dbs for validity during sensor startup

* Empty array instead of none
2020-07-08 15:37:43 -04:00
mdegat01
9964bd40ed
Updated influxdb-client dependency to 1.8.0 () 2020-07-08 15:36:54 -04:00