Commit Graph

29684 Commits (b3691d5d907cafabf537d54c61789f2e513089e0)

Author SHA1 Message Date
Brett b3691d5d90
Improve timeout error handling for Splunk (#40384)
* Bugfix to catch asyncio.timeout

* Better asyncio.timeout warning message
2020-09-21 20:01:52 -05:00
HomeAssistant Azure 7c344fa0cd [ci skip] Translation update 2020-09-22 00:07:08 +00:00
Ville Skyttä 5e90a4d000
Use more state attribute name constants (#40428) 2020-09-21 23:03:39 +02:00
Tom Harris f78391ce2a
Bump pyinsteon to 1.0.8 (#40383) 2020-09-21 22:40:29 +02:00
Michael Thingnes bfbaa1e8bb
Validate Met.no forecast entries before passing them on to HA (#40400) 2020-09-21 21:56:08 +02:00
Maciej Bieniek 663245c351
Fix OSError (#40393) 2020-09-21 21:10:02 +02:00
On Freund 447446c565
Fix handling of empty ws port (#40399) 2020-09-21 20:27:00 +02:00
Martin Hjelmare 1d7754f160
Add supervisor add-on uninstall helper (#40413) 2020-09-21 19:25:06 +02:00
MatthewFlamm 31ece55c57
bump pynws to 1.3.0 (#40386) 2020-09-21 19:18:54 +02:00
Marvin Wichmann 3d6434be75
Use centralized KnxEntity for all KNX platforms (#40381) 2020-09-21 18:08:35 +02:00
Robin Wohlers-Reichel c13fbf795d
Update Solax Library to 0.2.4 (#40330) 2020-09-21 17:50:03 +02:00
Philip Allgaier 2a4d7dc561
Update voluptuous to 0.12.0 (#40401) 2020-09-21 10:43:35 -05:00
Julien Tant 8b9c757fdc
Add zodiac integration (#38935)
* add zodiac sign integration

* add tests & refacto

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* fix indentation from suggested correction, fix quality scale and remove useless functions

* fix code formatting

* Create const.py

* Update sensor.py

* Update const.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update sensor.py

* Update test_sensor.py

* Update __init__.py

* Update sensor.py

* Update test_sensor.py

* Update sensor.py

* Update __init__.py

* Update test_sensor.py

* Update __init__.py

* Fix zodiac time patch

* Delete sensor.fr.json

* Update sensor.py

* Delete sensor.en.json

* Update test_sensor.py

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-21 10:41:30 -05:00
Martin Hjelmare 2ef3dfb673
Fix supervisor get addon info (#40412) 2020-09-21 16:26:09 +02:00
Finbarr Brady 4aa9b72739
Remove myself as Luci code owner (#40398) 2020-09-21 14:10:39 +02:00
Josef Schlehofer 7cebfa75fc
Upgrade youtube_dl to version 2020.09.20 (#40395) 2020-09-21 10:49:16 +02:00
Martin Hjelmare a0df6ccb81
Add supervisor install add-on helper (#40138) 2020-09-21 10:28:24 +02:00
Chris Talkington 37e51aa166
Add reauth source constant for config entries (#40352) 2020-09-20 21:15:48 -05:00
uvjustin 8d3e4b6b3f
Ignore packets with missing dts in peek_first_pts (#40299) 2020-09-20 21:26:24 -04:00
HomeAssistant Azure 587e3f1eb2 [ci skip] Translation update 2020-09-21 00:02:47 +00:00
Chris Talkington 432911c994
Apply code review for canary config flow (#40355)
* apply code review for canary config flow

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update camera.py

* Update camera.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update __init__.py
2020-09-20 17:38:02 -05:00
Michael Thingnes 83b0954e58
Fix Met.no missing conditions in API forecasts (#40373) 2020-09-20 23:56:04 +02:00
Marvin Wichmann 45288431f9
Update xknx to 0.14.2 (#40304)
* Updates xknx to 0.14.0

* Review: Explicity add state attributes to weather device

* Review: Remove state attributes from weather device

* Review: Add `counter` as a state attribute to binary_sensors
2020-09-20 23:40:36 +02:00
springstan 0c077685b6
Use content type text plain constant (#40313) 2020-09-20 13:19:10 +02:00
Brett 4f5d3b4035
Rebuilt Splunk using custom library (#40123)
* Rebuilt Splunk using splunk_data_sender

* Fixing lint issues

* Apply suggestions from code review

Recommended Fixes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Moved to single send queue and fixed ssl verify

* Using coroutine and Asyncio.lock

* Changed to custom library hass_splunk

* Fixed "use_ssl" parameter

* Better error catching

* Better error log

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-20 11:22:43 +02:00
Ville Skyttä 167490b71c
Complete helpers.service type hints (#40193)
* Complete helpers.service type hints

* Update homeassistant/helpers/service.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Handle None entity.supported_features
2020-09-20 12:03:58 +03:00
HomeAssistant Azure 5dcaeebdac [ci skip] Translation update 2020-09-20 00:05:00 +00:00
Erik Montnemery a50f121011
Get option flow defaults from yaml for non configured MQTT options (#40177) 2020-09-19 22:10:01 +02:00
Alexei Chetroi a9168c04fd
Update ZHA dependencies (#40283) 2020-09-19 12:39:02 -04:00
Chris Talkington 6b317ced17
Update roku media browser classes (#40285)
* update roku media browser classes

this should allow proper icons to be shown vs plain directory

* Update test_media_player.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update browse_media.py

* Update test_media_player.py
2020-09-19 18:02:15 +02:00
SukramJ e300cf3747
Add binary_sensor for cloud connectivity to HomematicIP Cloud (#39675)
* Add binary_sensor for cloud connectivity to HomematicIP Cloud

* Fix Test

* Remove device_class

* Switch from _device to _home

* Switch from _device to _home for sensor
2020-09-19 10:59:46 -05:00
springstan b088830382
Add and use currency cent constant (#40261) 2020-09-19 10:34:54 -05:00
springstan 7de1fe7416
Use percentage constant in more integrations (#40165) 2020-09-19 10:30:22 -05:00
Ian Duffy 711ca6aff5
Add kodi browse media for channels (#40277)
* Add kodi browse media for channels

* Rename "TV Channels" to "Channels"
2020-09-19 17:14:20 +02:00
Chris Talkington 0c8b530aa2
Add device info to canary camera and sensors (#40053)
* add device info to canary sensors

* Update test_sensor.py

* Update sensor.py

* Update sensor.py

* Update test_sensor.py

* Create const.py

* Update sensor.py

* Update test_sensor.py

* Update sensor.py

* Update test_sensor.py

* Update camera.py

* Update camera.py

* Update sensor.py

* Update camera.py

* Update camera.py
2020-09-19 10:09:40 -05:00
Rob Bierbooms 467a001e1f
Fix error creating duplicate ConfigEntry upon import for rfxtrx (#40296) 2020-09-19 13:08:14 +02:00
jan iversen 9bd28306f6
Correct modbus switch to return correct coil (#40190) 2020-09-19 12:14:51 +02:00
Tom 5832184304
Add port to plugwise (#40017) 2020-09-19 12:08:16 +02:00
Franck Nijhof b175adae53
Add missing integration quality scale to tags integration (#40291) 2020-09-19 11:49:53 +02:00
Franck Nijhof 399661a7f4
Add missing integration quality scale to image integration (#40289) 2020-09-19 11:48:56 +02:00
springstan e330468a13
Use pressure constants in code base (#40262) 2020-09-19 09:26:08 +02:00
Chris Talkington f563068ce6
Add config flow to canary (#40055)
* Create config_flow.py

* Update config_flow.py

* work on config flow

* Update test_config_flow.py

* Update __init__.py

* Update camera.py

* Update test_config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update conftest.py

* Update test_config_flow.py

* Update test_init.py

* Update test_init.py

* Apply suggestions from code review

* Update camera.py

* Update test_init.py

* Update camera.py

* Update __init__.py

* Update test_init.py

* Update test_init.py

* Update __init__.py

* Update __init__.py

* Apply suggestions from code review

* Update __init__.py

* Update test_init.py

* Update __init__.py

* Update __init__.py

* Update config_flow.py

* Update test_config_flow.py

* Update config_flow.py

* Update config_flow.py
2020-09-18 23:22:19 -05:00
Greg Badros 94dfb66824
Make tplink SmartStrip communication more robust (#40281) 2020-09-19 04:48:19 +02:00
twdkeule 052e8f0983
Add Influxdb precision option (#38454) 2020-09-19 04:42:03 +02:00
HomeAssistant Azure 62c4e072f5 [ci skip] Translation update 2020-09-19 00:07:12 +00:00
Daniel Shokouhi cf89b8764b
Bump hangups to 0.4.11 (#40258) 2020-09-18 20:43:36 +02:00
Maikel Punie 1ba098508c
Update velbus to 2.0.45 (#40256) 2020-09-18 20:19:54 +02:00
timkoers 46b86f4a2f
Add UniFi Uptime sensor (#40058)
* Added UniFi Uptime sensor

Added the UniFi uptime data as a sensor. Untested.

* Update sensor.py

Updated code as a result of the tests.

* Changed timestamp format and device class

Converted state to iso timestamp and changed device class to DEVICE_CLASS_TIMESTAMP.

* Updated unit of measurement to None

* Added import

* Update homeassistant/components/unifi/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Removed whitespace

* Added the uptime sensors option to the config flow

* All the unit tests should be there now

* Whoops

* Fixed translation

* Properly formatted the code

* Flake8 really has angel eyes

* Black should also be satisfied now

* Should have satisfied all static code analysis tools

* Fixed add uptime sensor function

* Fixed overintendation

* Fixed unit tests

* Made a spelling mistake during editing of unit tests

* Test verifies if utc time is correct

* Converted to iso format

* Converted unit test to iso format

* Unit test sensor json had the wrong uptime name

* Added options_updated handler

* Fixed remove sensors unit test

* Update homeassistant/components/unifi/sensor.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Update homeassistant/components/unifi/sensor.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Update test_device_tracker.py

Removed uptime from the devices

* Fixed black formatting issue

* I think the code coverage should be good now

* Trying to add the sensors again

* Using signals to hopefully trigger the controller to add them again

* Forgot import

* Sorted components

* fixed isort comments

* Removed CLASS and DEVICE_CLASS

* Added TYPE again

* Removed double underscores

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2020-09-18 19:33:37 +02:00
Bram Kragten b25bb78916
Updated frontend to 20200918.0 (#40253) 2020-09-18 19:12:10 +02:00
Robert Van Gorkom 2858c8dcc7
Fix high CPU usage in vera integration. (#40249) 2020-09-18 17:39:12 +02:00