Commit Graph

19752 Commits (2d3b117cb87e53d46cebf27aee96bb497dd087b6)

Author SHA1 Message Date
Paulus Schoutsen 2d3b117cb8
Use SCAN_INTERVAL instead of Throttle for google travel time ()
The documentation for google_travel_time was at odds with the
implementation. The documentation stated a default scan time of
5 minutes, but the implementation was using Throttle which resulted
in the sensor updating at a maximum rate of one API call every
5 minutes. This was especially at odds with a given example at
the end of the documentation, which showed updating the sensor
every 2 minutes during commute times.

This change brings the implementation in line with the docs by
adopting the `SCAN_INTERVAL` constant set to the stated default
of 5 minutes and removing the Throttle.
2020-03-04 17:39:28 -08:00
Paulus Schoutsen 7b5b909f0a
ZHA Dependencies bump ()
* ZHA Dependencies bump.

* Bump up ZHA dependencies.
2020-03-04 17:35:07 -08:00
Paulus Schoutsen 3ca97a0517
Add sighthound timestamped file ()
* Update image_processing.py

Adds save timestamp file and adds last_detection attribute

* Update test_image_processing.py

Adds test

* Adds assert pil_img.save.call_args

* Test timestamp filename

* Add test bad data

* Update test_image_processing.py

* Fix bad image data test

* Update homeassistant/components/sighthound/image_processing.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-03-04 17:31:54 -08:00
Alexei Chetroi e416f17e4d
ZHA: Successful pairing feedback () 2020-03-04 19:27:37 -05:00
Paulus Schoutsen 76fec90fec
Reduce log level for initial error and bump library version ()
* Reduce log level for initial error and bump library version

  * Use new buienradar library version which reduces the log level
    for some types of warnings.
  * Initially logs at a lower level and only logs at WARN for repeated
    errors.

This should serve to reduce confusion with users such as in
issue .

* Fix linter error with new linter settings.

* Fix linter warning

* Update homeassistant/components/buienradar/util.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-03-04 15:32:44 -08:00
Quentame 15a5cebd5f
Add icons to Coronavirus ()
* Add icons to Coronavirus

* Update homeassistant/components/coronavirus/sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-03-05 00:02:22 +01:00
Paulus Schoutsen 9a8017aadd
Add more Huawei LTE sensors ()
* Add Huawei LTE WiFi client count and DNS server sensors

* Add Huawei LTE current month statistics sensors
2020-03-04 14:56:37 -08:00
Paulus Schoutsen d1beb92c5d
Add abode support for CUE automations ()
* Add support for CUE automations

* Update requirements

* Minor update to string name
2020-03-04 14:54:28 -08:00
Paulus Schoutsen 2abdfc9da6
GeoNet NZ Quakes code improvements ()
* code quality improvements

* code quality improvements and fixed tests

* explicitly set unique ids

* improve unique id creation

* remove entities from entity registry

* added test for removing entities from entity registry

* revert entity registry handling from sensor and test code

* check for entity registry removal in geolocation test case

* make import absolute; isort

* change quality scale
2020-03-04 14:52:16 -08:00
Paulus Schoutsen dd7d8d4792
Remove 'show all controls' option for Plex () 2020-03-04 14:42:50 -08:00
Paulus Schoutsen 0e436ac80e
add const file for roku () 2020-03-04 14:24:59 -08:00
springstan c7d983fd44
Catch an extra error for Ring () 2020-03-04 23:09:54 +01:00
Daniel Høyer Iversen 0c0d4c460f
Upgrade Tibber library to 0.13.2 () 2020-03-04 22:48:00 +01:00
Pascal Vizeli 9aaab41985
Deprecate camera WS API () 2020-03-04 21:58:07 +01:00
Paulus Schoutsen 0763dc6089
Fix filter sensor processing states that aren't numbers ()
* lint

* only_numbers flag
2020-03-04 12:47:53 -08:00
Martin Hjelmare e9978e77bd
Upgrade huawei-lte-api to 1.4.10 ()
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.8
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.9
https://github.com/Salamek/huawei-lte-api/releases/tag/1.4.10
2020-03-04 20:51:56 +01:00
HomeAssistant Azure 104350265d [ci skip] Translation update 2020-03-04 18:13:24 +00:00
Alexei Chetroi 20333703c5
Remove ZHA attribute listening channel ()
* remove AttributeListeningChannel
* pull sleeps
* update signature to fix pylint
2020-03-04 13:11:53 -05:00
J. Nick Koston 7f91501a36
Use a requests Session for rest sensors ()
This avoids the ssl setup overhead for each request
2020-03-04 08:32:38 -08:00
Paulus Schoutsen b27c46750c
Update error handling in update coordinator () 2020-03-04 08:05:46 -08:00
z0p f62322cfb4
Add set_speed to smarty fan () 2020-03-04 10:09:33 +01:00
Raman Gupta 4f619691df
Add is_volume_muted property to vizio integration ()
* add is_muted property and update tests

* black

* manually set is_muted on async_mute_volume calls to set state early

* combine two lines into one

* set is_muted to None when device is not on
2020-03-04 10:04:52 +01:00
Alan Tse 6a6bf517fe
Add energy added attribute to Tesla charging rate sensor ()
* Add charge_energy_added attribute

* Bump teslajsonpy
2020-03-04 10:00:34 +01:00
Paulus Schoutsen 7678d66464
Fix device tracker TrackerEntity defaults () 2020-03-04 09:43:52 +01:00
Philipp Schmitt af76a336af
Update roombapy to 1.4.3 () 2020-03-04 09:41:34 +01:00
Austin Mroczek d666b15689
Bump total-connect-client to 0.53 () 2020-03-04 08:08:31 +01:00
Alan Tse f0c7a7c1bf
Fix too many device tracker updates in log for Tesla ()
* Fix Tesla too many device tracker updates in log

* Empty commit to re-trigger build

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-03-03 18:25:32 -08:00
Achilleas Pipinellis 7e3e4c1668
Fix pushover's ATTR_RETRY env variable typo () 2020-03-03 17:36:28 -08:00
Robert Svensson 02c8cd07f3
UniFi - Fix websocket bug () 2020-03-03 17:32:13 -08:00
Paulus Schoutsen 4cf86262af
Numeric state trigger: validate that above is not above below ()
* Numeric state trigger: validate that above is not above below

* Lint
2020-03-03 17:26:44 -08:00
Paulus Schoutsen db7d0eb9b9
Remove hassfest blacklisted rest ()
* Remove blacklisted deps from hassfest deps

* Whitelist all internal integrations
2020-03-03 13:57:09 -08:00
Paulus Schoutsen fed23030d6
Filter out duplicate logbook states () 2020-03-03 13:56:32 -08:00
Paulus Schoutsen 8f6651af3d
Update system log grouping () 2020-03-03 13:55:15 -08:00
Alexei Chetroi 896df9267a
Fix ZHA device healthcheck pings () 2020-03-03 13:37:17 -05:00
J. Nick Koston cfa61a6b74
Properly define dependency for pvoutput integration on rest in… () 2020-03-03 09:25:50 -08:00
J. Nick Koston 1119da7e8a
Flume Cleanups (unique id, fix missing timeout, http session,… ()
* Flume Cleanups

* Sensors now show the name

* include_devices and exclude_devices are now available in the config.

* Address review items

* bump as 0.3.0 is published
2020-03-03 09:22:26 -08:00
Jeff Irion 59b4e42f8b
Remove SUPPORT_PLAY_MEDIA from Roku () 2020-03-03 16:59:32 +01:00
Maciej Bieniek 2f8381b1bf
Bump brother library () 2020-03-03 16:59:02 +01:00
Paulus Schoutsen c62961f40c
Add unique ID to coronavirus () 2020-03-02 18:10:38 -08:00
mezz64 aacdc1bc2d
Catch Eight Sleep API errors, don't round None type ()
* Catch API errors, don't round None type

* Specify error type
2020-03-02 18:01:39 -08:00
Paulus Schoutsen fcbea47c74
Coronavirus updates ()
* Sort countries alphabetically

* Update sensor name

* Add migration to stable unique IDs

* Update sensor.py
2020-03-02 17:59:32 -08:00
Matt Snyder ee7ce47860
Add QVR Pro integration ()
* Initial working commit

* Create const file.  Load camera from component.

* Handle failed authentication.  Bump library version.

* Remove line break

* Camera attributes and recording services

* Add services, manifest, constant update, and exclude_channels.  Prefix channel name.  Update service argument.

* Update codeowners

* Update coveragerc

* Remove codeowners line

* Update codeowners again from python3 -m script.hassfest

* Update homeassistant/components/qvrpro/__init__.py

Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>

* Requested changes

* Fix typo

* Update to use exception. Bump library version.

* Support stream component

* Update module header

* Missing property wrapper

* Partial requested changes

* Update coveragerc and codeowners

* Move constants to const file.  Add SHORT_NAME

* Add conf variable

* Use camera domain

* More requested changes

* Requested changes

* Requested changes

* Update prefix

* Handle error condition when camera is not configured to support live streaming

* Move method to camera setup.  Disable stream component support.

* Move auth string to library to prevent private member access

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-03-03 01:10:02 +01:00
Paulus Schoutsen 1603f7ac21
Add coronavirus integration ()
* Add coronavirus integration

* Update homeassistant/components/coronavirus/manifest.json

Co-Authored-By: Franck Nijhof <git@frenck.dev>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-03-02 13:40:11 -08:00
David F. Mulcahey 2ba514253c
Bump ZHA Quirks to 0.0.34 ()
* bump zha quirks version

* add required parts to support alt opple remote
2020-03-02 11:26:37 -05:00
jjlawren df3f7687d4
Refactor Certificate Expiry Sensor ()
* Cert Expiry refactor

* Unused parameter

* Reduce delay

* Deprecate 'name' config

* Use config entry unique_id

* Fix logic bugs found with tests

* Rewrite tests to use config flow core interfaces, validate created sensors

* Update strings

* Minor consistency fix

* Review fixes, complete test coverage

* Move error handling to helper

* Subclass exceptions

* Better tests

* Use first object reference

* Fix docstring
2020-03-02 07:44:24 -06:00
kuchel77 eb90cefd84
Keeping adding in Github repositories after error () 2020-03-02 13:59:11 +01:00
J. Nick Koston 7ca4665711
Move keypad battery implementation details into py-august ()
* Move keypad battery implementation details into py-august

* Upgrade to py-august 0.22.0 which also adds gen2 doorbell battery data

* remove cruft from previous refactor
2020-03-01 23:22:28 -08:00
J. Nick Koston 924c313c8a
Add application/xml as an XML to JSON auto converted mime type… ()
* Resolves issue 
2020-03-01 23:22:01 -08:00
HomeAssistant Azure da959c8f7b [ci skip] Translation update 2020-03-02 00:31:47 +00:00
Daniel Høyer Iversen c361358c6d
Upgrade Tibber library to 0.13.0 () 2020-03-01 22:56:31 +01:00