Commit Graph

18462 Commits (670e5a2eae0a49ffd0552b7171bac9f2b363b20f)

Author SHA1 Message Date
J. Nick Koston bf87773d87
Fix zeroconf mocking (#104144) 2023-11-17 16:20:54 -06:00
Erik Montnemery 80813e992d
Improve formatting of component errors (#104081)
* Improve formatting of component errors

* Update tests
2023-11-17 23:01:00 +01:00
Erik Montnemery 23ef97f774
Use relative paths in yaml syntax error messages (#104084) 2023-11-17 23:00:23 +01:00
Jan-Philipp Benecke e5bc25523e
Add config flow for Ping (#103743) 2023-11-17 13:30:30 -06:00
Jan-Philipp Benecke 2d891c77ef
Reduce nesting in discovergy setup (#104127)
* Reduce nesting in discovergy setup

* Update homeassistant/components/discovergy/sensor.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-17 19:31:29 +01:00
Michael Hansen 8c99cf14d3
Context slot decisions moved into hassil (#104132) 2023-11-17 11:07:08 -06:00
Erik Montnemery a78764f000
Improve formatting of package errors (#104078) 2023-11-17 14:57:37 +01:00
Michael Hansen a8acde62ff
Use device area as context during intent recognition (#103939)
* Use device area as context during intent recognition

* Use guard clauses
2023-11-17 07:34:14 -06:00
Duco Sebel 97d38dae09
Bumb python-homewizard-energy to 4.1.0 (#104121)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-17 13:01:44 +01:00
Franck Nijhof b3ceb82700
Add device fixtures and tests for HomeWizard Energy 3-phase kWh meter (#104118) 2023-11-17 11:47:42 +01:00
Michael Hansen f605df5bf2
Adjust logbook message for assist pipeline recording (#104105)
* Adjust logbook message

* Fix test
2023-11-16 23:39:08 -05:00
TheJulianJES a996a51aa9
Add "Jasco Products" manufacturer to ZHA `ForceOnLight` (#104089)
* Add "Jasco Products" manufacturer to ZHA `ForceOnLight`

* Change tests to expect `ForceOnLight` for "Jasco Products" lights
2023-11-16 15:24:32 -05:00
Michael Hansen b3e247d5f0
Add websocket command to capture audio from a device (#103936)
* Add websocket command to capture audio from a device

* Update homeassistant/components/assist_pipeline/pipeline.py

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

* Add device capture test

* More tests

* Add logbook

* Remove unnecessary check

* Remove seconds and make logbook message past tense

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-11-16 10:28:06 -06:00
Erik Montnemery 4536fb3541
Remove mock_entity_platform test helper (#104073) 2023-11-16 16:55:08 +01:00
Jan-Philipp Benecke 7c030cfffa
Add tests for Discovergy to reach full test coverage (#104039)
* Add tests for Discovergy to reach full test coverage

* Use snapshots and freezer
2023-11-16 16:13:15 +01:00
Erik Montnemery b400b33b0d
Refer to domain configuration in custom validator errors (#104065) 2023-11-16 15:28:48 +01:00
Jan-Philipp Benecke cf985a8702
Fix mock typing for Discovergy (#104047) 2023-11-16 14:43:02 +01:00
sdb9696 38961c6ddc
Add diagnostics platform to ring integration (#104049)
* Add diagnostics platform to ring integration

* Use real-ish data for diagnostics test and use snapshot output
2023-11-16 14:36:15 +01:00
ollo69 b4797e283f
Add HTTP protocol support to AsusWRT (#95720) 2023-11-16 13:45:18 +01:00
Erik Montnemery d8a49b14e5
Use relative paths in configuration validation error messages (#104064) 2023-11-16 10:56:47 +01:00
Erik Montnemery 98030a9ce1
Improve formatting of package errors (#103976) 2023-11-16 09:08:47 +01:00
David Knowles e10c5246b9
Add reauth support to Schlage (#103351)
* Add reauth support to Schlage

* Enforce same user credentials are used on reauth

* Changes requested during review

* Changes requested during review

* Add password to reauth_confirm data
2023-11-16 08:47:13 +01:00
Erik Montnemery 1c817cc18c
Attach relevant config to check_config errors (#104048) 2023-11-16 07:25:52 +01:00
Allen Porter 613afe322f
Add CalDAV To-do item support for Add, Update, and Delete (#103922)
* Add CalDAV To-do item support for Add, Update, and Delete

* Remove unnecessary cast

* Fix ruff error

* Fix ruff errors

* Remove exception from error message

* Remove unnecessary duplicate state update
2023-11-15 19:57:46 -05:00
David Knowles 0899be6d4b
Migrate Hydrawise to an async client library (#103636)
* Migrate Hydrawise to an async client library

* Changes requested during review

* Additional changes requested during review
2023-11-16 00:59:37 +01:00
Michael Hansen 45f1d50f03
Add HassGetWeather intent (#102613)
* Add HassGetWeather intent

* Use async_match_states

* Extend test coverage

* Use get_entity

* Update homeassistant/components/weather/intent.py

* Fix state

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-11-15 16:20:15 -06:00
deosrc c92945ecd6
Fix netatmo authentication when using cloud authentication credentials (#104021)
* Fix netatmo authentication loop

* Update unit tests

* Move logic to determine api scopes

* Add unit tests for new method

* Use pyatmo scope list (#1)

* Exclude scopes not working with cloud

* Fix linting error

---------

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2023-11-15 15:28:16 -05:00
Erik Montnemery 5b37096b5f
Refactor config.async_log_exception (#104034)
* Refactor config.async_log_exception

* Improve test coverage

* Make functions public
2023-11-15 19:09:49 +01:00
Raman Gupta c132900b92
Add zwave_js.set_lock_configuration service (#103595)
* Add zwave_js.set_lock_configuration service

* Add tests

* string tweaks

* Update homeassistant/components/zwave_js/lock.py

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

* Update strings.json

* Update services.yaml

* Update lock.py

* Remove handle params

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-15 17:01:20 +01:00
Maciej Bieniek c92a90e04d
Disable options flow for Shelly Wall Display (#103988) 2023-11-15 15:45:33 +01:00
Maciej Bieniek dbe193aaa4
Add `release_url` property of Shelly update entities (#103739) 2023-11-15 13:36:20 +01:00
Jan-Philipp Benecke b4e8243e18
Refactor tests for discovergy (#103667) 2023-11-15 13:18:20 +01:00
Joost Lekkerkerker 0e04cd6b35
Add reauth flow to Trafikverket Weatherstation (#104027)
* Add reauth flow to Trafikverket Weatherstation

* Add tests
2023-11-15 13:15:31 +01:00
Erik Montnemery c4bf8f96dd
Add tests for components with custom validators (#104024)
* Add tests for components with custom validators

* Address review comments
2023-11-15 13:11:33 +01:00
Allen Porter 5f13faac76
Add the todo.get_items service (#103285) 2023-11-15 11:41:29 +01:00
Erik Montnemery dd7670cacf
Improve errors for component configuration with missing keys (#103982) 2023-11-15 10:47:05 +01:00
TheJulianJES ac0c1d12c3
Add test checking ZHA light restores with `None` attributes (#102806)
* Add ZHA test checking light restores with None attributes

* Move shared `core_rs` fixture to `conftest.py`

* Remove special `color_mode` case, use `parametrize` for expected state

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-15 10:45:35 +01:00
Jan-Philipp Benecke 9326ea09a5
Update m* tests to use entity & device registry fixtures (#103980) 2023-11-15 10:33:11 +01:00
J. Nick Koston 7803ca2612
Fix emulated_hue with None values (#104020) 2023-11-15 10:27:50 +01:00
sdb9696 182c40f16e
Add reauth flow to ring integration (#103758)
* Add reauth flow to ring integration

* Refactor re-auth flow post review

* Fix threading issue on device update
2023-11-14 19:49:27 -08:00
J. Nick Koston 54c98f32c2
Bump aiohttp to 3.9.0rc0 for python 3.12 only (#103507)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-11-15 01:02:14 +01:00
Erik Montnemery e87ebbef01
Improve errors for component configuration with multiple errors (#103969)
* Improve errors for component configuration with multiple errors

* Suffix with link to documentation
2023-11-14 21:50:54 +01:00
Michael Hansen be8507f870
Add HassListAddItem intent (#103716)
* Add HassListAddItem intent

* Add missing list test
2023-11-14 13:00:30 -05:00
Erik Montnemery 2cb4435cf0
Add tests for component configuration with documentation links (#103971) 2023-11-14 17:14:34 +01:00
Chuck Foster aca48b5e45
Fix duplicate Ban file entries (#103953) 2023-11-14 17:13:14 +01:00
Erik Montnemery 381ebf3e53
Add tests for component configuration with multiple errors (#103964)
* Add tests for component configuration with multiple errors

* Add new configuration file

* Fix typo

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-14 15:08:20 +01:00
Erik Montnemery 94a2087ba0
Improve formatting of config validation errors (#103957)
* Improve formatting of config validation errors

* Address review comments
2023-11-14 12:48:45 +01:00
Erik Montnemery 85eac5a1b1
Add additional test for package errors (#103955)
* Add additional test for package errors

* Adjust tests
2023-11-14 11:48:56 +01:00
Erik Montnemery 44c1cef42e
Add tests for component configuration with extra keys (#103959) 2023-11-14 11:26:22 +01:00
Erik Montnemery dedd3418a1
Improve print of line numbers when there are configuration errors (#103216)
* Improve print of line numbers when there are configuration errors

* Update alarm_control_panel test
2023-11-14 08:21:36 +01:00
sdb9696 cf6c72fdbd
Bump ring_doorbell to 0.8.0 and handle new exceptions (#103904)
* Bump ring_doorbell to 0.8.0 and handle the new exceptions

* Modify data update tests to not call coordinator internals
2023-11-13 23:15:19 -08:00
mkmer f7fef14d06
Add diagnostic platform and tests to Blink (#102650)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-13 13:49:07 -06:00
Jan-Philipp Benecke 685537e475
Exchange co2signal package with aioelectricitymaps (#101955) 2023-11-13 13:48:33 -06:00
Tom Brien 2557e41ec0
Fix Coinbase for new API Structure (#103930) 2023-11-13 20:10:15 +01:00
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
Erik Montnemery f89194784d
Fix including yaml files with scalar values (#103914) 2023-11-13 15:23:50 +01:00
Erik Montnemery 07af073735
Remove trailing space from configuration error messages (#103909)
* Remove trailing space from configuration error messages

* Update test
2023-11-13 15:19:37 +01:00
Erik Montnemery e64582ae9a
Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +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
Erik Montnemery be2cee228c
Add tests for package errors (#103902) 2023-11-13 11:21:37 +01:00
Erik Montnemery d0efea3dbd
Add tests for configuration validation errors (#103848)
* Add tests for configuration validation errors

* Use absolute path for hass.config.config_dir

* Apply suggestions from code review

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-13 07:25:58 +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
Erik Montnemery 1168956f8c
Small improvement of yaml util tests (#103853) 2023-11-12 19:14:52 +01:00
Erik Montnemery 01b3e0c49e
Remove useless code from entity helper tests (#103854) 2023-11-12 18:55:34 +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
Franck Nijhof 70ad5ab3e4
Update helper tests to use device & entity registry fixtures (#103710) 2023-11-10 09:32:19 +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
Erik Montnemery 123f14dd6c
Attach correct platform config in check_config warnings and errors (#103633) 2023-11-09 00:06:04 +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
Erik Montnemery d913508607
Allow removing an entity more than once (#102904) 2023-11-08 12:50:40 +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
Erik Montnemery cc5eda76d3
Humanize core config errors in check_config helper (#103635) 2023-11-08 10:15:27 +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
Jan Bouwhuis cbccdbc6fa
Fix entity category for sensor fails mqtt sensor platform setup (#103449) 2023-11-08 00:03:47 +01:00
Joakim Sørensen 2859055b36
Add instance id to the cloud integration (#103162) 2023-11-07 23:52:18 +01:00
Erik Montnemery 859c5c48c4
Fix yaml loader tests to test both C and Python implementations (#103606) 2023-11-07 23:49:31 +01:00
Allen Porter e8c568a243
Remove rainbird yaml config test fixtures (#103607) 2023-11-07 23:24:34 +01:00
Erik Montnemery c29b0cd05b
Correct line numbers in yaml node annotations (#103605) 2023-11-07 23:22:23 +01:00
Franck Nijhof 95fe7aa491
Update open-meteo to v0.3.1 (#103613) 2023-11-07 22:54:56 +01:00
Jan Bouwhuis 624837912c
Fix metoffice test_forecast_subscription raises key error (#103598)
Allow test time change to be processed
2023-11-07 22:11:02 +01:00
Diogo Gomes 0d67557106
Add V2C Trydan EVSE integration (#103478)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-07 21:53:22 +01:00
Tudor Sandu d3ed8a6b8b
Validate empty sentence triggers (#103579)
* Validate empty sentence triggers

* Add extra test for no sentences

* Remove extra line

---------

Co-authored-by: Michael Hansen <mike@rhasspy.org>
2023-11-07 11:56:24 -06:00
Erik Montnemery 05deae09fc
Add file and line annotation to strings when loading yaml (#103586) 2023-11-07 17:10:15 +01:00
Raman Gupta 0fcaa2c581
Add `zwave_js.refresh_notifications` service (#101370) 2023-11-07 09:11:38 -05:00
Joost Lekkerkerker b636a4d5cf
Parametrize DSMR serial config flow tests (#103524) 2023-11-07 14:13:57 +01:00
Luke Lashley c13744f4cf
Remove MyQ Integration (#103565)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-07 14:11:54 +01:00
J. Nick Koston 2a80164508
Bump aioesphomeapi to 18.2.4 (#103552) 2023-11-07 11:22:41 +01:00
J. Nick Koston da1780f9ec
Small cleanups to process_success_login (#103282) 2023-11-07 10:48:34 +01:00
Allen Porter 0a05a16fcb
Add read-only Caldav todo platform (#103415)
* Add Caldav todo enttiy for VTODO components

* Use new shared apis for todos

* Update homeassistant/components/caldav/todo.py

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

* Update todo item conversion checks

* Iterate over results once

* Add 15 minute poll interval for caldav todo

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-07 09:11:52 +01:00
Álvaro Fernández Rojas 369cea175a
Update aioairzone-cloud to v0.3.6 (#103535) 2023-11-07 08:50:05 +01:00
Mick Vleeshouwer 9a1173f6a6
Add diagnostics tests to Overkiz integration (#103560)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-11-07 08:44:24 +01:00
Franck Nijhof 9a776d958c
Update pvo to 2.1.0 (#103551) 2023-11-07 08:18:25 +01:00
epenet c9e8a3a887
Fix invalid MAC in samsungtv (#103512)
* Fix invalid MAC in samsungtv

* Also adjust __init__
2023-11-06 23:43:56 +01:00
Franck Nijhof 0b4d20b1f9
Update vehicle to 2.2.0 (#103545) 2023-11-06 23:31:54 +01:00
Michael Hansen ae516ffbb5
Automatically convert TTS audio to MP3 on demand (#102814)
* Add ATTR_PREFERRED_FORMAT to TTS for auto-converting audio

* Move conversion into SpeechManager

* Handle None case for expected_extension

* Only use ATTR_AUDIO_OUTPUT

* Prefer MP3 in pipelines

* Automatically convert to mp3 on demand

* Add preferred audio format

* Break out preferred format

* Add ATTR_BLOCKING to allow async fetching

* Make a copy of supported options

* Fix MaryTTS tests

* Update ESPHome to use "wav" instead of "raw"

* Clean up tests, remove blocking

* Clean up rest of TTS tests

* Fix ESPHome tests

* More test coverage
2023-11-06 15:26:00 -05:00
J. Nick Koston 408e977b17
Try to avoid re-parsing the content-type in hassio ingress if possible (#103477)
Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-06 20:48:47 +01:00
Franck Nijhof 8371fe520e
Update elgato to 5.1.0 (#103530) 2023-11-06 20:24:01 +01:00
Franck Nijhof 08b43c4477
Add device fixtures and tests for HomeWizard Energy Watersensor (#103383)
Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-11-06 18:12:58 +01:00
Aidan Timson ad22a11485
Update systembridgeconnector to 3.9.4 (#103425)
* Update systembridgeconnector to 3.9.2

* Update systembridgeconnector to version 3.9.3

* Update systembridgeconnector to version 3.9.4

* Fix import
2023-11-06 15:50:28 +01:00
Jan Bouwhuis 54cf7010cd
Add ServiceValidationError and translation support (#102592)
* Add ServiceValidationError

* Add translation support

* Extend translation support to HomeAssistantError

* Add translation support for ServiceNotFound exc

* Frontend translation & translation_key from caller

* Improve fallback message

* Set websocket_api as default translation_domain

* Add MQTT ServiceValidationError exception

* Follow up comments

* Revert removing gueard on translation_key

* Revert test changes to fix CI test

* Follow up comments

* Fix CI test

* Follow up

* Improve language

* Follow up comment
2023-11-06 15:45:04 +01:00
dupondje 91182603d5
Use right equipment identifier in DSMR setup (#103494) 2023-11-06 14:19:47 +01:00
Joakim Plate a35f5dc6f5
Split out coordinator and add tests for nibe_heatpump (#103452)
* Separate coordinator in nibe heatpump

* Add tests for coordinator in nibe

* Correct errors in coordinator found during testing

* If coil is missing we should still write state
* async_shutdown did not call base class

* Add more tests for coordinator

* Add minimal test to climate
2023-11-06 11:15:00 +01:00
Franck Nijhof cee8379628
Update tailscale to 0.6.0 (#103409) 2023-11-06 11:12:33 +01:00
Joakim Sørensen 6d567c3e0a
Bump pycfdns from 2.0.1 to 3.0.0 (#103426) 2023-11-06 11:05:44 +01:00
Álvaro Fernández Rojas 779b19ca46
On Airzone cloud unload logout (#103487) 2023-11-06 10:51:14 +01:00
Jan Bouwhuis 5dd787aa10
Validate entity category for binary_sensor (#103464) 2023-11-06 10:34:06 +01:00
G Johansson b580ca6e6f
Add Check date service for Workday (#97280) 2023-11-06 10:17:48 +01:00
Matthias Alphart 70196d5ee0
Fix KNX expose default value when attribute is `None` (#103446)
Fix KNX expose default value when attribute is `null`
2023-11-06 08:39:40 +01:00