Commit Graph

35093 Commits

Author SHA1 Message Date
Erik Montnemery 3d90d6073e
Add common light helpers to test for feature support (#49199) 2021-04-15 20:32:27 +02:00
Mike Degatano 236d274351
Add `search` and `match` as Jinja tests (#49229) 2021-04-15 20:13:27 +02:00
Shay Levy 38f0c201c2
Fix Tasmota Wifi Signal Strength unit (#49263) 2021-04-15 19:53:03 +02:00
Shay Levy 31c519b26d
Fix shelly RSSI sensor unit (#49265) 2021-04-15 19:52:06 +02:00
Ruslan Sayfutdinov 80f66f301b
Define data flow result type (#49260)
* Define data flow result type

* Revert explicit definitions

* Fix tests

* Specific mypy ignore
2021-04-15 07:17:07 -10:00
J. Nick Koston dafc7a072c
Cancel discovery flows that are initializing at shutdown (#49241) 2021-04-15 07:13:42 -10:00
Angeliki Papadopoulou a529a12745
Remove redundant text from documentation (#49262)
I found an extra "when" in the documentation text.
2021-04-15 18:05:07 +02:00
Erik Montnemery ec56ae2cbc
Set deprecated supported_features for MQTT JSON light (#49167)
* Set deprecated supported_features for MQTT json light

* Update homeassistant/components/light/__init__.py

Co-authored-by: Franck Nijhof <git@frenck.dev>

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-15 17:24:21 +02:00
Martin Hjelmare 1b5148a3af
Fix mysensors sensor protocol version check (#49257) 2021-04-15 16:12:49 +02:00
bouni 4f5c745492
Fix broken swiss_hydrological_data integration (#49119)
* update requirements_all.txt

* 🚑 Fix broken JSON

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-04-15 12:40:23 +02:00
J. Nick Koston 7a40d0f1c2
Disconnect roomba on stop event (#49235) 2021-04-15 11:24:43 +02:00
J. Nick Koston 2887eeb32f
Only enable envoy inverters when the user has access (#49234) 2021-04-15 11:17:32 +02:00
J. Nick Koston d71f913a12
Ensure original log handlers are restored at close (#49230)
Error messages after close were not being logged
2021-04-15 10:53:48 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Matthias Alphart 985b4a581a
Create KNX switch entity directly from config (#49238) 2021-04-15 09:47:43 +02:00
J. Nick Koston e234fc6e7e
Disconnect homekit_controller devices on the stop event (#49244) 2021-04-14 21:47:15 -10:00
J. Nick Koston 54322f84c5
Do not schedule future ping device tracker updates once hass is stopping (#49236) 2021-04-15 08:49:28 +02:00
HomeAssistant Azure e86aad34b9 [ci skip] Translation update 2021-04-15 00:02:56 +00:00
J. Nick Koston 8bee25c938
Fix stop listener memory leak in DataUpdateCoordinator on retry (#49186)
* Fix stop listener leak in DataUpdateCoordinator

When an integration retries setup it will add a new stop listener

* Skip scheduled refreshes when hass is stopping

* Update homeassistant/helpers/update_coordinator.py

* ensure manual refresh after stop
2021-04-14 12:16:59 -10:00
Franck Nijhof 63fa9f7dd8
Upgrade colorlog to 5.0.1 (#49221) 2021-04-14 23:56:32 +02:00
Franck Nijhof 6269449507
Upgrade spotipy to 2.18.0 (#49220) 2021-04-14 23:52:10 +02:00
Steven Looman 555f508b8c
Reinitialize upnp device on config change (#49081)
* Store coordinator at Device

* Use DeviceUpdater to follow config/location changes

* Cleaning up

* Fix unit tests + review changes

* Don't test internals
2021-04-14 23:39:44 +02:00
Milan Meulemans ed54494b69
Add binary sensor platform to Rituals Perfume Genie Integration (#49207)
* Add binary sensor platform to Rituals

* Sort platforms
2021-04-14 23:10:35 +02:00
J. Nick Koston 403c6b9e26
Stop ssdp scans when stop event happens (#49140) 2021-04-14 22:23:15 +02:00
Unai aaa600e00a
Add unique-ids to maxcube component (#49196) 2021-04-14 22:19:24 +02:00
Khole 8ce74e598d
Allow debugging of integration dependancies (#49211) 2021-04-14 19:26:37 +02:00
Jeff Irion 81d46828ad
Bump androidtv (0.0.58) and adb-shell (0.3.1) (#49209) 2021-04-14 18:44:39 +02:00
Hmmbob 7ffd4fa83d
Support all available Google Cloud TTS languages (#49208) 2021-04-14 18:14:24 +02:00
Diogo Gomes e4a7260384
Bump pykmtronic to 0.3.0 (#49191) 2021-04-14 18:11:51 +02:00
Tobias Sauerwein 9d4ad1821e
Fix logic of entity id extraction (#49164)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-14 14:12:26 +02:00
Carmen Sanchez fe1e57e76f
Added Spanish US voice to Google Cloud TTS (#49200)
See https://cloud.google.com/text-to-speech/docs/voices
2021-04-14 11:00:32 +02:00
Erik Montnemery 1230c46e1e
Use supported_color_modes in alexa (#49174) 2021-04-14 09:18:49 +02:00
Erik Montnemery e0ac12bd56
Use supported_color_modes in homekit (#49177) 2021-04-14 09:18:34 +02:00
Erik Montnemery 1a5068f71d
Use supported_color_modes in google_assistant (#49176)
* Use supported_color_modes in google_assistant

* Fix tests
2021-04-14 09:18:22 +02:00
J. Nick Koston 44beff31c2
Cancel config entry retry, platform retry, and polling at the stop event (#49138) 2021-04-13 16:16:26 -10:00
HomeAssistant Azure 0b4b071c02 [ci skip] Translation update 2021-04-14 00:03:17 +00:00
J. Nick Koston 81e6ad0744
Replace http startup logic with async_when_setup_or_start (#48784) 2021-04-13 14:10:58 -07:00
J. Nick Koston d7ac4bd653
Cancel sense updates on the stop event (#49187) 2021-04-13 14:03:46 -07:00
Julien "_FrnchFrgg_" Rivaud 5a9c3fea70
Enable passing Amcrest/Dahua signals through as HA events (#49004)
Some of the compatible hardware sends event signals that wouldn't map
well to entities, e.g. NTP sync notifications, SIP registering
information, or « doorbell button pressed » events with no « return to
rest state » matching event to have a properly behaved binary sensor.

Instead of only monitoring specific events, subscribe to all of them,
and pass them through (in addition to handling them as before if they
correspond to a configured binary sensor).

Also bump python-amcrest to 1.7.2. Digest of the changes:

* The library now passes through the event data instead of just presence of a
 "Start" member in in.
* Connection to some devices has been fixed by not throwing the towel on
  minor errors.

https://github.com/tchellomello/python-amcrest/compare/1.7.1...1.7.2
2021-04-13 21:33:46 +02:00
puddly 5d57e5c06c
Enable the custom quirks path ZHA config option (#49143) 2021-04-13 13:14:53 -04:00
Paulus Schoutsen ba93a033a5
Cloud to set up Alexa conditionally (#49136) 2021-04-13 09:31:41 -07:00
Paulus Schoutsen 28347e19c5
Fix Hue service being removed on entry reload (#48663) 2021-04-13 09:31:23 -07:00
Paulus Schoutsen 05aeff5591
Describe Google Assistant events (#49141)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 09:31:01 -07:00
René Klomp 926c2489f0
Implement SMA config flow (#48003)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Johann Kellerman <kellerza@gmail.com>
2021-04-13 06:21:01 -10:00
Andreas Oberritter e9f0891354
Add edl21 OBIS IDs for Holley DTZ541-ZEBA (#49170) 2021-04-13 17:49:28 +02:00
Raman Gupta 0f454bc456
Don't assert the device registry entry in zwave_js (#49178) 2021-04-13 11:32:17 -04:00
Paulus Schoutsen beea2dd35f
Internally work with modern config syntax for template binary sensor platform config (#48981) 2021-04-13 07:58:44 -07:00
J. Nick Koston 82790cd28d
Do not compile static templates (#49148)
self._compiled_code is unreachable if self.is_static
2021-04-13 16:51:56 +02:00
Raman Gupta fe6d6895aa
Migrate existing zwave_js entities if endpoint has changed (#48963)
* Migrate existing zwave_js entities if endpoint has changed

* better function name

* cleanup code

* return as early as we can

* use defaultdict instead of setdefault

* PR comments

* re-add missing logic

* set defaultdict outside of for loop

* additional cleanup

* parametrize tests

* fix reinterview logic

* test that we skip migration when multiple entities are found

* Update tests/components/zwave_js/test_init.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 16:37:55 +02:00
Franck Nijhof de569982a4
Fix services for Armcrest & Logi Circle (#49166) 2021-04-13 16:32:39 +02:00