Commit Graph

35819 Commits

Author SHA1 Message Date
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
Michael
f9c7474a78 Add strict type annotations to ampio (#50699) 2021-05-17 11:14:47 +02:00
mountainsandcode
2d29959a52 Add control of hardware buttons to Sonos (#49977) 2021-05-17 11:12:01 +02:00
Álvaro Fernández Rojas
4357d2dc84 Update AEMET library to latest version (#50222)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-05-17 11:07:53 +02:00
Franck Nijhof
059e7c925d Remove side effects from Watson TTS init (#50716) 2021-05-17 10:46:58 +02:00
Franck Nijhof
a414cad3b2 Upgrade aiodns to 3.0.0 (#50712) 2021-05-17 10:46:37 +02:00
David Nielsen
636528dd2e Update bravia-tv to 1.0.11 (#50726) 2021-05-17 09:37:13 +02:00
Paulus Schoutsen
5ea2dd8ce3 Alexa: Set Equalizer property to retrievable (#50730) 2021-05-17 09:26:37 +02:00
Kevin Eifinger
663c0374ab Add full typing to kraken (#50718)
* Add full typing to kraken

* Let device_info return DeviceInfo

* Replace unsub_listeners with entry.async_on_unload

* Raise TypeError on end of _try_get_state

* Assert Coordinator is not none

* Add class SensorType

* Add strict typing to kraken

* Add changes from code review

* Revert typed dict creation
2021-05-17 10:12:04 +03:00
Michael
120bf8aed7 fix annotation in actiontec (#50727) 2021-05-17 09:28:22 +03:00
Paulus Schoutsen
1b74359ddb Disable free-mobile because requirement breaks setuptools (#50749) 2021-05-17 08:12:23 +02:00
GitHub Action
877cb43c06 [ci skip] Translation update 2021-05-17 05:17:18 +00:00
starkillerOG
db7331847f AlexaEqualizerController fix wrong class beeing used (#50724) 2021-05-16 20:49:48 -07:00
Michael
22d8f9519e Fix configflow strings for step user in fritz (#50742) 2021-05-16 20:49:31 -07:00
Ruslan Sayfutdinov
6b38adaa3d Downgrade setuptools to fix CI (#50734) 2021-05-16 20:36:23 -07:00
Matthias Alphart
05c6f3ca1d Create KNX light entities directly from config (#50700)
* create light entities directly from config

* review changes
2021-05-16 22:45:28 +02:00
Erik Montnemery
89dd3292ba Initial draft of statistics (#49852) 2021-05-16 10:23:37 -07:00
Ruslan Sayfutdinov
703456abea Better errors handling in mypy hassfest plugin (#50689) 2021-05-16 07:04:09 -07:00
Matthias Alphart
3200b0150a Create KNX notify entities directly from config (#50709) 2021-05-16 12:07:44 +02:00
Mickaël Le Baillif
c2e2b046d9 Add new voices for Watson TTS (#48722)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-16 11:12:05 +02:00
jjlawren
b84cf915f3 Centralize storage and updating of Sonos favorites (#50581)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-16 11:11:35 +02: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
Matthias Alphart
1e11bfae05 Create KNX fan entities directly from config (#50702) 2021-05-16 08:34:14 +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
Matthias Alphart
222336a1db Create KNX scene entities directly from config (#50686) 2021-05-16 08:14:28 +02:00
Andre Lengwenus
a92acdb528 Fix selectors and defaults in LCN service.yaml (#50705) 2021-05-16 08:06:28 +02:00
Zac West
b8713774c8 Make confirmable notification blueprint use unique actions (#50706) 2021-05-15 22:50:24 -07:00
Michael
edccb7eb58 Add strict type annotations to actiontect (#50672)
* add strict type annotations

* fix pylint, add coverage omit

* apply suggestions

* fix rebase conflict

* import PLATFORM_SCHEMA as BASE_PLATFORM_SCHEMA

* correct get_device_name() return annotation
2021-05-16 00:59:57 +03:00
Kevin Eifinger
256a2de7ce Add kraken code review changes (#50683) 2021-05-15 22:55:50 +02:00
Michael
7f6b8bbd1e Add strict type annotations to aladdin_connect (#50693)
* add strict type annotations

* add missing return type annotation
2021-05-15 23:53:42 +03:00
Michael
bc006c9ecc Add strict type annotations to aftership (#50692)
* add strict type annotations

* import PLATFORM_SCHEMA as BASE_PLATFORM_SCHEMA

* bring needed return back
2021-05-15 23:53:10 +03: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
Simone Chemelli
8bc75e91a0 Add color effect to Shelly's color devices (#48052)
* Add color effect

* Final commit based on updated firmware

* Update homeassistant/components/shelly/light.py

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

* Update homeassistant/components/shelly/light.py

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

* Update homeassistant/components/shelly/light.py

* Fix flake

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-05-15 22:43:06 +03:00
jan iversen
ca558545a1 Use mock_restore_state in testing of modbus sensor (#50455) 2021-05-15 21:39:41 +02:00
Martin Hjelmare
5da64d01e2 Fix smhi typing (#50690) 2021-05-15 21:38:12 +02:00
Franck Nijhof
cad41cd4ed Clean up unused method from SolarEdge tests (#50684) 2021-05-15 21:27:04 +02:00
jjlawren
1afb0a0841 Sonos improve radio metadata handling (#50493) 2021-05-15 21:19:16 +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