Commit Graph

27639 Commits (a0feee083cc17dfc47e194af146f726e89999166)

Author SHA1 Message Date
Milan Meulemans a0feee083c
Fix and enable type checks in Rituals Perfume Genie (#49947) 2021-05-04 14:47:17 +02:00
Rob Bierbooms c063f14c24
Add configuration flow for Buienradar integration (#37796)
* Add configuration flow for Buienradar integration

* Update buienradar camera tests to work with config flow

* Update buienradar weather tests to work with config flow

* Update buienradar sensor tests to work with config flow

* Remove buienradar config_flow tests to pass tests

* Add config flow tests for buienradar integration

* Increase test coverage for buienradar config_flow tests

* Move data into domain

* Remove forecast option

* Move data to options

* Remove options from config flow

* Adjust tests

* Adjust string

* Fix pylint issues

* Rework review comments

* Handle import

* Change config flow to setup camera or weather

* Fix tests

* Remove translated file

* Fix pylint

* Fix flake8

* Fix unload

* Minor name changes

* Update homeassistant/components/buienradar/config_flow.py

Co-authored-by: Ties de Kock <ties@tiesdekock.nl>

* Remove asynctest

* Add translation

* Disable sensors by default

* Remove integration name from translations

* Remove import method

* Drop  selection between platforms, disable camera by default

* Minor fix in configured_instances

* Bugfix in weather

* Rework import

* Change unique ids of camera

* Fix in import

* Fix camera tests

* Fix sensor test

* Fix sensor test 2

* Fix config flow tests

* Add option flow

* Add tests for option flow

* Add import tests

* Some cleanups

* Apply suggestions from code review

Apply code suggestions

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

* Fix isort,black,mypy

* Small tweaks and added typing to new parts

* Fix review comments (1)

* Apply suggestions from code review

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

* Fix review comments (2)

* Fix issues

* Fix unique id

* Improve tests

* Extend tests

* Fix issue with unload

* Address review comments

* Add warning when loading platform

* Add load/unload test

Co-authored-by: Ties de Kock <ties@tiesdekock.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-04 13:49:16 +02:00
Robert Svensson d579e3427f
Use last_step marker on UniFi options flow (#50053) 2021-05-04 08:54:45 +02:00
J. Nick Koston 016a4433d2
Handle missing transport_state on media update in sonos (#50051) 2021-05-04 08:54:31 +02:00
Niels Mündler 2eae87fb1b
Add SyncThru binary sensors (#48114)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-04 08:28:45 +02:00
Dermot Duffy 809c1394d4
Enable mypy for motionEye (aye aye!) (#49738) 2021-05-04 08:19:41 +02:00
Simone Chemelli 55c96ae86f
Create Fritz device and connectivity sensor (#49699)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-03 17:11:21 -10:00
HomeAssistant Azure 0df9454310 [ci skip] Translation update 2021-05-04 00:03:46 +00:00
jan iversen f0ec9c38b0
Fix modbus typing (#49938)
Add changes needed to please mypy and follow the coding rules
of the project.
2021-05-03 22:45:21 +02:00
Daniel Hjelseth Høyer c69eeddc7b
Upgrade Tibber library, new grid prices for Glitre Energi (#50029)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-05-03 10:50:39 -07:00
J. Nick Koston 302cab185d
Add reauth support to flume (#49991) 2021-05-03 10:30:22 -07:00
bsmappee c49fa6f1ed
Bump pysmappee to 0.2.25 (#50031) 2021-05-03 18:51:23 +02:00
Franck Nijhof 982c12bcc9
Restore dictionary constants in Elgato device info (#50013) 2021-05-03 09:42:45 -07:00
Franck Nijhof d4565c0e27
Fix Genius Hub entity service schema (#50024) 2021-05-03 09:41:59 -07:00
Franck Nijhof 9ce00018be
Fix Harmony entity service schema (#50025) 2021-05-03 09:41:16 -07:00
Franck Nijhof 2818df7aa9
Fix Nexia entity service schema (#50027) 2021-05-03 09:40:49 -07:00
Franck Nijhof a2d12f9a51
Fix ELKM1 entity service schema (#50020) 2021-05-03 09:40:01 -07:00
Franck Nijhof 2ed386f9e6
Migrate to async_get_current_platform everywhere (#50034) 2021-05-03 09:34:28 -07:00
Bram Kragten 672d2e332f
Update frontend to 20210503.0 (#50036) 2021-05-03 09:32:45 -07:00
Franck Nijhof 0627b316e3
Add Identify service to Elgato integration (#49990) 2021-05-03 17:32:10 +02:00
Marius 13dee0f028
Mitigate NMBS key errors (#50026)
on Liveboard and connections as documented in issue #48824
2021-05-03 17:06:46 +02:00
Franck Nijhof efb1bb08a4
Add small async_get_current_platform helper method (#50014) 2021-05-03 16:46:42 +02:00
Maciej Bieniek 6e98b020ac
Improve type annotations in Brother integration (#49989) 2021-05-03 15:10:20 +02:00
Franck Nijhof e5bfef719f
Fix Blink entity service schema (#50019) 2021-05-03 14:57:11 +02:00
Joakim Sørensen 9b89acea97
Handle Timeout exceptions in system_health (#50017) 2021-05-03 14:26:25 +02:00
Franck Nijhof 378cee01b4
Add typing to async_register_entity_service (#50015) 2021-05-03 14:22:38 +02:00
Simone Chemelli 1ad9f1d714
Title and internal descriptions updates for Fritzbox (#49047) 2021-05-03 12:52:22 +02:00
J. Nick Koston 779f34a8ed
Add dhcp discovery to hunterdouglas_powerview (#49993)
* Add dhcp discovery to hunterdouglas_powerview

* avoid dupe flow

* cleanup

* cleanup
2021-05-03 11:41:20 +02:00
Austin Mroczek f8d82bbf80
Add unique_id to TotalConnect alarm_control_panel (#49961)
* add unique_id to alarm_control_panel

* Update homeassistant/components/totalconnect/alarm_control_panel.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-03 11:38:59 +02:00
Matthias Alphart cfabb06a7a
Add color modes to KNX light (#49883)
* color_modes support

* return brightness for color lights

even when no brightness address is set

* apply brightness for color lights

* remove unneeded constants
2021-05-03 11:28:02 +02:00
Matthias Alphart 0a6f981b4c
Fix KNX light unique_id (#49967)
* migrate light unique_id

* review changes
2021-05-03 11:12:06 +02:00
Dermot Duffy e8446cb4d9
Fix types for shell command (#50004) 2021-05-03 10:43:23 +02:00
Unai 9d08178ed1
Upgrade maxcube-api dependency to 0.4.3 (#49982)
This new version only contains improvements in logs
to try to debug issue #49482
2021-05-03 10:22:47 +02:00
Tomas Hellström a29dfe0bf5
Update smhi package to 1.0.15 (#49987) 2021-05-03 10:21:57 +02:00
Shay Levy 0a38827544
Fix Shelly battery operated devices value rounding (#49966) 2021-05-02 23:49:13 -07:00
J. Nick Koston a4432557d3
Defer writing http config until after startup has calmed down (#50000) 2021-05-02 19:48:49 -10:00
Bram Kragten 301d4b0657
Fix saving a scene (#49980)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-02 22:11:57 -07:00
J. Nick Koston 42c48e8cf9
Add reauth support to myq (#49998) 2021-05-02 21:52:48 -07:00
Bram Kragten 8ca6b8394c
Correct the selector for frontend.set_theme service (#49952) 2021-05-02 21:07:26 -07:00
Shay Levy 7c7a56f704
Fix Shelly external sensors invalid 999 value (#49994) 2021-05-02 20:58:14 -07:00
J. Nick Koston 1c8d9ca68b
Check exception causes for matching strings during recorder migration (#49999) 2021-05-02 20:57:42 -07:00
HomeAssistant Azure 04266301e9 [ci skip] Translation update 2021-05-03 00:05:16 +00:00
Milan Meulemans 6967fd184b
Abstract Rituals API data processing to PyPI (#49872) 2021-05-02 13:18:29 -10:00
J. Nick Koston 26fd7fc15b
Add dhcp discovery to tado (#49992) 2021-05-02 12:43:59 -10:00
Florian Gareis 93b668a6f9
Upgrade yeelight to 0.6.2 (#49995) 2021-05-03 00:05:40 +02:00
Franck Nijhof 6c4448a272
Upgrade elgato to 2.1.0 (#49975) 2021-05-02 17:18:36 +02:00
J. Nick Koston f7fafa6b8b
Add zeroconf discovery to rachio (#49973) 2021-05-02 17:09:12 +02:00
Diogo Gomes 24b9d73392
Improves UX of Utility Meter services (#48556) 2021-05-02 10:53:35 +02:00
jan iversen 8adbc62a6e
Enable homeassistant.update_entity service for all modbus platforms (#49918)
* Rename _update() to update()

A platform neeed a function update(), even though
polling is false, this is due to the service:
homeassistant.update_entity, which calls update()

* Update test harnesss to script testing.

Test homeassistant.update_entity in all platforms.
This call calls update() in the platform to get
a new reading.

* Add reuse parameter.

* Move service call from helper to tests.

* Change run_service_update --> prepare_service_update.

* Remove entity_id parameter.
2021-05-02 10:41:36 +02:00
Paulus Schoutsen 1bd9826684
Handle different entity_id formats (#49969) 2021-05-01 20:30:28 -07:00