1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00
Commit Graph

16744 Commits

Author SHA1 Message Date
Jan-Philipp Benecke
0eafc8f2cd Update k-l* tests to use entity & device registry fixtures (#103929) 2023-11-13 20:02:33 +01:00
Jan-Philipp Benecke
f0a455e5c7 Update icmplib privilege detection function to be async in ping integration (#103925)
* Make icmplib privilege detection function async

* I should also commit the tests..
2023-11-13 19:37:58 +01:00
r01k
7ef47da27d Add HTTPS support for Fully Kiosk (#89592)
* Add HTTPS support for Fully Kiosk with optional certificate verification.

* All pytests passing.

* Better readability for url parameter of DeviceInfo

* All pytests passing with latest fixes from upstream

* Removing fully_kiosk/translations

* Rebasing

* Added extra error detail when the integration config flow fails

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-13 17:40:57 +01:00
Steven Looman
39c81cb4b1 Prefer IPv4 locations over IPv6 locations for upnp devices/component (#103792) 2023-11-13 10:09:27 -06:00
Max
1e57bc5415 Add number state to prometheus metrics (#102518) 2023-11-13 17:03:08 +01:00
Allen Porter
ba3269540f Cleanup CalDAV test fixtures (#103893) 2023-11-13 15:57:47 +01:00
Christopher Fenner
109bcd86f1 Add reauth flow to ViCare integration (#103109)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-13 13:57:29 +01:00
ollo69
1e375352bb Use decorator for AsusWrt api calls (#103690) 2023-11-13 13:55:31 +01:00
G Johansson
8e71086c21 Workday add languages (#103127) 2023-11-13 13:41:46 +01:00
FredericMa
d4c5a93b63 Add Risco communication delay (#101349)
* Add optional communication delay in case a panel responds slow.

* Add migration test

* Connect by increasing the communication delay

* Update init to use option instead of config

* Updated strings

* Fix migration and tests

* Review changes

* Update connect strategy

* Update tests

* Changes after review

* Change typing from object to Any.

* Add test to validate communication delay update.

* Move test to separate file

* Change filename.
2023-11-13 12:24:20 +01:00
Jan-Philipp Benecke
92b3c0c96b Update i-j* tests to use entity & device registry fixtures (#103900) 2023-11-13 11:51:55 +01:00
David Knowles
1888311800 Hydrawise: Explicitly set switch state on toggle (#103827)
Explicitly set switch state on toggle
2023-11-12 23:09:08 +01:00
Allen Porter
64c9aa0cff Update Fitbit to avoid a KeyError when restingHeartRate is not present (#103872)
* Update Fitbit to avoid a KeyError when `restingHeartRate` is not present

* Explicitly handle none response values
2023-11-12 12:49:49 -08:00
Jan-Philipp Benecke
eda475fe25 Update h* tests to use entity & device registry fixtures (#103866)
* Update h* tests to use entity & device registry fixtures

* Add missed lines
2023-11-12 13:52:32 -05:00
Jan-Philipp Benecke
9ab1cb83d8 Update a-c* tests to use entity & device registry fixtures (#103793)
* Update a-c* tests to use entity & device registry fixtures

* Revert some changes

* Revert formatting

* retrigger CI
2023-11-12 13:45:30 -05:00
Allen Porter
abb1328a67 Fix for Google Calendar API returning invalid RRULE:DATE rules (#103870) 2023-11-12 13:44:26 -05:00
Allen Porter
96a19d61ab Fix bug in Fitbit config flow, and switch to prefer display name (#103869) 2023-11-12 19:27:02 +01:00
Franck Nijhof
bb63da764e Complete tests for HomeWizard kWh Meter SDM230 (#103840) 2023-11-12 14:30:00 +01:00
Jan-Philipp Benecke
04a497343d Update f-g* tests to use entity & device registry fixtures (#103841) 2023-11-12 13:07:38 +01:00
Diogo Gomes
b9bc6ca070 Address late V2C review comments (#103808)
* address review

* missing fixture
2023-11-12 12:04:10 +01:00
Franck Nijhof
5a452155fc Small cleanup in HomeWizard tests (#103837) 2023-11-12 11:38:22 +01:00
Jan-Philipp Benecke
81450f0117 Update d-e* tests to use entity & device registry fixtures (#103804) 2023-11-12 10:38:32 +01:00
Allen Porter
25650563fe Fix Rainbird unique to use a more reliable source (mac address) (#101603)
* Fix rainbird unique id to use a mac address for new entries

* Fix typo

* Normalize mac address before using as unique id

* Apply suggestions from code review

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

* Update test check and remove dead code

* Update all config entries to the new format

* Update config entry tests for migration

* Fix rainbird entity unique ids

* Add test coverage for repair failure

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Remove unnecessary migration failure checks

* Remove invalid config entries

* Update entry when entering a different hostname for an existing host.

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-12 08:36:30 +01:00
Allen Porter
1d5fcfc7c8 Improve local calendar based on local todo review feedback (#103483)
* Improve local calendar based on local todo review feedback

* Revert fakestore change to diagnose timeout

* Revert init changes

* Revert and add assert
2023-11-12 00:14:08 +01:00
Alex Tsernoh
f3cccf0a2b Add Komfovent (#95722)
* komfovent integration V1

* add dependency

* integrate komfovent api

* fix errors found in testing

* tests for form handling

* update deps

* update coverage rc

* add correct naming

* minor feedback

* pre-commit fixes

* feedback fixes part 1 of 2

* feedback fixes part 2 of 2

* add hvac mode support

* fix tests

* address feedback

* fix code coverage + PR feedback

* PR feedback

* use device name

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-11 11:19:41 +01:00
Allen Porter
787fb3b954 Improve OAuth error handling in configuration flows (#103157)
* Improve OAuth error handling in configuration flows

* Update strings for all integrations that use oauth2 config flow

* Remove invalid_auth strings

* Revert change to release

* Revert close change in aiohttp mock
2023-11-11 11:02:51 +01:00
Allen Porter
3f70437888 Add support to Google Calendar for Web auth credentials (#103570)
* Add support to Google Calendar for webauth credentials

* Fix broken import

* Fix credential name used on import in test

* Remove unnecessary creds domain parameters

* Remove unnecessary guard to improve code coverage

* Clarify comments about credential preferences

* Fix typo

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-10 22:49:10 -08:00
Raman Gupta
618b666126 Add support for responses to call_service WS cmd (#98610)
* Add support for responses to call_service WS cmd

* Revert ServiceNotFound removal and add a parameter for return_response

* fix type

* fix tests

* remove exception handling that was added

* Revert unnecessary modifications

* Use kwargs
2023-11-10 21:44:43 +01:00
Marcel van der Veldt
ebdd2daab6 Add helper method to get matter device info (#103765)
* Add helper method to get matter device info

* Cleanup async

* Guard

* get node from device id instead of node id

* Fix test

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-11-10 13:43:54 -05:00
Michael Hansen
e157206eeb Conversation reload with language=None clears all languages (#103757)
Reload with language=None clears all languages
2023-11-10 13:22:49 -05:00
Jean-Marie White
82ce5e56b5 Fix DST handling in TOD (#84931)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-10 07:25:25 -06:00
Quentame
3666af0b10 Fix Freebox flaky tests (#103745) 2023-11-10 13:51:35 +01:00
starkillerOG
9f6eef7cca Fix Reolink DHCP IP update (#103654) 2023-11-10 09:27:33 +01:00
Franck Nijhof
04e0e2bd75 Update a* tests to use device & entity registry fixtures (#103711) 2023-11-09 20:46:20 +01:00
Jan-Philipp Benecke
b81f15725f Update bond tests to use entity & device registry fixtures (#103708) 2023-11-09 19:47:23 +01:00
Jan-Philipp Benecke
0a57968fdc Update nut sensor tests to use parametrize (#103707)
* Update nut sensor tests to use parametrize

* Add missing model

* Check on unique_id instead of config_entry_id

* Separate tests
2023-11-09 19:01:07 +01:00
Franck Nijhof
81909f7ddf Update deconz tests to use device & entity registry fixtures (#103703) 2023-11-09 18:06:53 +01:00
ollo69
143e114528 Improve AsusWRT integration tests (#102810) 2023-11-09 09:18:32 +01:00
J. Nick Koston
dc7d817398 Incease tplink setup timeout (#103671)
It can take longer than 5s to do the first update of the device
especially when the device is overloaded as seen in #103668

Wait 10 seconds for the discovery since when the power strips are loaded they cannot respond in time
2023-11-09 01:13:11 +01:00
Raman Gupta
f511a8a26a Expand zwave_js.set_config_parameter with additional parameters (#102092) 2023-11-08 17:05:31 -05:00
Allen Porter
cec617cfbb Add support for deleting To-do items in Google Tasks (#102967)
* Add support for deleting To-do items in Google Tasks

* Cleanup multipart test

* Fix comments

* Add additional error checking to increase coverage

* Apply suggestions and fix tests
2023-11-08 18:13:48 +01:00
Jan-Philipp Benecke
5901f6f7e7 Move met coordinator to own module (#103546) 2023-11-08 16:55:09 +01:00
Jan Bouwhuis
db97e7588b Fix entity category for binary_sensor fails setup (#103511) 2023-11-08 14:10:24 +01:00
Hessel
5bb3c7ca55 Wallbox Add Authentication Decorator (#102520) 2023-11-08 13:13:11 +01:00
Luke Lashley
44fe704f49 Bump python-roborock to 0.36.0 (#103465) 2023-11-08 12:48:05 +01:00
Joakim Plate
0a2a699133 Extend climate tests for nibe heatpump (#103522) 2023-11-08 12:40:28 +01:00
jan iversen
40dc6d8191 Reduce modbus validator by using table (#103488) 2023-11-08 09:55:00 +01:00
dupondje
4f11ee6e0b Fix 5B Gas meter in dsmr (#103506)
* Fix 5B Gas meter in dsmr

In commit 1b73219 the gas meter broke for 5B.
As the change can't be reverted easily without removing the peak usage
sensors, we implement a workaround.

The first MBUS_METER_READING2 value will contain the gas meter data just
like the previous BELGIUM_5MIN_GAS_METER_READING did.
But this without the need to touch dsmr_parser (version).

Fixes: #103306, #103293

* Use parametrize

* Apply suggestions from code review

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* Add additional tests + typo fix

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-11-08 09:13:51 +01:00
Franck Nijhof
22fa33ce7a Small cleanup in conftest mocks of Sensors.Community (#103630) 2023-11-08 01:11:07 +01:00
Franck Nijhof
3e204ab82b Small cleanup in conftest mocks of PVOutput (#103628) 2023-11-08 01:09:44 +01:00