Commit Graph

35858 Commits (2cd2e46d73875b97e2f4dbddd5d92fbb81b092d5)

Author SHA1 Message Date
Michael 2cd2e46d73
Disable AVM FRITZ!Box Tools device_tracker entities by default (#50791) 2021-05-18 22:16:49 +02:00
shbatm 775af9d2c5
Update PyISY to v3.0.0 and ISY994 to use Async IO (#50806) 2021-05-18 14:15:47 -05:00
Aaron David Schneider 1d174a1f6f
Bump pysonos to 0.0.48 (#50798) 2021-05-18 08:40:51 +02:00
Jan Bouwhuis 9abf43f95f
Mqtt fan feature for resetting current speed `percentage` or `preset_mode` (#50565)
* Mqtt fan resetting speed percentage or preset_mode

* tests reset payload is working with val templates

* Remove duplicate line for CONF_PAYLOAD_HIGH_SPEED
2021-05-18 08:24:42 +02:00
J. Nick Koston 5da0191fe3
Bump zeroconf to 0.31.0 (#50807) 2021-05-17 20:52:08 -07:00
J. Nick Koston 3cc3cacd08
Start ServiceBrowser as soon as possible in zeroconf (#50784)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-05-17 20:51:05 -07:00
Shay Levy 7a60d0eae4
Enable back free-mobile (#50802) 2021-05-17 20:41:56 -07:00
Dermot Duffy 2e1037005c
Allow camera stream to fail safely (#50728) 2021-05-17 20:34:25 -07:00
GitHub Action 1f80defe3a [ci skip] Translation update 2021-05-18 00:12:13 +00:00
Erik Montnemery 1ea0d8ae02
Correct trace of condition actions (#50800) 2021-05-17 16:54:17 -07:00
Paulus Schoutsen 781524ee36
Updated frontend to 20210517.0 (#50804) 2021-05-17 16:54:06 -07:00
J. Nick Koston a43561e3e6
Ensure startup can proceed if async_get_integration raises (#50799)
* Ensure startup can proceed if async_get_integration raises

There were cases where the event would never get set and
startup would deadlock because the second attempt to load
the integration would block forever

* pylint

* reorder
2021-05-17 17:32:05 -05:00
jjlawren 8129db1cfe
Handle Sonos subscription renewal failures (#50793) 2021-05-17 17:26:48 -05:00
Erik Montnemery 9e681cd214
Refactor MQTT basic light pt5: Add RGB color helpers (#50780)
* Refactor MQTT basic light pt5: Add RGB color helpers

* Revert change of rounding instead of truncating RGB
2021-05-17 23:50:12 +02:00
J. Nick Koston e7f7e61e88
Ensure a wal checkpoint is scheduled nightly (#50746) 2021-05-17 16:27:51 -05:00
jjlawren b1ff9dc45e
Bump pysonos to 0.0.47 (#50792) 2021-05-17 16:06:13 -05:00
G Johansson 6f7ae3727b
Bump yalesmartalarmclient to 0.3.3 (#50613) 2021-05-17 22:39:56 +02:00
jan iversen ba827db8ec
Update remaining modbus platforms to use pymodbus_call (#50768) 2021-05-17 22:12:18 +02:00
Paulus Schoutsen f762d3c748
Fire time changed event in Hue tests (#50783) 2021-05-17 22:03:47 +02:00
Ruslan Sayfutdinov 5ad71b5e45
Define sync hass.create_task function (#50788) 2021-05-17 14:54:06 -05:00
Paulus Schoutsen 1e10772497
Add support for local push channels to mobile_app (#50750) 2021-05-17 11:06:42 -07:00
J. Nick Koston 72288710ca
Increase the sqlite cache size from ~2MiB to 8MiB (#50747) 2021-05-17 19:42:12 +02:00
Michael Klamminger 3554316f3f
Update MQTT cover template handling (#50236)
* flake 8

* Implement feedback from PR

* update warning message

* added and updated tests

* remove _has_tilt_topic variable

* flake 8

* Implement feedback from PR

* update warning message

* added and updated tests

* remove _has_tilt_topic variable

* renamed _tilt_message_received to _tilt_payload_received

* merged with latesed upstream/dev

* converted if to try except for type check

* Implemented the suggestions of @emontnemery

* Tweak tests

* logger info to debug

Co-authored-by: Shay Levy <levyshay1@gmail.com>

* cast tilt payload as int; combine exceptions to one line

* Add test for JSONDecodeError

* Update homeassistant/components/mqtt/cover.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-17 19:31:11 +02:00
Ruslan Sayfutdinov 72dfa8606e
Enable strict typing for air_quality component (#50722) 2021-05-17 08:20:05 -07:00
Paulus Schoutsen 56774a9f63
Hue: unique ID for groups + remote events (#50748) 2021-05-17 08:07:25 -07:00
Joakim Sørensen c8486879ae
Update devcontainer to Python 3.9 (#50778) 2021-05-17 07:54:14 -07:00
dependabot[bot] 8dc8e885c8
Bump home-assistant/builder from 2021.04.2 to 2021.05.0 (#50754)
Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2021.04.2 to 2021.05.0.
- [Release notes](https://github.com/home-assistant/builder/releases)
- [Commits](https://github.com/home-assistant/builder/compare/2021.04.2...2021.05.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 16:43:18 +02:00
Erik Montnemery 848ab5c2bc
Deduplicate code in MQTT basic light pt4: Add set_optimistic helper (#50774) 2021-05-17 16:28:30 +02:00
Joakim Sørensen 2f10f59717
Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
Matthias Alphart ac6d99d434
Create KNX binary_sensor entities directly from config (#50708) 2021-05-17 15:33:09 +02:00
Franck Nijhof 9afa7df3c1
Upgrade apprise to 0.9.3 (#50769) 2021-05-17 15:06:36 +02:00
Erik Montnemery 8c6f4a8c71
Refactor MQTT basic light pt3: Add publish helper (#50767) 2021-05-17 14:54:19 +02:00
Erik Montnemery b36021b4fd
Deduplicate code in MQTT basic light pt2: Add restore_state helper (#50766)
* Refactor MQTT basic light pt2: Add restore_state helper

* Update homeassistant/components/mqtt/light/schema_basic.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-17 14:53:48 +02:00
Martin Hjelmare add594a44b
Clean up smhi redundant code (#50765) 2021-05-17 14:34:58 +02:00
jan iversen 6b34ba012c
Fix missing await in modbus platforms (followup on async PR) (#50710) 2021-05-17 14:20:51 +02:00
Maciej Bieniek 97559087b5
Allow some failures before setting Xiaomi Miio MIOT air purifiers unavailable (#50755) 2021-05-17 14:13:01 +02:00
nikito7 0fac3ccebc
Change Modbus error message to bytes (#50725) 2021-05-17 14:12:17 +02:00
Michael df6862a519
Add strict type annotations to amazon_polly (#50697)
* add strict type annotations

* apply suggestions

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-17 14:09:52 +02:00
Simone Chemelli 9e86602950
Fix strings for UPNP (#50762) 2021-05-17 14:07:01 +02:00
Franck Nijhof eccefd154a
Extend targets for entity component services (#50760) 2021-05-17 14:06:50 +02:00
Erik Montnemery ee4e14e45e
Hoist ATTR_LAST_RESET from utility_meter to SensorEntity (#50757) 2021-05-17 13:51:09 +02:00
Austin Mroczek a9c73ac264
Fix armed_night logic in totalconnect alarm and add tests (#50694)
* Fix armed_night, add tests for alarm

* end assertions with expected values
2021-05-17 13:18:50 +02:00
Erik Montnemery 3ab14d452c
Refactor MQTT basic light pt1: Add add_topic helper (#50759) 2021-05-17 12:50:54 +02:00
Franck Nijhof 74c20cdaa1
Upgrade geopy to 2.1.0 (#50714) 2021-05-17 12:26:44 +02:00
CantankerousBullMoose 9316f566c9
Rescan static wemo (#49934)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-17 12:18:14 +02:00
Matthias Alphart 1c7242a37a
Create KNX cover entities directly from config (#50707) 2021-05-17 12:17:19 +02:00
Franck Nijhof 9ee3b77135
Remove discovery from iCloud (#50751) 2021-05-17 12:14:54 +02:00
Franck Nijhof ecac574eb0
Upgrade pyupgrade to v2.16.0 (#50756) 2021-05-17 11:27:09 +02:00
jan iversen ff856a9bba
Simplify calls to pymodbus (#50717)
* simplify pymodbus_call.

Do not call with a function object and a check attribute, call instead
with CALL_TYPE*.

Avoid if <type> call x else call y.
Call async_pymodbus_call directly, instead of unpacking/packing.

* Declare call type in __init__.

* Modbus.py back to 100% test coverage.
2021-05-17 11:20:12 +02:00
Matthias Alphart 7b18860dcd
Update xknx to version 0.18.2 (#50491)
* xknx 0.18.2

* individual colors without switch

* make `setpoint_shift_mode` optional

* Update homeassistant/components/knx/schema.py
2021-05-17 11:18:13 +02:00