Commit graph

5727 commits

Author SHA1 Message Date
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
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
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
Martin Hjelmare
52c09396e0
Fix monoprice option flow test (#39685) 2020-09-05 15:25:22 +02: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
Evgeny
b0192cf9c0
Add OpenWeatherMap config_flow (#34659)
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-09-04 18:22:50 -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
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
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
cgtobi
84944cfc24
Add Netatmo media browser support (#39578) 2020-09-04 20:21:42 +02: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
dd7f282723
Add new Plex movie lookup method for media_player.play_media (#39584) 2020-09-04 11:32:36 +02:00
Chris Talkington
48cfbf8662
Improve broadlink sensor tests (#39632) 2020-09-03 20:01:15 -05:00
Felipe Martins Diel
353b40b28a
Add tests for Broadlink remotes (#39235)
* Add tests for Broadlink remotes

* Reformat the tests with Black

* Add a helper method for device setup

* Rename device.setup() to device.setup_entry()

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-03 16:51:08 -05: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
Chris Talkington
c1b8497aaa
Improve sonarr sensor test (#39623)
* improve sonarr sensor test

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py

* Update test_sensor.py
2020-09-03 15:32:48 -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
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
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
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
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
J. Nick Koston
93555fed75
Support reloading the telegram notify platform (#39529)
* Support reloading the telegram notify platform

* services.yaml
2020-09-02 19:08:47 -05:00
J. Nick Koston
661b593db3
Support reloading the rest notify platform (#39527)
* Support reloading the rest notify platform

* update services.yaml

* fix conflict
2020-09-02 18:25:43 -05:00
J. Nick Koston
a778690b64
Support reloading the group notify platform (#39511) 2020-09-03 00:12:07 +02:00
jjlawren
cb1cf2238d
Add Plex service to refresh a library (#39094)
* Add Plex service to refresh a library

* Clean up rebase leftovers

* Re-run black

* Fix docstring

Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>

Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
2020-09-02 13:56:41 -05:00
Charles Garwood
5fafaa3c4f
Add get_migration_config to zwave websocket api (#39577)
* Add get_migration_config to zwave websocket api

* Add test
2020-09-02 18:56:09 +02:00
Xiaonan Shen
7b3182fa8f
Improve Yeelight code (#39543)
* Rename ipaddr to ip_addr

* Move custom services to entity services

* Remove platform data

* Change service setup to callback

* Rename ip_addr to host

* Use _host inside class
2020-09-02 18:42:12 +02:00
Raman Gupta
04c849b0ee
Remove vizio test assertions for integration details in test_init (#39579) 2020-09-02 18:38:53 +02:00
J. Nick Koston
45c28dd9c5
Provide a logbook option entity_matches_only to optimize for single entity lookup (#39555)
* Provide a logbook option entity_matches_only to optimize for single entity id lookup

When entity_matches_only is provided, contexts and events that do not
contain the entity_id are not included in the logbook response.

* Update homeassistant/components/logbook/__init__.py

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

* api only takes a single entity

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-02 10:32:08 -05:00
Paulus Schoutsen
6de02fc1b9
Fix some more usages of asynctest (#39570) 2020-09-02 14:53:07 +02:00
Martin Hjelmare
24f63127de
Fix vizio black formatting (#39573) 2020-09-02 14:16:23 +02:00
Joakim Plate
ec6a1f9137
Add support for receiver and speaker device classes (#38381)
These are now officially supported by google
2020-09-02 11:59:51 +02:00
Raman Gupta
7ff633f531
Automatically update app list for Vizio SmartTV's (#38641) 2020-09-02 11:55:10 +02:00
Paulus Schoutsen
78b0837cb8
Remove flaky wol test that didn't test anything (#39571) 2020-09-02 11:50:00 +02:00
Erik Montnemery
4c6960ed36
Fix discovery update of MQTT light (#39325) 2020-09-02 10:52:33 +02:00
J. Nick Koston
3e9963a216
Overcome group concurrent setup limitation (#39483)
With a lot of groups the limitation that groups
had to be setup one at a time could account for
the bulk of startup time.
2020-09-02 10:14:16 +02:00