Commit Graph
11916 Commits
Author SHA1 Message Date
Matthias AlphartandMarvin Wichmann b3d1574a71 Refactor KNX config flow and validate user input (#69698)
* validate config flow user input

* test flow for invalid user input

* validate multicast address blocks

* Update homeassistant/components/knx/config_flow.py

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>
2022-04-10 15:56:45 +02:00
Allen PorterandMartin Hjelmare a063f55c82 Handle expired credentials in reauth in google calendar initialization (#69772)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 23:01:48 -07:00
Christopher Bailey ad29d89484 Fix unifiprotect for 2.0.0-beta2 of UniFi Protect (#69762) 2022-04-09 11:34:48 -10:00
Mike Fugate 836b051be9 Fix SleepIQ firmness number step and min values (#69757)
* fix sleepiq firmness number step and min values

* add asserts for min/max/step attributes
2022-04-09 22:46:58 +03:00
J. Nick KostonandMartin Hjelmare fe6a4bfb1d Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC (#69643)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 09:05:54 -10:00
J. Nick Koston 689b347904 Increase tplink effects random seed allowed range to 1-600 (#69725)
* Increase tplink effects random seed allowed range to 1-600

Reported https://community.home-assistant.io/t/tp-link-integration-support-for-kl430-led-light-strip/190635/62?u=bdraco

* cover
2022-04-09 10:08:17 +03:00
Allen Porter d76fb2d891 Remove unnecessary async from test fixtures (#69722) 2022-04-09 08:33:24 +02:00
Dave T 6d17f4ffff Support webp still image format in generic camera (#69718) 2022-04-08 23:06:34 -07:00
epenetandJ. Nick Koston 071ef6c74f Fix upnp subscription in SamsungTV (#69652)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-08 23:05:00 -07:00
Dave T 6fd041b290 Don't test config on yaml import for generic camera (#69714) 2022-04-08 22:59:54 -07:00
Shay Levy 06e4c2f351 Fix Shelly gen2 cover unavailable when not calibrated (#69671) 2022-04-08 22:54:42 -07:00
Allen PorterandMartin Hjelmare 06d2aeec6b Refresh google calendar tokens with invalid expiration times (#69679)
* Refresh google calendar tokens with invalid expiration times

* Update tests/components/google/conftest.py

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

* Remove unnecessary async methods in functions being touched already

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-08 20:27:58 -07:00
Marvin Wichmann b5b514b62f Full test coverage for KNX integration (#69697)
* Full test coverage for KNX integration

* Allow for 0 values, since we all live at those kind of areas in the world

* Remove unneeded method

* Add missing test for climate mode

* Cleanup test and remove fixture that was used only once
2022-04-09 00:33:50 +02:00
Allen Porter d54cb49f32 Remove "XXX" from calendar tests and implement real test (#69677)
* Remove "XXX" from calendar tests and implement real test

Remove a placeholder that was accidentally commited in the
calendar tests, and replace with a real test.

* Remove stale comment
2022-04-08 18:46:51 +03:00
J. Nick KostonandMartin Hjelmare 72fffde77a Fix spelling of periodic in recorder (#69658)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-07 23:37:02 -10:00
Allen Porter 1cce0a5744 Fix bugs calendar oauth token date handling (#69641) 2022-04-07 21:53:30 -07:00
J. Nick Koston 66f0a3816a Reduce memory pressure during database migration (#69628) 2022-04-07 18:29:31 -10:00
Matt Zimmerman 8c00fde27d [powerwall] Skip backup reserve sensor if data is unavailable (#69637) 2022-04-07 20:34:00 -07:00
Erik Montnemery 949b0e1b65 Don't allow in-memory SQLite database (#69616) 2022-04-08 00:43:09 +02:00
puddly fab1f29a29 Move new zha_event command parameters into a params key to ensure backwards compatibility (#69631) 2022-04-07 15:33:14 -07:00
Dave T be8e28503c Generic fix stream thumbnail (#69378) 2022-04-07 15:01:29 -07:00
Diogo Gomes a3cfb6d4ae Fix utility_meter reset service (#69612) 2022-04-07 23:55:34 +02:00
J. Nick Koston 6dc72ebf6c Mark backgrounds optional for tplink random effects (#69622) 2022-04-07 23:19:17 +02:00
epenetandFranck Nijhof a61ac3ddc6 Add EntityFeature enum to Siren (#69585)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-07 23:08:09 +02:00
Patrik Lindgren 74021d62da Finalize deprecation of groups in Tradfri integration (#69460)
* Finalise cleanup of groups

* Fix tests

* Remove

* Revert change
2022-04-07 22:19:12 +02:00
Erik Montnemery 4a7c978f69 Speedup recorder test test_write_lock_db (#69578) 2022-04-07 15:36:58 +02:00
epenet 190ef4ee35 Use EntityFeature enum in components (s** 2/2) (#69441) 2022-04-07 15:06:34 +02:00
Erik Montnemery e8852e0f30 Migrate lcn light to color_mode (#69419) 2022-04-07 14:49:12 +02:00
J. Nick Koston 47c3aef7a2 Fix registered entities without a category not being exclude-able in the HomeKit UI (#69543) 2022-04-07 13:46:41 +02:00
Joakim Sørensen a5dc95e715 Fix adding OS entities for supervised installations (#69539) 2022-04-07 13:34:20 +02:00
Erik Montnemery 0ad9da9dd0 Always use a commit interval of 0 for the in memory db in tests (#69556) 2022-04-07 13:04:08 +02:00
J. Nick Koston 5c7c09726a Cleanup recorder history typing (#69408) 2022-04-07 00:09:05 -10:00
epenet 75eec850c1 Use EntityFeature enum in components (u**) (#69462) 2022-04-06 21:35:15 -10:00
Erik Montnemery 9834197f71 Migrate myq light to color_mode (#69427) 2022-04-06 21:09:07 -10:00
Allen Porter 10a1b1f734 Gracefully handle empty summary in google calendar (#69520)
Gracefully handle empty summary in google calendar matching the old behavior
before some code cleanup.
2022-04-07 08:26:07 +02:00
Allen Porter c07100e519 Move Local OAuth http endpoint registration to auth component (#69507) 2022-04-06 22:34:31 -07:00
J. Nick Koston d6619dd4bc Fix reloading the sun integration (#69495) 2022-04-06 16:06:22 -07:00
Michael 95421b1ae7 Ignore IPv6 link local address on ssdp discovery in Fritz!Smarthome (#69455) 2022-04-06 15:45:46 -07:00
J. Nick Koston 02d245a31a Fix reload race in unifiprotect (#69485)
- The integration already has a reload listener installed
  once it is setup. We should not reload from the config
  flow since they compete
2022-04-07 00:21:50 +03:00
Paulus Schoutsen c765e11f55 Fix telegram broadcast (#69452) 2022-04-06 10:44:02 -07:00
Raman Gupta bc194cd209 Add zeroconf discovery to zwave_js (#69382) 2022-04-06 18:46:13 +02:00
Franck Nijhof c0e9cfedfb Add device trigger support to Update entity (#69395) 2022-04-06 08:50:21 -07:00
epenet 5e2cc2b9b0 Use EntityFeature enum in components (m**) (#69414)
* Use EntityFeature in melcloud

* Use EntityFeature in mystrom

* Use EntityFeature in mysensors

* Use EntityFeature in myq

* Use EntityFeature in mpd

* Use EntityFeature in monoprice

* Use EntityFeature in moehlenhoff_alpha2

* Use EntityFeature in modern_forms

* Use EntityFeature in modbus

* Use EntityFeature in melissa

* Use EntityFeature in mediaroom

* Use EntityFeature in maxcube

* Use EntityFeature in manual_mqtt

* Fix maxcube tests

* Revert "Use EntityFeature in modbus"

This reverts commit 56cf9d900d71cdb1d39d20bde9a78ba6aef560a7.

* Revert "Use EntityFeature in myq"

This reverts commit 44a31b1a03b4ca23a65d600a2f002f47e80cee73.

* Revert "Use EntityFeature in mystrom"

This reverts commit 7260ee0384ff46426c919e65b3725200f5677b6a.

* Revert "Revert "Use EntityFeature in modbus""

This reverts commit 916a612a6091221359aca8570a76eb7a03dbce20.

* Revert "Revert "Use EntityFeature in myq""

This reverts commit a6be42fa1762ea3ab66f97a89b254e7d2ba76a33.
2022-04-06 17:33:41 +02:00
ef14ae85c8 Fix Wallbox charger status (#68708)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-06 12:05:50 +02:00
epenet 20c1a155b6 Use EntityFeature enum in components (g**) (#69394) 2022-04-06 10:46:44 +02:00
Erik Montnemery 7b5dd4a623 Restore attributes of template binary sensor (#69350) 2022-04-05 22:58:12 -07:00
Raman Gupta 79dc551f5a Fix regression in zwave_js (#69312)
* Handle unique ID update during discovery step

* Use callback to convert unique IDs to strings

* Adjust test to make sure logic works

* Fix other tests

* Move comment

* Move migration to async_setup

* Remove async_migrate_entry since we take care of it during setup

* Remove unused test
2022-04-06 00:40:33 -04:00
J. Nick Koston 4b5033d08f Abort samsungtv discovery of legacy devices when unique id not available (#69376) 2022-04-05 16:38:55 -07:00
J. Nick Koston bde3646293 Always use a commit interval of 0 for the in memory db in tests (#69330) 2022-04-05 12:06:06 -10:00
J. Nick Koston 8b2948f030 Ensure state is restored when turning on tplink lights without a color mode (#69308) 2022-04-05 13:46:12 -07:00