Commit Graph

31766 Commits (eab6a0508b5c7fe0e41e8502102ac4eb119cd421)

Author SHA1 Message Date
Ron Klinkien eab6a0508b
Address FireServiceRota late code review (#43741)
* Address review comment from PR #38206

* Address review comment from PR #43638

* Address review comment from PR #43700

* isort fixed

* Better code for duty entity update

* Removed all pylint relative-beyond-top-level

* Removed logger entry from entity state method
2020-11-29 23:54:27 +01:00
Bas Nijholt 6eeb9c0e49
ZHA: remove unused 'from_cache' argument from 'async_get_state' and add 'async_update' (#42413)
* remove unused 'from_cache' argument from 'async_get_state'

* define async_update to use homeassistant.update_entity
2020-11-29 14:47:46 -05:00
David F. Mulcahey 54425ae0f3
Use the correct property for full init event (#43745) 2020-11-29 11:59:23 -05:00
Andre Lengwenus 493eaef616
Bump pypck to v0.7.6 (#43710)
* Bump pypck to v0.7.6

* Await commands to ensure that they are received.
2020-11-29 16:30:17 +01:00
HomeAssistant Azure 5462d6e798 [ci skip] Translation update 2020-11-29 00:04:09 +00:00
springstan d5efb3e3de
Remove temporary variable by only retrieving needed value (#42522) 2020-11-29 00:44:25 +01:00
Franck Nijhof 65ab8cbc71
Add support for multiple tags and devices in tag trigger (#43098)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-29 00:06:32 +01:00
Paulus Schoutsen e406a47293
Allow configuring the delay in the motion light blueprint (#43737) 2020-11-28 23:56:15 +01:00
J. Nick Koston 1162d9a752
Create tables with a charset that can hold all expected data under mysql (#43732)
By default these tables are created with utf8 which can only hold 3 bytes. This
meant that all emjoi would trigger a MySQLdb._exceptions.OperationalError because
they are 4 bytes.

This will only fix the issue for users who recreate their tables.
2020-11-28 23:54:05 +01:00
Paulus Schoutsen dd513147a5
Add a service target (#43725) 2020-11-28 23:33:32 +01:00
David F. Mulcahey a2e1efca33
Add additional events to enhance the ZHA device pairing experience (#43729)
* support better feedback in the device pairing UI

* update pairing events
2020-11-28 17:29:56 -05:00
Ron Klinkien 2c6a72b3ad
Add Response switch platform to FireServiceRota integration (#43700)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-28 21:42:51 +01:00
Paulus Schoutsen 898a07fa75
Make threshold binary sensor faster (#43695) 2020-11-28 10:19:10 -10:00
Erik Montnemery 5d7d2dee2a
Bump hatasmota to 0.1.2 (#43719) 2020-11-28 10:18:06 -10:00
Maciej Bieniek a4ae2d210e
Bump Brother library to version 0.1.20 (#43628) 2020-11-28 10:17:16 -10:00
moinmoin-sh 337b8d279e
Ensure MariaDB/MySQL can be purged and handle states being deleted out from under the recorder (#43610)
* MariaDB doesn't purge #42402

This addresses  home-assistant#42402
Relationships within table "states" and between tables "states" and "events " home-assistant#40467 prevent the purge from working correctly. The database increases w/o any purge.
This proposal sets related indices to NULL and permits deleting of rows.
Further explanations can be found here home-assistant#42402
This proposal also allows to purge the tables "events" and "states" in any order.

* Update models.py

Corrected for Black style requirements

* Update homeassistant/components/recorder/models.py

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

* Add the options to foreign key constraints

* purge old states when database gets deleted out from under us

* pylint

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-11-28 08:42:29 -10:00
Paulus Schoutsen cb96bd9d0b
Blueprint config to override blueprint (#43724) 2020-11-28 13:19:58 +01:00
Robert Svensson 6fa3e287da
Add support to control cooling in deCONZ climate platform (#43720)
* Add fan support

* Add HVAC cool support

* Fix Martins comment from #43607

* Add preset support

* Improve climate test coverage

* Remove fan support

* Remove preset support

* Remove last preset piece
2020-11-28 13:11:13 +01:00
cgtobi 65bc128c86
Bump pyatmo to v4.2.1 (#43713) 2020-11-28 09:29:16 +01:00
HomeAssistant Azure d5c2ef5a94 [ci skip] Translation update 2020-11-28 00:03:36 +00:00
Alexei Chetroi c42b650031
Bump up ZHA dependencies (#43707)
bellows==0.21.0
zigpy==0.28.1
zha-quirks==0.0.47
2020-11-27 16:39:44 -05:00
jjlawren 7c0e148b59
Proxy Plex media browser images (#43111)
Co-authored-by: rajlaud <50647620+rajlaud@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-27 22:14:19 +01:00
javicalle e10762af9b
Bump RFLink to v0.0.55 (#43704) 2020-11-27 21:11:57 +01:00
Aaron Bach fd6a2b078b
Fix exception upon lock initialization on V2 SimpliSafe systems (#43705) 2020-11-27 21:09:37 +01:00
Franck Nijhof 0d5dc4aeee
Add system health check to Spotify (#43249) 2020-11-27 19:25:17 +01:00
Matthias Alphart 29091f4537
Update xknx to 0.15.6 (#43645) 2020-11-27 18:06:15 +01:00
Paulus Schoutsen 5b6d9abe2a
Await callbacks to keep cleaner stacktraces (#43693) 2020-11-27 17:48:43 +01:00
Paulus Schoutsen 20ed40d7ad
Use utcnow from date util for http.ban (#43686) 2020-11-27 17:04:52 +01:00
Paulus Schoutsen d34753473d
Use run_job for service helper (#43696) 2020-11-27 16:12:39 +01:00
shred86 bdb04dcb9d
Add Abode MFA support (#43572) 2020-11-27 13:39:26 +01:00
Paulus Schoutsen ea55051161
Stub finding custom integrations in tests (#43692) 2020-11-27 12:53:16 +01:00
Paulus Schoutsen 897ff31ffe
Maybe fix flaky test (#43690) 2020-11-27 12:31:42 +01:00
David Bonnes bb146680ce
Eliminate evohome unhandled exceptions when client API call fails (#43681) 2020-11-27 12:05:51 +01:00
Paulus Schoutsen 3a17e22cfa
Convert API integration to async setup (#43685) 2020-11-27 09:50:19 +01:00
Shay Levy 2498340e1f
Fix Shelly uptime sensor (#43651)
Fix sensor to include time zone
Report new value only if delta > 5 seconds
Modify REST sensors class to use callable attributes
2020-11-27 09:40:06 +01:00
David Bonnes 5e3f4954f7
Code quality improvement for evohome (#43678) 2020-11-27 09:28:05 +01:00
David Bonnes c2cc605343
Bugfix schedule assigned to wrong day of week (#43676) 2020-11-27 09:20:20 +01:00
Philip Allgaier bf4e6a289a
Add option to deactivate a user (#43463) 2020-11-27 09:13:16 +01:00
Erik Montnemery a5e5c5c7e6
Exclude disabled entities from async_entries_for_device (#43665) 2020-11-27 09:03:44 +01:00
Paulus Schoutsen f9fa24950b
OAuth2 to use current request header (#43668) 2020-11-27 08:55:34 +01:00
Michael Thingnes 69c2818c56
Met.no: Fix for zero temp entries (#43684)
Addresses issue #43587
2020-11-27 08:07:49 +01:00
Bram Kragten 3bd0c7188c
Updated frontend to 20201126.0 (#43682) 2020-11-27 01:16:16 +01:00
HomeAssistant Azure 301a3e5481 [ci skip] Translation update 2020-11-27 00:03:57 +00:00
Erik Montnemery 974e099e2a
Small cleanup of Tasmota (#43642) 2020-11-26 22:34:26 +01:00
Franck Nijhof deb45f7c90
Upgrade pre-commit to 2.9.2 (#43655) 2020-11-26 22:34:17 +01:00
Erik Montnemery 8ff10ad3b8
Fix MQTT threading bug (#43667) 2020-11-26 22:33:58 +01:00
Paulus Schoutsen e1de36fda8
Fix check config (#43663) 2020-11-26 22:25:21 +01:00
Paulus Schoutsen edf70e9f06
Make input_datetime better handle timezones (#43396)
* Make input_datetime better handle timezones

* Improve test coverage

* Apply suggestions from code review

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

* Revert change to time format

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-26 20:20:10 +01:00
Jasper Slits f3033ec01d
Add Roomba support for automatic emptying of bin (#43594) 2020-11-26 17:48:54 +01:00
Erik Montnemery dc8364fd3a
Support disabling devices (#43293) 2020-11-26 16:45:02 +01:00