Commit Graph

8276 Commits

Author SHA1 Message Date
Joakim Sørensen
2f10f59717 Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +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
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
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
Paulus Schoutsen
5ea2dd8ce3 Alexa: Set Equalizer property to retrievable (#50730) 2021-05-17 09:26:37 +02:00
Erik Montnemery
89dd3292ba Initial draft of statistics (#49852) 2021-05-16 10:23:37 -07:00
jan iversen
224cc779c4 Correct Modbus platform cover restore state (#50421)
* Correct cover restore state.

* Change mock usage.

* Add states to convert.
2021-05-16 08:40:19 +02:00
Dror Eiger
0556c35e24 Set zwave_js cover device_class for shutters and blinds (#50643)
* Set device_class for shutters and blinds

* Add missing. imports

* Add tests for device class setting

* Clean up

* Avoid storing the node in an unused variable

* Fix entity name

* Extend qubino shutter discovery

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-16 08:26:16 +02:00
Zac West
b8713774c8 Make confirmable notification blueprint use unique actions (#50706) 2021-05-15 22:50:24 -07:00
Kevin Eifinger
256a2de7ce Add kraken code review changes (#50683) 2021-05-15 22:55:50 +02:00
Franck Nijhof
e293d35ac9 Clean up WLED tests (#50685)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-15 22:14:56 +02:00
jan iversen
ca558545a1 Use mock_restore_state in testing of modbus sensor (#50455) 2021-05-15 21:39:41 +02:00
Franck Nijhof
cad41cd4ed Clean up unused method from SolarEdge tests (#50684) 2021-05-15 21:27:04 +02:00
Klaas Schoute
e1dd479e15 Add Garages Amsterdam integration (#43157)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-15 20:43:12 +02:00
Filipe Pina
0c37effc72 Add SSL support to TCP integration (#48060)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2021-05-15 20:29:11 +02:00
Martin Hjelmare
dab66a58ce Clean smhi tests (#50681) 2021-05-15 20:22:32 +02:00
jan iversen
ad7be91b6a Fix modbus blocking threads (#50619)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-15 19:54:17 +02:00
Erik Montnemery
97d7037d12 Bump hatasmota to 0.2.13 (#50662)
* Bump hatasmota to 0.2.13

* Process review comment

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

* Tweak brightness compensation, improve tests

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-15 19:36:08 +02:00
J. Nick Koston
8e38f26978 Add support for asair brand to nexia (#50504) 2021-05-15 16:24:36 +02:00
Franck Nijhof
c9b25fe2a2 Remove YAML configuration from Local IP (#50642) 2021-05-15 13:45:10 +02:00
Franck Nijhof
7221b1e09d Sort effect lists in light groups (#50620) 2021-05-14 21:43:43 -07:00
Erik Montnemery
bcd8f43e7b Update light intents to check supported_color_modes (#50625) 2021-05-14 14:23:29 -07:00
Erik Montnemery
960ed13f94 Update light device actions to check supported_color_modes (#50611) 2021-05-14 22:58:37 +02:00
Paulus Schoutsen
646af533f0 Add support for Hue push updates (#50591) 2021-05-14 13:39:57 -07:00
tkdrob
40993f3ebb Add DHCP support to goalzero (#50425) 2021-05-14 13:12:46 -05:00
Simone Chemelli
4d55290932 Fritz code quality improvements from #48287 and #50055 (#50479)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-14 11:46:37 -05:00
Kevin Eifinger
c220e70008 Add integration kraken (#31114)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-14 08:02:11 -07:00
Charles Garwood
f33b45ec82 Add interview feedback for Z-Wave JS add node websocket (#50384)
* Add interview feedback for add node websocket

* cleanup leftover logging

* add tests

* test interview failed event

* fix event type

* include manufacturer & model from device registry

* update test
2021-05-14 09:47:09 -04:00
Thomas Schamm
8fcf06a2a9 Add bosch_shc supporting Bosch Smart Home Controller (#34063)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-14 15:03:26 +02:00
Álvaro Fernández Rojas
9247a157d8 Add AEMET conditional station updates (#50227) 2021-05-14 13:28:48 +02:00
Franck Nijhof
42df6750e2 Refactor AdGuard config flow tests (#50566) 2021-05-14 13:19:24 +02:00
Paulus Schoutsen
aef24a807e Yeelight: Do not log errors when cannot connect (#50592) 2021-05-13 22:33:18 -07:00
Brandon Rothweiler
122741b914 Add lock platform to the Mazda integration (#50548) 2021-05-13 22:52:52 -05:00
uvjustin
e8d7d96231 Roll back #47852 (shield httpx in generic) (#50562) 2021-05-13 20:32:06 -07:00
J. Nick Koston
52edf9ac35 Ensure isy994 is only discovered once (#50577)
The formatting of the mac was different between dhcp and ssdp
2021-05-13 19:35:24 +02:00
Erik Montnemery
216b0df908 Set state_class for demo sensor (#50523) 2021-05-12 18:38:26 +02:00
Franck Nijhof
38a0cf6650 Refactor SolarEdge config flow tests (#50467)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-12 17:43:27 +02:00
J. Nick Koston
70961c79a0 Migrate emulate_hue to use storage to fix I/O in event loop (#50473) 2021-05-12 16:10:28 +02:00
J. Nick Koston
a4ea9b3cd3 Update usage of async_entries to use _async_current_entries (#50187) 2021-05-12 12:47:06 +02:00
definitio
e090581e3c Add stop for demo players (#50485) 2021-05-12 10:26:12 +02:00
Erik Montnemery
b35f229674 Include _StopScript.__cause__ in trace (#50441)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-11 22:27:11 -07:00
Raman Gupta
6cb283d36b Fix vizio integration (#50436) 2021-05-11 22:05:45 -07:00
J. Nick Koston
dd3965e4e2 Ensure zeroconf does not generate config flows when matching attributes are missing (#50208)
If macaddress, name, or manufacturer were missing from the
discovery info, the matcher would accept instead of reject.
2021-05-11 21:24:42 -07:00
J. Nick Koston
c037ebb27c Add discovery to yeelight (#50385) 2021-05-11 19:55:50 -05:00
J. Nick Koston
7314247ce3 Add dhcp support to iSmartGate (#50309) 2021-05-12 00:20:03 +02:00
J. Nick Koston
c1cf07768b Add dhcp discovery support to isy994 (#50488)
- SSDP may not be enabled by default
2021-05-12 00:06:55 +02:00
Artem Draft
d29e812033 New overrides in universal media player (#48611)
* Update media_player.py

fix missing overrides in universal

* Update media_player.py

Black

* add tests and allow overrides for missing services

* switch sync to async

* Update tests/components/universal/test_media_player.py

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

* setup component after modifying config

* switch test to sync

* fix black

* fix test

* rework tests, disable override media_seek

Co-authored-by: raman325 <7243222+raman325@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-11 23:44:26 +02:00
karliemeads
3a93151aa2 Improve light tests for brightness step and profiles (#49887) 2021-05-11 23:31:36 +02:00
J. Nick Koston
34c84a6bbb Reduce boilerplate to abort for matching config entries (#50186)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-11 22:00:12 +02:00