Commit Graph

12055 Commits (265bf3e9e027c06dd3247eb99a3894f840de8d75)

Author SHA1 Message Date
Allen Porter 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 Koston 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
epenet 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 56cf9d900d.

* Revert "Use EntityFeature in myq"

This reverts commit 44a31b1a03.

* Revert "Use EntityFeature in mystrom"

This reverts commit 7260ee0384.

* Revert "Revert "Use EntityFeature in modbus""

This reverts commit 916a612a60.

* Revert "Revert "Use EntityFeature in myq""

This reverts commit a6be42fa17.
2022-04-06 17:33:41 +02:00
hesselonline 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
Robert Svensson d6d7f3cb3c
Bump pydeconz to v88 (#69369) 2022-04-05 13:44:04 -07:00
epenet 2cf3057ff1
Add basic type hints to utility_meter (#69325)
Co-authored-by: Diogo Gomes <diogogomes@gmail.com>
2022-04-05 15:43:10 +02:00
Patrik Lindgren 04fc3a1f25
Cleanup constants in Tradfri integration (#69125)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-05 14:00:45 +02:00
J. Nick Koston ec131d685e
Auto repack the database on the second sunday of the month (#69314) 2022-04-04 21:39:12 -10:00
Toke Høiland-Jørgensen 8145b103fb
Fix network starting with no configured IPv4 addresses (#69030)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-04 23:53:50 -07:00
Raman Gupta 6965a6d13b
Fix tomorrowio sensor units and conversions (#69166)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-04 23:52:36 -07:00
starkillerOG 4dade9668a
Motion Blinds auto interface (#68852)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-04 10:55:36 -10:00
RDFurman 95a97d99dd
Honeywell outdoor sensor (#65347) 2022-04-04 12:26:33 -06:00
Erik Montnemery e830032b33
Remove deprecated temperature conversion of non temperature sensors (#69069) 2022-04-04 20:02:40 +02:00
Erik Montnemery 9cd83c8b48
Migrate homematicip_cloud light to color_mode (#69270) 2022-04-04 09:32:51 -07:00
Erik Montnemery fe65804de1
Correct unit of vera power meter sensor (#69285) 2022-04-04 09:25:02 -07:00
Franck Nijhof b369616aad
Remove deprecated YAML configuration from MJPEG Camera (#68980) 2022-04-04 17:57:48 +02:00
Erik Montnemery 6b4e0c744c
Migrate hyperion light to color_mode (#69276) 2022-04-04 17:39:21 +02:00
Joakim Sørensen cfdfa3eab2
Make hassio coordinator refresh data (#69272) 2022-04-04 17:34:06 +02:00
J. Nick Koston c2c6d12d73
Only fire device_registry_updated for suggested_area if the suggestion results in an area change (#69215) 2022-04-04 09:51:39 +02:00
Franck Nijhof 14a19aea03
Exclude update entity picture attribute from recorder (#69201) 2022-04-03 21:41:51 +02:00
J. Nick Koston cf685ef651
Fix profiler object growth logging test (#69211) 2022-04-03 20:39:47 +02:00
Franck Nijhof b644e7ed0f
Set brand icon as entity picture on update entities (#69200)
Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2022-04-03 20:38:05 +02:00
Franck Nijhof bd1d7bdbb7
Exclude more media player attributes from recorder (#69209) 2022-04-03 12:37:13 -06:00
Franck Nijhof 20f95fa6b3
Exclude weather forecast attribute from recorder (#69205) 2022-04-03 20:16:12 +02:00
Kevin Stillhammer 6106f07820
Catch malformed coordinates in here_travel_time (#69023)
* Catch malformed coordinates in here_travel_time

* Add testcase for malformed entity_id state

* Replace type ignore with None check

* Directly raise InvalidCoordinatesException
2022-04-03 10:21:55 -07:00
J. Nick Koston 198f4a12f0
Exclude static select attributes from being recorded in the database (#69195) 2022-04-03 17:17:55 +02:00
J. Nick Koston e364456a46
Exclude static siren attributes from being recorded in the database (#69196) 2022-04-03 17:16:49 +02:00
J. Nick Koston e48cec4b33
Exclude static vacuum attributes from being recorded in the database (#69199) 2022-04-03 17:15:50 +02:00
J. Nick Koston 9e390996cc
Exclude static fan attributes from being recorded in the database (#69192) 2022-04-03 15:52:46 +02:00
J. Nick Koston 4f8c7fe05b
Exclude static number attributes from being recorded in the database (#69194) 2022-04-03 15:43:44 +02:00
J. Nick Koston 8de26e5085
Exclude static humidifier attributes from being recorded in the database (#69193) 2022-04-03 15:42:29 +02:00
Austin Mroczek e5fe18bdb1
Improve totalconnect error handling (#68716) 2022-04-03 07:12:33 -06:00
J. Nick Koston 5b874ce6e8
Exclude static light attributes from being recorded in the database (#69155) 2022-04-03 06:13:03 -06:00
Erik Montnemery eeeb21a9f1
Migrate dynalite light to color_mode (#69177) 2022-04-03 13:58:28 +02:00
J. Nick Koston 522a9bb6b1
Exclude supported features and attribution from being recorded in the database (#69165) 2022-04-03 13:51:42 +02:00
Erik Montnemery 24754c31ca
Remove use of deprecated constants from evil_genius_labs light (#69183) 2022-04-03 13:37:29 +02:00
ollo69 0876239927
Do not redact diagnostics empty key (#69160) 2022-04-03 13:17:08 +02:00
Franck Nijhof 17403f930f
Add EntityFeature enum to Media Player (#69119) 2022-04-02 20:58:23 -07:00
Franck Nijhof 721db6d962
Add EntityFeature enum to Lock (#69118) 2022-04-02 20:57:32 -07:00
Franck Nijhof ea148a1b8e
Add EntityFeature enum to Light (#69103)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-02 20:57:01 -07:00
Raman Gupta e06856f965
Make zwave_js config entry unique ID a string (#69163)
* Make zwave_js config entry unique ID a string

* Add test

* Fix tests
2022-04-02 23:52:07 -04:00
J. Nick Koston b92fc42f0f
Exclude static climate attributes from being recorded in the database (#69158) 2022-04-02 20:48:32 -07:00
J. Nick Koston 9d82248017
Exclude static and token attributes from being recorded for media_player (#69156) 2022-04-02 20:47:43 -07:00
J. Nick Koston 42bf62e187
Exclude static water_heater attributes from being recorded in the database (#69159) 2022-04-02 20:46:41 -07:00
Diogo Gomes 6389959fb7
Makes sure YAML defined tariffs are unique (#69151) 2022-04-02 20:41:03 -07:00
Wictor d7375f1a9c
Refactor telegram_bot polling/webhooks platforms and add tests (#66433)
Co-authored-by: Pär Berge <paer.berge@gmail.com>
2022-04-02 20:39:14 -07:00
Franck Nijhof 1a04dc4fca
Set brand icon on WLED update entity (#69145) 2022-04-02 22:28:08 +03:00
Dave T c3354dcaae
Add image test cases to generic (#69040) 2022-04-02 10:54:19 +02:00
Keilin Bickar 1563420de8
Bump asyncsleepiq to 1.2.3 (#69104) 2022-04-02 10:44:16 +02:00
Erik Montnemery 66e9b263a8
Migrate bond light to color_mode (#69078) 2022-04-01 22:03:19 -10:00
Álvaro Fernández Rojas aa969d5ae8
Add missing typing to Airzone tests (#69097) 2022-04-02 10:01:49 +02:00
Patrik Lindgren 4b5996c5ed
Drop support for Tradfri groups and YAML configuration (#68033)
* Drop support for Tradfri groups

* Remove context

* Remove async_setup

* Mark removed

* Pass generator expression
2022-04-01 23:26:35 +02:00
Bouwe Westerdijk 9902ecb417
Remove use of HVAC_MODE_OFF in plugwise climate, it's not implemented (#69094) 2022-04-01 20:53:09 +02:00
Franck Nijhof c31e788439
Rename current_version to installed_version in Update platform (#69093) 2022-04-01 20:11:17 +02:00
Franck Nijhof 02dbd617b9
Add EntityFeature enum to Humidifier (#69092) 2022-04-01 20:10:52 +02:00
Franck Nijhof 8fc55b71c5
Add EntityFeature enum to Climate (#69077) 2022-04-01 09:41:49 -07:00
epenet 4c7e1fe060
Cleanup ENTITY_CATEGORIES_SCHEMA (#66549)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-04-01 09:40:43 -07:00
Franck Nijhof 93571c2d01
Add EntityFeature enum to Camera (#69072) 2022-04-01 09:38:03 -07:00
Joakim Sørensen 78e4d7e1ca
Add auto_update property to supervisor and addon update entities (#69055) 2022-04-01 08:31:39 -07:00
Erik Montnemery bda997efe9
Fix utility_meter startup (#69064) 2022-04-01 08:28:50 -07:00
Erik Montnemery 87100c2517
Drop deprecated support for unit_of_measurement from sensor (#69061) 2022-04-01 08:22:19 -07:00
Erik Montnemery 9b21a48048
Mend incorrectly imported MQTT config entries (#68987)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-01 08:11:31 -07:00
Billy Stevenson 2c3d9566cb
Add Meater integration (#44929)
Co-authored-by: Alexei Chetroi <lexoid@gmail.com>
Co-authored-by: Brian Rogers <brg468@hotmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Erik <erik@montnemery.com>
2022-04-01 15:11:37 +02:00
Franck Nijhof be7fc35dfa
Add EntityFeature enum to Alarm Control Panel (#69044) 2022-04-01 13:54:03 +02:00
J. Nick Koston 220beefb89
Prevent HomeKit from offering hidden entities (#69042) 2022-04-01 13:34:44 +02:00
Joakim Sørensen a81194cdd7
Add auto_update property to UpdateEntity (#69054) 2022-04-01 12:56:58 +02:00
Diogo Gomes 2963aea3ec
Ignore old_state when using delta_values (#68402)
* delta value updates don't require old_state

* add test

* merge
2022-04-01 12:08:00 +03:00
Shay Levy 4a921ac67f
Remove webostv deprecated YAML import (#69043)
* webostv: remove deprecated YAML import

* Remove unused CUSTOMIZE_SCHEMA and WEBOSTV_CONFIG_FILE
2022-04-01 11:05:59 +03:00
Raman Gupta 94a8d75142
Fix zwave_js device action logic (#69049)
* Fix zwave_js device action logic

* Add test for this behavior
2022-04-01 07:44:52 +02:00
Paulus Schoutsen 130ca2213f
Enforce EntityCategory enum (#69015)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-31 15:04:33 -07:00
Paulus Schoutsen 824066f519
Device Automation: enforce passing in device-automation-enum (#69013) 2022-03-31 14:30:11 -07:00
Erik Montnemery 69ee4cd978
Deprecate temperature conversion in base entity class (#68978)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-31 14:29:44 -07:00
Franck Nijhof e69450f7ca
Remove deprecated YAML configuration from Fronius (#69032) 2022-03-31 22:38:54 +02:00
Franck Nijhof beb54dfb63
Remove deprecated YAML configuration from Yamaha Music Cast (#69033) 2022-03-31 13:35:44 -07:00
Franck Nijhof 7a31c8f53c
Remove deprecated YAML configuration from Brunt (#69024) 2022-03-31 13:31:17 -07:00
Franck Nijhof 388677e03b
Remove deprecated YAML configuration from EZVIZ (#69031) 2022-03-31 13:30:42 -07:00
Franck Nijhof 5280bf2296
Remove deprecated template support in persistent notifications (#69021) 2022-03-31 13:28:15 -07:00
Paulus Schoutsen 72c4c359a4
iCloud: remove deprecated YAML import (#69006)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-31 13:25:32 -07:00
Paulus Schoutsen 5eb19b8a70
Enforce RegistryEntryDisabler enum (#69017)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-31 13:10:07 -07:00
Franck Nijhof a9a14d6544
Remove deprecated YAML configuration from Yale Smart Alarm (#69025) 2022-03-31 13:09:24 -07:00
Franck Nijhof af6953157f
Remove deprecated YAML configuration from Met.no (#69027) 2022-03-31 13:08:51 -07:00
Franck Nijhof b45399b164
Remove deprecated YAML configuration from Sensibo (#69028) 2022-03-31 13:07:48 -07:00
Paulus Schoutsen 666cbebd28
DNS IP: Remove deprecated YAML import (#69007)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-31 21:04:55 +02:00
Joakim Sørensen fef43d4f39
Cleanup Version after removing YAML (#69020) 2022-03-31 20:59:26 +02:00
Paulus Schoutsen 56998f219b
Version: remove deprecated YAML import (#69010) 2022-03-31 20:25:01 +02:00
Paulus Schoutsen bb322a18bb
Launch Library: remove deprecated YAML import (#69008) 2022-03-31 20:23:52 +02:00
Paulus Schoutsen 513b05c927
Nanoleaf: remove deprecated YAML import (#69004) 2022-03-31 20:18:17 +02:00
Paulus Schoutsen d5f4e512e9
Solax: remove deprecated YAML import (#69003) 2022-03-31 20:16:55 +02:00
Paulus Schoutsen 88c9233d50
Remove deprecated Switchbot import (#69002) 2022-03-31 20:12:02 +02:00
Álvaro Fernández Rojas 86bec82c24
Update aioairzone to v0.3.1 (#68975) 2022-03-31 19:58:56 +02:00
puddly 0f6296e4b5
Bump zigpy to 0.44.1 and zha-quirks to 0.0.69 (#68921)
* Make unit tests pass

* Flip response type check to not rely on it being a list
https://github.com/zigpy/zigpy/pull/716#issuecomment-1025236190

* Bump zigpy and quirks versions to ZCLR8 releases

* Fix renamed zigpy cluster attributes

* Handle the default response for ZLL `get_group_identifiers`

* Add more error context to `stage failed` errors

* Fix unit test returning lists as ZCL request responses

* Always load quirks when testing ZHA

* Bump zha-quirks to 0.0.69
2022-03-31 11:26:27 -04:00
Franck Nijhof 2c66ac6203
Remove deprecated Updater integration (#68981)
* Remove deprecated Updater integration

* Remove updater mock
2022-03-31 16:39:57 +02:00
Raman Gupta 4e2b6db397
Add comments to zwave_js node metadata WS API (#67210)
* Add comments to zwave_js node metadata WS API

* Add test dat
2022-03-31 10:31:17 -04:00
J. Nick Koston 185aa025ac
Exclude large and chatty attributes from being recorded for update entities (#68940)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-03-31 14:28:19 +02:00
Erik Montnemery 400943ce99
Make utility_meter tariffs a list (#68967) 2022-03-31 13:57:26 +02:00
Raman Gupta 6b2fe6cba9
Add support for new select selector properties (#68952)
* Add support for new select selector properties

* fix mode option

* Apply suggestions from code review

* Correct validation for empty options, update tests

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-31 11:28:49 +02:00
Dave T 7a5235dc0c
Generic camera: Allow gif image type in still image checker (#68933) 2022-03-30 21:02:43 -10:00
Dave T 3244980a35
Generic camera: Allow svg detect to accept leading whitespace (#68932) 2022-03-31 00:45:55 +02:00
Erik Montnemery f9f360c64e
Rename helper_config_entry_flow to schema_config_entry_flow (#68924) 2022-03-30 14:36:47 -07:00
rianadon c4a2204cc7
Calculate temperature precision based on user units (#59560)
* Calculate temperature precision based on user units

* Fix a few more failing tests

* Fix failing test

Co-authored-by: Erik <erik@montnemery.com>
2022-03-30 22:49:28 +02:00
Marvin Wichmann 9b05a1264a
Add support for IP secure to KNX config flow (#68906)
* Add support for TCP Secure in KNX config flow

* Add support for TCP Secure in KNX config flow

* Fix typing

* Fix import

* Move assert up to cover all possible cases
2022-03-30 21:10:47 +02:00
Jeff Rescignano 7767258696
Change sharkiqpy to sharkiq (#68864) 2022-03-30 11:41:34 -07:00
Tom 3590467ce6
Update plugwise module to 0.17.2 (#68908) 2022-03-30 19:37:05 +02:00
Erik Montnemery 9471e4d77c
Don't override temperature unit for sensors (#68910) 2022-03-30 10:15:00 -07:00
Joakim Sørensen 6d168d2672
Do not mark downgrades as updates (#68893) 2022-03-30 09:34:29 -07:00
J. Nick Koston fb41734342
Add support for custom effects to tplink light strips (#68502) 2022-03-30 09:34:09 -07:00
Erik Montnemery 2c92d19058
Exclude own entity from group entity selector (#68782) 2022-03-30 18:07:47 +02:00
Antoni Czaplicki 76f07ec240
Add Uonet+ Vulcan integration (#56357)
* Add Uonet+ Vulcan integration

* Add "configuration_url", fix some minor issues

* Refactor and fix tests

* Optimize code

* Apply suggestion from code review

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>

* Update error handling

* Fix some tests

* Update CODEOWNERS and fix pylint

* Cleanup vulcan tests

* Run prettier

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-30 17:55:24 +02:00
Tom 4d607b2eb5
Update plugwise module to 0.16.9 (#68255)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-30 17:12:20 +02:00
Franck Nijhof ca1337d9c2
Update vehicle to 0.4.0 (#68896) 2022-03-30 16:15:34 +02:00
Erik Montnemery 91f6e58e9a
Allow customizing unit for temperature and pressure sensors (#64366)
* Allow customizing unit for temperature and pressure sensors

* pylint

* Adjust google_wifi tests

* Address review comments and add tests

* Improve rounding when scaling

* Tweak rounding

* Further tweak rounding

* Allow setting entity options with config/entity_registry/update

* Address review comments

* Tweak tests

* Load custom unit when sensor is added

* Override async_internal_added_to_hass

* Adjust tests after rebase

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Address review comments

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-30 15:43:04 +02:00
Garrett ab0abdc988
Add 2FA support for Subaru integration setup (#68753)
* Add 2FA support for Subaru integration setup

* Update config flow to abort with 2FA request fail
2022-03-30 13:53:03 +02:00
Tom Brien bb7593351b
Add option for exchange rate sensor precision to Coinbase (#68792)
* Add user option for precision to exchange rate sensors

* Add tests

* Add strings
2022-03-30 13:51:44 +02:00
Kevin Stillhammer 259b069dd9
Ensure API is called correctly in here_travel_time (#68840) 2022-03-30 13:49:21 +02:00
Eric Svärd 04bb156e99
Discard Solaredge updates for invalid overview data (#68048) 2022-03-30 13:36:55 +02:00
Álvaro Fernández Rojas 0cb8ff9bc6
Fix HVAC modes for Airzone slave zones (#68851) 2022-03-30 13:32:15 +02:00
Eric Severance 3953b6abe2
Fix error handling for expired html5 registration (#67676) 2022-03-30 13:30:08 +02:00
Robert Hillis 9f0665bbb4
Add config flow to discord (#61069) 2022-03-30 13:18:48 +02:00
epenet 9aac5d6af1
Prettify json (#68895) 2022-03-30 12:15:04 +02:00
epenet 053c4428a9
Prettify json (component test fixtures) (#68892) 2022-03-30 11:37:17 +02:00
epenet 831e2ace9c
Prettify yaml (tests) (#68891) 2022-03-30 11:26:08 +02:00
epenet 496d90bf00
Prettify json (tests) (#68888) 2022-03-30 11:12:58 +02:00
J. Nick Koston bbcefd6fec
Exclude sun attributes from being recorded in the database (#68887) 2022-03-30 11:03:08 +02:00
Paulus Schoutsen 206ea9d237
Expand group lights/covers etc (#68875)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-30 10:11:09 +02:00
Joakim Sørensen 618b16a32b
Add full release notes to add-on update entities (#68876) 2022-03-30 09:52:29 +02:00
IceBotYT 5cd532b16a
Improve code quality of PECO integration (#68865) 2022-03-30 09:50:25 +02:00
Raman Gupta df4ddc6491
Allow timer state to be restored on restart (#67658) 2022-03-29 23:04:46 -07:00
north3221 e76170fbfd
Add overlay options to Tado (#65886)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-29 22:59:03 -07:00
Marcel van der Veldt 09f6785956
Add virtual device/service for Hue groups (#68569) 2022-03-29 20:33:05 -07:00
Erik Montnemery 7e8d52e5a3
Fix race when handling rapid succession of MQTT discovery messages (#68785)
Co-authored-by: jbouwh <jan@jbsoft.nl>
2022-03-29 20:26:11 -07:00
Michael 2f7aeb64d2
Add config flow to Tankerkoenig (#68386) 2022-03-29 20:23:30 -07:00
J. Nick Koston f5a13fc51b
Add ability to exclude attributes from being recorded by entity domain (#68824) 2022-03-29 20:13:08 -07:00
Sebastian Lövdahl ced68c1b80
Add Vallox cell state sensor tests (#67069) 2022-03-29 17:07:09 -10:00
Chris Talkington f4c443ac86
Use fixture for enabling entities in Sonarr tests (#68177) 2022-03-29 17:04:13 -10:00
Allen Porter 66a183cfe3
Add nest device level diagnostics (#68024) 2022-03-29 16:56:03 -10:00
Mick Vleeshouwer 365ea59b64
Improve Config Flow and handle TooManyAttemptsBannedException in Overkiz (#68868) 2022-03-29 16:19:57 -10:00
Joakim Sørensen 9a150c2234
Add release_notes method to update entities (#68842) 2022-03-29 17:38:56 -07:00
Jason Hunter 94df0844b3
Add lock groups (#68857) 2022-03-29 17:07:23 -07:00
Michael 96c607d50d
Add update entities to PI-Hole (#68749) 2022-03-29 16:56:15 -07:00
Michael 3d64d1b76b
Add tests for Fritz!Tools sensors (#67776) 2022-03-29 16:54:16 -07:00
Michael 94c5dbfd16
Rework config flow in AVM Fritz!Tools (#67767) 2022-03-29 16:53:53 -07:00
Raman Gupta 603601b32e
Use location selector in tomorrowio config flow (#68431) 2022-03-29 16:53:31 -07:00
G Johansson 06435f633f
Implement config flow for trafikverket_train (#65182) 2022-03-29 08:32:38 -10:00
Marvin Wichmann cec3a08b95
Cleanup KNX integration (#68820)
* Cleanup KNX integration

* Cleanup KNX integration

* Update homeassistant/components/knx/__init__.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

Co-authored-by: Matthias Alphart <farmio@alphart.net>
2022-03-29 16:46:02 +02:00
Michael Chisholm 62aa7fe10e
dlna_dms fixes from code review (#67796) 2022-03-29 15:32:16 +02:00
Erik Montnemery bdb61e0222
Add config flow for utility_meter (#68457) 2022-03-29 14:46:17 +02:00
epenet 014aadb299
Use new CONF_MODEL core constant (2/3) (#68831)
* Use CONF_MODEL in xiaomi_miio

* Use CONF_MODEL in xiaomi

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 11:12:43 +02:00
epenet a29990a784
Use new CONF_MODEL core constant (1/3) (#68829)
* Use CONF_MODEL in axis

* Use CONF_MODEL in denonavr

* Use CONF_MODEL in flux_led

* Use CONF_MODEL in konnected

* Use CONF_MODEL in steamist

* Use CONF_MODEL in tellstick

* Use CONF_MODEL in tensorflow

* Use CONF_MODEL in twinkly

* Use CONF_MODEL in yeelight

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 11:11:58 +02:00
jjlawren 112d232c2e
Autoresume in-progress items from Plex media browser (#68494) 2022-03-29 11:08:26 +02:00
ollo69 0d8736b82b
Remove ipaddress check in AndroidTV config flow (#68630) 2022-03-29 10:44:33 +02:00
Maximilian d655d54a8f
Added more attributes (#67135) 2022-03-29 11:34:09 +03:00
epenet 2bb42f48aa
Add CONF_MODEL to core constants (#68806)
* Add CONF_MODEL to core constants

* Use CONF_MODEL in SamsungTV

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 10:01:10 +02:00
J. Nick Koston 14fbda8412
Add option to connect to elkm1 non-secure when secure is discovered (#68735)
Co-authored-by: Glenn Waters <glenn@watrs.ca>
2022-03-29 00:10:49 -07:00
IceBotYT fb14ae211e
Add support for static typing for the PECO library (#68707) 2022-03-29 08:47:20 +02:00
Paulus Schoutsen 69fcce3b2c
Remove energy usage from the switch base class (#68821)
* Remove energy usage from the switch base class

* Remove unused attributes from integrations
2022-03-28 18:56:04 -10:00
Eric Severance c6ba987995
Use device properties for WeMo Insight sensors (#63525) 2022-03-28 17:47:18 -07:00
J. Nick Koston 349060be2f
Disable Unifi Protect Oldest Recording sensor by default (#68804) 2022-03-28 14:24:54 -10:00
starkillerOG 98ca9754d7
Motion Blinds dhcp discovery (#68809)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-28 13:01:17 -10:00
epenet 8eb2e131e5
Use DmrDevice to communicate with SamsungTV (#68777)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-28 12:23:38 -10:00
Matthias Alphart f2aee38841
Run KNX protocol logic in a separate thread (#68807) 2022-03-28 23:56:29 +02:00
Allen Porter 9881538c27
Improve caldav tests to use APIs rather than entity methods (#68745)
* Improve caldav tests to use APIs rather than entity methods

Update caldav tests to use the best practice of exercising the public APIs rather than directly calling the entity methods directly. This is motivated by additional calendar API cleanup and possibly future breaking changes.

* Remove unnecessary start/end arguments which are ignored
2022-03-28 22:22:49 +02:00
Ville Skyttä 38ef183433
Change newly appeared DISABLED_USERs in tests to RegistryEntryDisablers (#68799) 2022-03-28 21:15:42 +02:00
Dave T c1a2be72fc
Generic IP Camera configflow 2 (#52360)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-28 09:08:00 -10:00
epenet de130d3b28
Update REST api mocking in SamsungTV (#68172)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-28 09:04:19 -10:00
Allen Porter 609c6ef5d4
Add test coverage for google calendar event response format (#68767)
Add test coverage for the calendar event response format as I am about to do some
refactoring and simplification. Notably, each calendar implementation uses a slightly different
API response, and this is codifying that.
2022-03-28 18:05:02 +02:00