Commit Graph

21417 Commits (3261a904da4e3dd2254096370969d964e18b7cbc)

Author SHA1 Message Date
Markus Bong 224fd24898
Correct devolo climate devices (#40061) 2020-09-14 12:24:49 +02:00
Xiaonan Shen 1e5186fe94
Deprecate the synology integration (#39958)
* Deprecate the synology integration

* Add release to remove synology
2020-09-14 12:14:13 +02:00
rajlaud 6e6d6c65ef
Improve reproduce_state for media players (#38266) 2020-09-14 11:48:16 +02:00
Thomas Germain 3881e0cb23
Add temperature and uptime to Synology DSM (#39419)
Co-authored-by: Quentame <polletquentin74@me.com>
2020-09-14 09:42:37 +02:00
Ville Skyttä eb0af3752c
Add more SSDP discovery data and constants (#39984) 2020-09-14 09:18:09 +02:00
J. Nick Koston 2e1dbe51a4
Make system_log test reliable (#40049) 2020-09-14 08:48:59 +02:00
J. Nick Koston c19b5c5ac3
Make recorder block_till_done reliable (#40043) 2020-09-14 08:48:29 +02:00
Chris Talkington 056e712667
Add device class to canary sensors (#40050)
* add device class to canary sensors

* Update test_sensor.py

* Update sensor.py

* Update sensor.py
2020-09-13 21:29:59 -05:00
HomeAssistant Azure 9acceda0f8 [ci skip] Translation update 2020-09-14 00:04:10 +00:00
Chris Talkington 9511103e26
Add unique_id to canary alarm_control_panel (#40041)
* add unique_id to canary alarm_control_panel

* Update test_alarm_control_panel.py

* Update alarm_control_panel.py

* Apply suggestions from code review

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-13 18:52:40 -05:00
Aidan Timson ae8c9d82bc
Mark Azure DevOps device as a service (#40044) 2020-09-13 18:22:33 -05:00
J. Nick Koston 7b016063ca
Refactor zeroconf setup to be async (#39955)
* Refactor zeroconf setup to be async

Most of the setup was calling back to async because
we were setting up listeners.  Since we only need
to jump into the executor to create the zeroconf
instance, its much faster to setup in async.

In testing this cut the setup time in half
or better.

* partial revert to after_deps
2020-09-13 18:06:19 -05:00
J. Nick Koston 46f9c0fb8a
Update phrasing and pin validation for homekit_controller (#40006) 2020-09-13 15:26:04 -05:00
springstan 1f8c1f151d
Fix requiring username or password for nzbget yaml config (#40003) 2020-09-13 22:04:48 +02:00
J. Nick Koston 36ce8ba79e
Ensure homekit_controller traps exceptions from find_ip_by_device_id (#40030) 2020-09-13 21:55:49 +02:00
AJ Schmidt c32f698671
Add Config Flow to AlarmDecoder (#37998) 2020-09-13 12:29:25 -05:00
Chris Talkington 17efa1bda5
Improve canary tests (#39956) 2020-09-13 11:32:41 -05:00
springstan da19854520
Fix slack notifications requiring an icon (#40027) 2020-09-13 10:23:50 -06:00
springstan fc1fb0ab7c
Revert 'Use STATE_UNKNOWN constant in dlink and ecobee' (#40022) 2020-09-13 17:11:24 +02:00
J. Nick Koston f3d50e2104
Do not log an error when a host is unreachable while pinging (#40024) 2020-09-13 16:44:37 +02:00
springstan 621526bbae
Use moisture and moving device class in various integrations (#39963) 2020-09-13 16:33:54 +02:00
Robert Svensson ceeea52915
Improve handling of mireds being far out of spec (#40018) 2020-09-13 16:31:39 +02:00
J. Nick Koston 84578f515d
Suppress homekit bridge discovery by homekit controller (#39990) 2020-09-13 09:12:10 -05:00
Joakim Sørensen 1d12d4d54c
Bump pyhaversion to 3.4.0 (#40016) 2020-09-13 11:30:51 +02:00
Bouwe Westerdijk eac9c3c4f2
Ensure Plugwise unique_id is correctly set (#40014)
* Ensure unique_id is correctly set

* Removed unnec. line

Co-authored-by: Tom Scholten <git@scholten.nu>
2020-09-13 11:02:49 +02:00
Xiaonan Shen e3c51f0350
Fix xiaomi_aqara duplicated battery sensors (#39961) 2020-09-13 08:44:32 +02:00
Quentame bab4ad4f17
Add timeout config option to Synology DSM (#40000) 2020-09-12 20:36:39 -05:00
HomeAssistant Azure b05c88f1bc [ci skip] Translation update 2020-09-13 00:04:18 +00:00
Quentame 13df452dd4
Fix Freebox call sensor when no call in history (#40001) 2020-09-13 01:13:57 +02:00
Jeff Irion 285408b46c
Bump androidtv to 0.0.50 (#39998) 2020-09-12 23:53:41 +02:00
springstan e55035b2f9
Use DEVICE_CLASS_MOTION in various integrations (#39962) 2020-09-12 16:20:30 -05:00
Joakim Sørensen 02cb592917
Bump frontend to 20200912.0 (#39997) 2020-09-12 16:18:48 -05:00
Simone Chemelli ca26c8bbd7
Shelly: Power and Energy sensors in roller mode (#39709) 2020-09-12 22:31:01 +02:00
uvjustin b0ba0e77f8
Remove skip_sidx container option in stream (#39970)
* Remove skip_sidx container option

* Add comment
2020-09-12 15:19:37 -04:00
springstan 827711bcd1
Use problem, presence and plug device class constants in various integrations (#39973) 2020-09-12 13:23:24 -05:00
springstan 3d4ef8cfe1
Use connectivity device class constant in various integrations (#39972) 2020-09-12 13:21:57 -05:00
springstan cee96ae207
Use opening and occupancy device class in various integrations (#39965) 2020-09-12 18:07:13 +02:00
jjlawren 4c0f075d6a
Fix children_media_class for special folders (#39974) 2020-09-12 15:54:00 +02:00
Josef Schlehofer 6b966e2c47
Upgrade youtube_dl to version 2020.09.06 (#39969) 2020-09-12 14:58:29 +02:00
springstan 1bb5d4754f
Use DEVICE_CLASS_DOOR and DEVICE_CLASS_SMOKE in various integrations (#39950) 2020-09-12 07:35:24 -05:00
On Freund cf6b84790f
Handle Kodi shutdown (#39856)
* Handle Kodi shutdown

* Core review comments

* Make async_on_quit a coroutine
2020-09-12 14:22:14 +02:00
J. Nick Koston aaa8083d49
Change template loop detection strategy to allow self-referencing updates when there are multiple templates (#39943) 2020-09-12 14:20:21 +02:00
Bram Kragten fbf0e69558
Add children media class to children spotify media browser (#39953) 2020-09-12 10:35:51 +02:00
springstan f93c0c5cd3
Use DEVICE_CLASS_WINDOW constant in various integrations (#39949) 2020-09-11 21:24:23 -05:00
springstan ac2e290d97
Use sound, vibration and safety device class constants in various integrations (#39952)
* Use sound, vibration and safety device class constants in various integrations

* Fix wrong imports
2020-09-11 19:37:33 -05:00
HomeAssistant Azure ee5c1ea3f7 [ci skip] Translation update 2020-09-12 00:05:00 +00:00
Xiaonan Shen 4e10895a19
Remove unchecked return value in synology_dsm (#39929) 2020-09-11 15:14:22 -05:00
springstan 719aa0f317
Use STATE_UNKNOWN constant in dlink and ecobee (#39948) 2020-09-11 15:05:07 -05:00
Martin Hjelmare 50c573eb4d
Activate hassfest requirements CI check (#39940)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-11 21:38:32 +02:00
Greg Dowling f1cb8e80b3
Bump pyloopenergy library to 0.2.1 (#39919) 2020-09-11 20:47:48 +02:00
Jc2k 988a467afd
Device automation triggers for stateless HomeKit accessories (#39090)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-11 13:34:07 -05:00
J. Nick Koston 741487a1fc
Return the listeners with the template result for the websocket api (#39925) 2020-09-11 13:18:40 -05:00
uvjustin 9b29d09d45
Set output timescale to input timescale (#39946) 2020-09-11 14:07:45 -04:00
Quentame 062ac5f27d
Fix missing position attribute for MeteoFranceAlertSensor (#39938) 2020-09-11 16:50:17 +02:00
Bas Nijholt c2a9a39ee0
Don't trigger on attribute when the attribute doesn't change (#39910)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 14:02:17 +02:00
Marvin Wichmann 8ea8969d80
Warn users if KNX has no devices configured (#39899)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-11 13:09:31 +02:00
Martin Hjelmare e96fed20c8
Add children media class (#39902)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-11 13:08:13 +02:00
Paulus Schoutsen 5117a16841
Extract variable rendering (#39934) 2020-09-11 12:24:16 +02:00
J. Nick Koston 9389a7c9be
Limit zeroconf discovery to name/macaddress when provided (#39877)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-11 12:19:21 +02:00
J. Nick Koston 487a74ba5d
Update zeroconf to 0.28.5 (#39923) 2020-09-11 07:15:13 +02:00
HomeAssistant Azure 39d441a29b [ci skip] Translation update 2020-09-11 00:09:17 +00:00
J. Nick Koston bf1ad0a757
Prevent missing integration from failing HomeKit startup (#39918) 2020-09-10 23:19:11 +02:00
Paulus Schoutsen cfc020daa2
Bump aioshelly to 0.3.1 (#39917) 2020-09-10 23:07:23 +02:00
uvjustin 4ee5a29bc0
Disable audio for HLS or mpegts input (#39906) 2020-09-10 15:55:55 -04:00
Xiaonan Shen b66aaeea99
Add camera support to synology_dsm (#39838)
* Add camera support to synology_dsm

* Code improvements

* More code improvements
2020-09-10 21:08:37 +02:00
Erik Montnemery 4d6e694d14
Fix discovery update of MQTT state templates (#39901) 2020-09-10 20:52:23 +02:00
J. Nick Koston fd8a4182d9
Detect self-referencing loops in template entities and log a warning (#39897) 2020-09-10 20:50:11 +02:00
Franck Nijhof bedc1e5672
Upgrade numpy to 1.19.2 (#39912) 2020-09-10 20:47:15 +02:00
J. Nick Koston 047dc19351
Add zeroconf discovery to homekit (#39907)
Ensures HomeKit Bridge is offered for onboarding if
homekit is detected on the network.
2020-09-10 20:44:11 +02:00
Paulus Schoutsen aa9dff572e
Add default variables to script helper (#39895) 2020-09-10 20:41:42 +02:00
J. Nick Koston b5005430be
Fix ping log level to be debug instead of warning (#39900) 2020-09-10 12:10:43 -04:00
Joakim Sørensen 0cce35b23e
Add exception for NoURLAvailableError in OAuth2FlowHandler (#39845)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-10 14:52:49 +02:00
RogerSelwyn 162c39258e
Add Carbon Monoxide binary sensor to Homekit Controller (#39889) 2020-09-10 12:25:14 +01:00
Paulus Schoutsen 35a9106a4b
Shelly switch to guard for shelly 2 in roller mode (#39886) 2020-09-10 12:08:17 +02:00
Bram Kragten b49e6243d1
Fix spotify media browser category (#39888) 2020-09-10 12:06:18 +02:00
Paulus Schoutsen bb661ad083
Fix event trigger (#39884)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-10 11:25:56 +02:00
Pascal Vizeli 7b3369b71d
Bump hass-nabucasa 0.37.0 (#39885) 2020-09-10 11:18:43 +02:00
bsmappee 8648d8d012
Bump pysmappee to 0.2.13 (#39883) 2020-09-10 10:27:07 +02:00
Marius a6a011ec19
Use entity_class 'safety' in synology_dsm storage sensors (#39757)
* Use entity_class: 'safety' in storage sensors

and more meaningful icons then 'mdi:test-tube', not sure if these are even necessary, given the device_class that defines the icons too?

* Set device_class, not icon

Still, the temperature sensors have both set, should I take these out in this go too? While we're at it....

* added device_class temperature to temp sensors

and removed explicit icons
do we need to set a D_c also on the Status sensor? line 187

* revert device_class Safety

which is now set in const.py
following up on https://github.com/home-assistant/core/pull/39757#pullrequestreview-483705147

* Use DEVICE_CLASS_SAFETY from const

+ revert temp to avoid conflict

* const from binary

* reverted non binary status sensors

to use: "mdi:checkbox-marked-circle-outline" and set None to device_class

Co-authored-by: Quentame <polletquentin74@me.com>
2020-09-10 09:21:51 +02:00
Franck Nijhof b70df4ab18
Disable Met.no hourly weather by default (#39867)
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2020-09-10 07:58:40 +02:00
HomeAssistant Azure 6e79d49c80 [ci skip] Translation update 2020-09-10 00:04:20 +00:00
Sören Oldag 1f75f61bb0
Bump pyTibber to 0.15.2 (#39870) 2020-09-10 00:52:27 +02:00
Franck Nijhof 1a12611117
Upgrade sentry-sdk to 0.17.4 (#39868) 2020-09-10 00:49:54 +02:00
Aaron Bach 0e11c10468
Prompt user to reauthenticate AirVisual when API key expires (#38341)
* Prompt user to reauthenticate AirVisual when API key expires

* Don't version bump

* Cleanup

* Linting
2020-09-09 16:41:07 -06:00
Joakim Sørensen 94b4824c27
Updated frontend to 20200909.0 (#39869)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-10 00:32:49 +02:00
Chris Talkington a918981ff3
Improve Roku media browser structure (#39754)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-09 23:22:26 +02:00
Martin 9c40b511f2
Updated warning_device_warn (#39851)
duty_cycle: spec says in inrements of 10
duration: its a 16 bit field
2020-09-09 22:30:40 +02:00
Martin Hjelmare e6bc48ab68
Remove media class apps and channels (#39864) 2020-09-09 22:19:52 +02:00
Jason Hunter 9358b5089e
Sort Local Media Source and fix media class (#39858) 2020-09-09 22:19:30 +02:00
J. Nick Koston b7ad83c655
Use a unique id for each icmplib ping to avoid mixing unrelated responses (#39830) 2020-09-09 22:19:14 +02:00
Alexei Chetroi b0b0b15d9d
Update ZHA dependency (#39862) 2020-09-09 15:08:55 -04:00
Colin Frei 5fd059a3b6
Use correct URL for Fitbit callbacks (#39823) 2020-09-09 20:19:37 +02:00
Chris 1f000e2c3e
Allow setting of hvac_mode when setting temperature in ozw (#39853) 2020-09-09 17:08:43 +02:00
Chris Talkington 74219663d6
Fix nzbget sensors (#39833)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-09 14:56:40 +02:00
Martin Hjelmare be04f14a78
Make spotify media class lookup more robust (#39841) 2020-09-09 14:48:28 +02:00
cgtobi 4f342eae27
Fix Kodi media browser (#39840)
* Refactor

* Make linter happy

* Only return at the end

* Handle exception
2020-09-09 14:12:11 +02:00
Philip Allgaier 8185ddf9a1
Add systemmonitor check for mandatory "arg" of sensors (#39687)
* Added check for mandatory "arg" of sensors

* Make pylint happy

* Moved to vol validator function for "arg" checks

* Make pylint happy once again

* Adjustments from code review
2020-09-09 12:57:24 +02:00
HomeAssistant Azure 90892d275c [ci skip] Translation update 2020-09-09 00:03:44 +00:00
cgtobi 1c4951a8d7
Fix Kodi media browser (#39829)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-08 23:42:45 +02:00
Quentame 95a33ba894
Bump Synology DSM to 0.9.0 (#39819) 2020-09-08 23:38:41 +02:00
Maciej Bieniek 748e2696dc
Add missing sensors after reworking sensor platform in Shelly integration (#39765) 2020-09-08 23:22:44 +02:00
Bram Kragten a45f5c7831
Update frontend to 20200908.0 (#39824) 2020-09-08 23:17:30 +02:00
Erik Montnemery 9aba1985c7
Fix MQTT light value template (#39820) 2020-09-08 23:11:42 +02:00
Franchie 066a418518
Avoid failing when hub does not provide cover position information (#39826)
The powerview hub, seemingly randomly, will occasionally not
provide data for cover positions. Some requests will return the
desired response, but minutes later the same request might not.

It appears this issue is being experienced by a number of people:
https://community.home-assistant.io/t/hunter-douglas-powerview-component-expanding-this-api/88635/48

While an unfortunate bug with the hub, crashing the integration
as a result of this missing data appears somewhat excessive.
This patch adds a simple check to ensure the 'position' key
has been returned by the hub before attempting to access its
data.
2020-09-08 16:00:38 -05:00
J. Nick Koston 8adfcf23f0
Fix isy994 send_node_command (#39806) 2020-09-08 17:31:08 +02:00
J. Nick Koston 4bbd69955b
Restore missing device_class to template binary_sensor (#39805) 2020-09-08 17:12:23 +02:00
J. Nick Koston 0507ec9d8b
Fix cover template entities honoring titlecase True/False (#39803) 2020-09-08 17:08:31 +02:00
Martin Hjelmare 586d7eaba6
Add media class browse media attribute (#39770) 2020-09-08 16:42:01 +02:00
Emilv2 a695dc20fd
Bump pydelijn to 0.6.1 (#39802) 2020-09-08 16:18:34 +02:00
Franck Nijhof 8e4710a2a9
Remove deprecated Hue configuration (#39800) 2020-09-08 15:52:04 +02:00
Paulus Schoutsen c6cba5ebc8
Remove HTML support from frontend (#39799) 2020-09-08 15:42:50 +02:00
Paulus Schoutsen 5bcffba53e
Guard for spotify items without type (#39795)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-08 15:23:29 +02:00
Paulus Schoutsen 1e2741ff1b
Some shelly fixes (#39798) 2020-09-08 15:12:20 +02:00
cgtobi 973524a4e6
Fix Sonos issue (#39790) 2020-09-08 14:13:48 +02:00
Bas Nijholt fa1a53cdeb
Restore miflora now that v0.7.0 is out (#39787)
* add miflora again, reverts part of github.com/home-assistant/core/pull/37707

* edit CODEOWNERS
2020-09-08 13:50:53 +02:00
Franck Nijhof 401002dcd4
Remove invalidation version from panel_custom (#39782) 2020-09-08 11:59:39 +02:00
Andreas Rehn c68056d3ad
Add missing EDL21 OBIS codes (#39714) 2020-09-08 10:40:05 +02:00
Simone Chemelli 0c8630a2f0
Support shelly cover(roller) mode (#39711)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-08 10:35:01 +02:00
J. Nick Koston a495946eeb
Add the ability to reload bayesian platforms from yaml (#39771) 2020-09-08 09:41:17 +02:00
Tom bb9ea7ce6e
Add tests for Plugwise integration (#36371) 2020-09-08 08:37:44 +02:00
HomeAssistant Azure 07d5af1969 [ci skip] Translation update 2020-09-08 00:04:13 +00:00
Martin Hjelmare 38834d1945
Fix plex browse media (#39766) 2020-09-07 22:58:21 +02:00
Martin Hjelmare c3ee79e4db
Clean up spotify media browser dict access (#39764) 2020-09-07 22:17:10 +02:00
Bram Kragten 72b392e853
Update frontend to 20200907.0 (#39761) 2020-09-07 21:32:13 +02:00
Bram Kragten d0e44893f5
Local media source: return different error if media folder doesnt exist (#39759) 2020-09-07 20:38:06 +02:00
David F. Mulcahey be8aa16170
Don't poll entities for unavailable ZHA devices (#39756)
* Don't poll entities for unavailable ZHA devices

* Update homeassistant/components/zha/entity.py

Co-authored-by: Bas Nijholt <basnijholt@gmail.com>

* cleanup after accepting suggestion

Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
2020-09-07 13:52:00 -04:00
Bas Nijholt 36a1877cbd
Add missing MENU option for webos.button service (#39746)
See all button options at https://github.com/bendavid/aiopylgtv/blob/master/aiopylgtv/buttons.py.
2020-09-07 19:24:06 +02:00
On Freund 78dbd090b5
Update pykodi to 0.1.2 (#39758) 2020-09-07 13:15:00 -04:00
Bram Kragten 4b01ab616a
Timer make attribute format always h:mm:ss (#38292)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-07 19:12:52 +02:00
cgtobi ef8cdf0405
Add Kodi media browser support (#39729)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-07 18:22:20 +02:00
Marijn Pool c11b88b4c2
Remove remaining and add finishes_at attributes from timer (#37519) 2020-09-07 18:08:46 +02:00
Philip Allgaier 84992da24a
Make Spotify library payload use "BrowseMedia" (#39744) 2020-09-07 17:52:35 +02:00
Tomasz ae5d8f4d64
Support color temperature (#39743)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-07 17:29:51 +02:00
Martin Hjelmare fc2cddc452
Fix netatmo browse_media return type (#39751) 2020-09-07 16:57:22 +02:00
Franck Nijhof 7c86fa0203
Support 'for' without setting the 'to'-state in automation state triggers (#39730) 2020-09-07 16:30:02 +02:00
J. Nick Koston 8c96eb7c56
Retry tado setup later when cloud service is unavailable (#39748) 2020-09-07 16:16:29 +02:00
Anders Melchiorsen 4b84b74b89
Support state trigger with from/for but no to (#39480) 2020-09-07 16:08:24 +02:00
Chris Talkington 8a3279a5c9
Add device action support for remotes (#39400) 2020-09-07 08:54:18 -05:00
Markus Bong 7c56ee8e0c
Add devolo remote devices as binary sensors (#39105) 2020-09-07 08:48:14 -05:00
Markus Bong 007873153e
Add devolo current and total consumption to sensors (#38386) 2020-09-07 07:24:05 -05:00
Paulus Schoutsen b07628ae57
Rework Shelly sensors (#39747)
* Rework Shelly sensors

* Lint

* Add shelly/entity to coveragerc
2020-09-07 14:13:20 +02:00
Bram Kragten 90c6e1c449
Fix cast media player browser (#39745) 2020-09-07 13:44:10 +02:00
Tom 5b5b57b810
Bump Plugwise_Smile from 1.1.0 to 1.4.0 (#39726)
* Provisional commit to test latest pre-release of module

* Bump version to release
2020-09-07 13:17:22 +02:00
cgtobi 21dbce1554
Make Sonos use BrowseMedia (#39742) 2020-09-07 11:24:31 +02:00
RogerSelwyn 2bd2dcb50a
Bump pyskyqhub to 0.1.3 (#39739)
To fix issue - https://github.com/RogerSelwyn/skyq_hub/issues/4 - where tests (and manage) modules includes in pypi package
2020-09-07 10:36:37 +02:00
Chris 12cc158b64
Remove ozw lock service for loops, replace with get_value() (#39735) 2020-09-07 08:39:23 +02:00
Alexei Chetroi cd0195a27a
Update ZHA dependencies (#39700)
* Update ZHA dependencies
* Update zigpy-zigate
* Move ZNP on top of the radios so it's probed 1st

Some stick don't like if there was some unexpected traffic on the port
prior the initialization.

* Update dependencies
2020-09-06 23:10:15 -04:00
pbalogh77 3a36a789ad
Improve climate support for fibaro (#39038)
* Fibaro climate improvements

1, Implemented support for multinode climate devices, such as Danfoss HC10, differentiating zones based on endPointId
2, Improved recognition of temperature sensor subdevice for climate devices
3, Changed default opmode for devices without an opmode to "auto" instead of "fan_only", for better clarity and to avoid misunderstandings

* pylint inspired code restructuring to reduce depth

gotta love pylint
2020-09-06 21:03:03 -05:00
Andrew Marks d0af3339fc
Add unique_id to jewish_calendar entities (#39025) 2020-09-06 20:29:17 -05:00
HomeAssistant Azure c74f187b1f [ci skip] Translation update 2020-09-07 00:03:02 +00:00
J. Nick Koston 4779916ac4
Set DEVICE_CLASS_GATE for iSmartGate gates (#39703) 2020-09-06 18:55:20 -05:00
Jason Hunter 1a78d96014
allow creating directories from camera snapshot, stream record, and tensorflow file out (#39728) 2020-09-06 18:54:24 -04:00
Chris 165dd351b7
Fix some missing ozw sensors (#39686) 2020-09-07 00:04:55 +02:00
Robert Svensson 41abc08d63
Axis - Improve naming of some events (#39699)
* Add support for events from Loitering guard and Motion guard
* Improve naming of events originating from applications Fence guard and VMD4 (Loitering guard and motion guard also benefit from this)
2020-09-06 23:26:06 +02:00
J. Nick Koston 251d8919ea
Add domain filter support to async_all to match async_entity_ids (#39725)
This avoids copying all the states before applying
the filter
2020-09-06 23:20:32 +02:00
Bram Kragten 19818d96b7
Spotify browser add more sources (#39296)
Co-authored-by: Tobias Sauerwein <cgtobi@gmail.com>
2020-09-06 22:55:29 +02:00
Ville Skyttä f828cdcaef
Fix setup of ONVIF devices without snapshot capability (#39723)
* Fix setup of ONVIF devices without snapshot capability

* Unrelated debug message typo fix
2020-09-06 16:52:06 -04:00
Philip Allgaier dd00cfc7a2
Fix media browser panel title (#39720) 2020-09-06 16:48:07 -04:00
J. Nick Koston e649e27d4d
Bump zeroconf to resolve a performance issue with the cache reaper (#39713)
https://github.com/jstasiak/python-zeroconf/pull/297
2020-09-06 22:40:27 +02:00
Bouwe Westerdijk 61e8ab1300
Add Plugwise scan_interval config option (#37229)
Co-authored-by: Tom Scholten <tom@sue.nl>
Co-authored-by: Tom Scholten <git@scholten.nu>
2020-09-06 15:26:14 -05:00
David F. Mulcahey f2d21ea735
Update ZHA storage every 10 minutes (#39710) 2020-09-06 15:00:28 -04:00
fillefilip8 8af64456ec
Add number parsing for OpenHardwareMonitor (#39030) 2020-09-06 20:49:54 +02:00
uvjustin c9a4deb118
Set log level for libav.mp4 in stream (#39719)
Also add @uvjustin to codeowners
2020-09-06 20:46:36 +02:00
J. Nick Koston d7e471e244
Add HomeKit discovery for iSmartGate (#39702) 2020-09-06 12:56:38 -05:00
Maciej Bieniek f29154011e
Bump aioshelly library to 0.3.0 (#39716) 2020-09-06 10:34:51 -05:00
kennedyshead af47a94e70
Update py-melissa-climate to 2.1.4 (#39708)
* Bumping melissa version

Took 48 minutes

* Black

Took 6 minutes

Co-authored-by: magnusknutas <magnus@thefarm.se>
2020-09-06 10:22:52 -05:00
Simone Chemelli f298281ec4
Make multi-switches device a single device with 2 switches (#39689)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-06 16:05:10 +02:00
Paulus Schoutsen df8daf561e
Browse media class (#39698) 2020-09-06 15:52:59 +02:00
Chris Talkington 13a6aaa6ff
Add media browser support to roku (#39652)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-06 14:53:45 +02:00
Martin Hjelmare 405311e89f
Bump pytradfri to 7.0.2 (#39707) 2020-09-06 12:01:14 +02:00
Jason Hunter 3b88452b2f
Upgrade TensorFlow to 2.3 (#39673) 2020-09-06 10:12:36 +02:00
HomeAssistant Azure 2f0138e891 [ci skip] Translation update 2020-09-06 00:03:25 +00:00
Martin Hjelmare f584e3f689
Bump pytradfri to 7.0.1 (#39696) 2020-09-06 00:36:32 +02:00
Simone Chemelli 1fffa748e5
Improve handling of DHCP devices (#39683) 2020-09-06 00:17:10 +02:00
Joakim Plate 74fea6d306
Add Arcam radio media browsing (#39593) 2020-09-06 00:10:18 +02:00
Martin Hjelmare b6630a48b2
Add tradfri api call error handling (#39681)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-05 23:02:32 +02:00
Joakim Plate 29c1bec0f3
Match documentation on expose being default True (#39692) 2020-09-05 21:49:33 +02:00
MatthewFlamm 958c9c08d6
Use more homeassistant constants in NWS (#39690) 2020-09-05 21:11:15 +02:00
springstan d2b1918e9c
Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
Egor Shilyaev cdc93d7110
Fix for starline authorization (#39674) 2020-09-05 16:40:39 +02:00
Robert Van Gorkom b860caa631
Add iSmartGate support (#39437)
* Add iSmartGate support.

* Addressing PR feedback.

* More PR feedback cleanups.
2020-09-05 09:26:01 -05:00
Keilin Bickar 3022fc4702
Add Emulated Kasa Integration (#39630)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-05 07:57:45 -05:00
Rob Bierbooms 8567fe94e1
Add connection validation on import for dsmr integration (#39664) 2020-09-05 12:05:46 +02:00
Nishchith Shetty 3565fec005
Add parameters for enabling Auth in Apache Kafka integration (#39611) 2020-09-05 10:44:30 +02:00
Philip Allgaier 7be5ef8b6c
Improve systemmonitor (#36283)
* Improvements for systemmonitor

* Use MDI CPU icon (bit architecture determined at runtime)
* Consistent usages of "percent" (ensured backwards compatibility by explicity setting the entity_id)
* Default value "/" (root) for disk_* sensors to prevent runtime issues if not specified in configuration

* Added CPU temperature sensor to systemmonitor

* Code streamlining of CPU temperature retrieval

* Corrected sensor state handling and added "available" logic

* Corrected ENTITY_ID to include argument

* Optimized "available" handling & CPU temperature detection

* Corrected tuple for CPU temperature determination

* - Do not create CPU temperature entity if no sensor data can be read
- Re-use temperature sensor labels from "glances" integration

* Array fix

* Corrected sensor array access

* Handle empty temperature sensor labels (same logic as used by "glances")

* PR comments: Setting unique_ID and f-strings

* Removed unused constants

* Revert entity rename (wait until next release)
2020-09-05 05:51:18 +02:00
HomeAssistant Azure 2183ff5906 [ci skip] Translation update 2020-09-05 00:04:17 +00:00
Evgeny b0192cf9c0
Add OpenWeatherMap config_flow (#34659)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-04 18:22:50 -05:00
Maciej Bieniek 1e770f089d
Bump accuweather library (#39667) 2020-09-04 18:01:49 -05:00
Maciej Bieniek 8b4847162d
Bump gios library (#39669) 2020-09-04 18:01:34 -05:00
Jason Hunter 706f1f8a66
Register media browser panel (#39655)
* register media browser panel

* Apply suggestions from code review.

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>

* Update homeassistant/components/media_source/__init__.py

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>

Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2020-09-05 00:28:53 +02:00
Bram Kragten ab2d171909
Updated frontend to 20200904.0 (#39665) 2020-09-05 00:23:20 +02:00
RogerSelwyn 0d3396ed64
Add mac address to sky_hub tracker (#39506)
* Add mac address to Sky_Hub tracker

* Update manifest.json

* Update device_tracker.py

* Update device_tracker.py

* Update device_tracker.py

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-04 15:31:06 -05:00
Andrew Marks 01bac9f433
Refactor sharkiq tests (#39564)
* Refactor sharkiq tests

* Fix linting

* Remove unussed logger

* Test one more code branch

* Don't patch integration files

* Remove legacy calls

* Linting fixes

* Refactor coordinator update tests

* Reformat test params

* Refector config flow tests

* Minor code cleanup

* Fix spelling error

* Address review

* Minor formatting change

* Remove vacuum.py from .coveragerc
2020-09-04 15:13:11 -05:00
Joakim Plate 1cb60dd5c7
Replace old source prefixing for channels with new media browser (#39596)
* Replace old source prefixing for channels with new media browser

* Restore support to call select source with prefix

* Drop warning log for deprecated call method
2020-09-04 22:12:31 +02:00
Charles Garwood 4885b22cb4
Improve ozw websocket response when node is not found (#39653)
* Return not_found error over ws if node is not found

* Remove unrelated code from this PR

* Only import ERR_NOT_FOUND from core websocket_api
2020-09-04 15:52:47 -04:00
Chris Talkington 1fb70625a3
Prevent mpchc from spamming logs (#39663) 2020-09-04 14:22:50 -05:00
On Freund ad6e8b2d62
Add event sensors for risco (#39594)
* Add Risco event sensors

* Fix lint
2020-09-04 14:11:07 -05:00
J. Nick Koston 9b23d7c2fd
Use the shared Zeroconf instance in esphome (#38747) 2020-09-04 21:01:41 +02:00
Rob Bierbooms 7f7a0003c7
Address review comments on dsmr update to ConfigEntry (#39662) 2020-09-04 20:56:22 +02:00
kennedyshead 767be18265
Bumping aioasuswrt version so that it have license-tag and manifest (#39654)
Took 32 minutes

Co-authored-by: magnusknutas <magnus@thefarm.se>
2020-09-04 14:52:44 -04:00
cgtobi 84944cfc24
Add Netatmo media browser support (#39578) 2020-09-04 20:21:42 +02:00
Greg Dowling 08d5175d05
Improve handling of roon radio data (#39659) 2020-09-04 13:19:18 -05:00
Keilin Bickar 05e15dc318
Add unique ID to demo fan (#39658) 2020-09-04 11:23:53 -05:00
Maciej Bieniek f1ee11cb14
Bump brother library (#39657) 2020-09-04 11:21:23 -05:00
Jason Hunter f2b3e63ff6
Media Source implementation for Chromecast (#39305)
* Implement local media finder and integrate into cast

* update to media source as a platform

* Tweak media source design

* fix websocket and local source

* fix websocket schema

* fix playing media

* Apply suggestions from code review

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

* Add resolve_media websocket

* Register that shit

* Square brackets

* Sign path

* add support for multiple media sources and address PR review

* fix lint

* fix tests from auto whitelisting config/media

* allow specifying a name on the media source

* add tests

* fix for python 3.7

* Apply suggestions from code review

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

* add http back to cast and remove guess_type from executor as there is no i/o

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-04 11:16:29 -04:00
jjlawren f01a0f9151
Allow separate URL for REST switch state (#39557) 2020-09-04 16:58:40 +02:00
J. Nick Koston ebc31c0f08
Do not treat nexia http not found as invalid auth (#39484)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-04 16:54:27 +02:00
jjlawren 55040cfde5
Reduce log level for Plex service call (#39647) 2020-09-04 16:47:39 +02:00
Maciej Bieniek 0b7576b634
Add some missing sensors for Shelly integration (#39651) 2020-09-04 16:42:57 +02:00
Markus Bong fa1b8c824c
Add devolo thermostat devices (#38594)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-04 08:33:54 -05:00
Oscar Calvo 08d93b8349
Make resilient to errors while receiving SMS (#37577) 2020-09-04 12:48:15 +02:00
Hmmbob 60c7a91794
Add payload to debug output of rest_command (#39190) 2020-09-04 12:39:26 +02:00
Maciej Bieniek ad3e520e09
Fix sensors without unit attribute in Shelly integration (#39629) 2020-09-04 11:44:22 +02:00
Franck Nijhof 8fd9f56d21
Upgrade wled to 0.4.4 (#39641) 2020-09-04 11:33:31 +02:00
jjlawren dd7f282723
Add new Plex movie lookup method for media_player.play_media (#39584) 2020-09-04 11:32:36 +02:00
Franck Nijhof fdb737d1d9
Upgrade isort to 5.5.0 (#39639) 2020-09-04 09:23:24 +02:00
Franck Nijhof ed3e04b9ed
Fix Spotify scopes validation for re-auth (#39638) 2020-09-04 08:57:12 +02:00
Angelo Gagliano eb7742ea7c
Add support for VeSync Fans (#36132)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-03 21:05:37 -05:00
J. Nick Koston 1034e4ec50
Bump nexia to 0.9.4 (#39634)
Fix for type missing in the json response
2020-09-03 20:54:48 -04:00
HomeAssistant Azure bfd6989c75 [ci skip] Translation update 2020-09-04 00:04:26 +00:00
Anders Melchiorsen da82d171e0
Add radio channel attribute to Sonos (#39631) 2020-09-03 23:47:32 +02:00
Chris Talkington f6a3eea7f2
Add device class to directv devices (#39628)
* add device class to directv devices

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update media_player.py
2020-09-03 23:27:13 +02:00
Rob Bierbooms d0120d5e0a
Update DSMR integration to import yaml to ConfigEntry (#39473)
* Rewrite to import from platform setup

* Add config flow for import

* Implement reload

* Update sensor tests

* Add config flow tests

* Remove some code

* Fix pylint issue

* Remove update options code

* Add platform import test

* Remove infinite while loop

* Move async_setup_platform

* Check for unload_ok

* Remove commented out test code

* Implement function to check on host/port already existing

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

* Implement new method in import

* Update tests

* Fix test setup platform

* Add string

* Patch setup_platform

* Add block till done to patch block

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-03 16:19:45 -05:00
Chris Talkington 77f5fb765b
Add device class for roku devices (#39627)
* add tv device class for roku tvs

* Update test_media_player.py

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update media_player.py

* Update test_media_player.py

* Update test_media_player.py

* Update media_player.py
2020-09-03 17:06:24 -04:00
On Freund a87fedc0af
Automatically configure HTTP auth type in ONVIF snapshots (#38729)
* Allow selection of HTTP auth type in ONVIF snapshots

* Auto populate snapshot auth

* Fix no auth case

* Add missing return
2020-09-03 22:41:24 +02:00
Chris Talkington a9cc882394
Improve mpd media position handling (#39390)
* improve mpd media position handling

* Update media_player.py

* Update media_player.py

* Update media_player.py
2020-09-03 12:23:02 -05:00
Chris Talkington 17b4c1a2ca
Use CoordinatorEntity for supla (#39621) 2020-09-03 19:11:14 +02:00
Chris Talkington a0663d84d2
fix black for stream (#39622) 2020-09-03 11:54:04 -05:00
Martin Hjelmare bde0bdbf80
Clean tradfri hass data and add tests (#39620) 2020-09-03 18:39:24 +02:00
Joakim Plate d128443a2a
Google assistant openclose (#39612)
* Make sure we set discreteOnlyOpenClose for binary sensors

* Mark switches that are assumed state as commandOnlyOnOff

* Drop stray extra line

* Fix pylint error

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-09-03 18:32:57 +02:00
Michał Węgrzynek 8818a5ab6c
Use DataUpdateCoordinator for supla (#38921)
* Linter suggestions

* Store coordinator in hass.data[supla_coordinators]

* Server cleanup

* Spelling mistake

* Fixes suggested in review

* Pass server and coordinator during async_setup_platform

* Linter changes

* Rename fetch_channels to _fetch_channels

* Linter suggestions

* Store coordinator in hass.data[supla_coordinators]

* Server cleanup

* Fixes suggested in review

* Pass server and coordinator during async_setup_platform

* Linter changes

* Remove scan interval configuration option

* Linting

* Isort

* Disable polling, update asyncpysupla version

* Black fixes

* Update manifest.json

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-03 11:25:30 -05:00
Eric Severance 9baa7c6c24
Restart keepalive streams (#38863) 2020-09-03 12:22:00 -04:00
Paulus Schoutsen fbbfd46fb8
Add .well-known/password-change (#39613) 2020-09-03 18:13:33 +02:00
jjlawren 4ebcbadfc2
Address Plex review comments (#39591) 2020-09-03 18:10:37 +02:00
starkillerOG e288246366
Add troubleshooting link to error message for xiaomi_aqara (#39617) 2020-09-03 17:26:13 +02:00
SukramJ 4dee2b599a
Add HmIP-STV to HomematicIP Cloud (#39518)
* add general attribute for connection type

* Add HmIP-STV to HomematicIP Cloud
2020-09-03 17:23:42 +02:00
Tomer Figenblat 77c6a48553
Update aioswitcher to 1.2.1 (#39614) 2020-09-03 16:58:31 +02:00
Paulus Schoutsen 948ec80b6e
Bump pytradfri to 7.0.0, support multiple gateways (#39609)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-09-03 14:47:14 +02:00
Martin Eberhardt 8ca9724258
Expose more attributes in rejseplanen (#37216) 2020-09-03 13:43:35 +02:00
Franck Nijhof 1c90bdddb4
Upgrade apprise to 0.8.8 (#39606) 2020-09-03 13:30:42 +02:00
Franck Nijhof 0cba7acf5a
Upgrade sentry-sdk to 0.17.3 (#39607) 2020-09-03 13:29:17 +02:00
Maciej Bieniek 7e50a4999c
Add support for Shelly Gas to the Shelly integration (#39478)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-03 10:54:25 +02:00
Paulus Schoutsen 6d1ba10788
Bump hass-nabucasa to 0.36.0 (#39603)
* Bump hass-nabucasa to 0.36.0

* hass-nabucasa 0.36.1
2020-09-03 10:43:51 +02:00
SukramJ f2f68859cc
Fix wrong error message on adding a new HomematicIP Cloud AP (#39599) 2020-09-03 09:52:51 +02:00
jjlawren aecd74c6af
Add service to scan for new Plex clients (#39074) 2020-09-03 09:35:37 +02:00
Maciej Bieniek 226406b853
Improve tests for GIOS integration (#39514) 2020-09-03 09:27:21 +02:00
jjlawren d66bc6a873
Add Recently Added and On Deck to Plex media browser (#39232) 2020-09-03 09:26:30 +02:00
Hendrik Schröter 49daf57c54
Fix rain retrival for OWM (#39566)
As documented in the OWM API (https://openweathermap.org/api/one-call-api), rain and snow are reported on a 1h basis:

current.rain
    current.rain.1h (where available) Rain volume for last hour, mm
current.snow
    current.snow.1h (where available) Snow volume for last hour, mm
2020-09-03 08:16:38 +02:00
J. Nick Koston 65e53b8251
Support reloading mqtt yaml configuration (#39531) 2020-09-02 20:16:21 -05:00
J. Nick Koston 56e76a3265
Support reloading the smtp notify platform (#39530)
* Support reloading the smtp notify platform

* patch test
2020-09-02 19:43:07 -05:00