Martin Hjelmare
405a480cae
Create repair issue for legacy webrtc provider ( #129334 )
...
* Add repair issue
* Add tests
* Add option to not use builtin go2rtc provider
* Add test
* Add domain to new providers
* Add learn more url
* Update placeholder
* Promote the builtin provider
* Refactor provider storage
* Move check for legacy provider conflict to refresh
* Test provider registration race
* Add test for registering the same legacy provider twice
* Test test_get_not_supported_legacy_provider
* Remove blank line between bullets
* Call it built-in
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Revert "Add option to not use builtin go2rtc provider"
This reverts commit 4e31bad6c0c23d5a1c0935c985351808a46163d6.
* Revert "Add test"
This reverts commit ddf85fd4db2c78b15c1cdc716804b965f3a1f4e3.
* Update issue description
* async_close_session is optional
* Clean up after rebase
* Add required domain property to provider tests
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-30 14:11:17 +01:00
Erik Montnemery
b4e69bab71
Improve shutdown of esphome ffmpeg proxy ( #129326 )
...
* Improve shutdown of esphome ffmpeg proxy
* Add test
2024-10-30 13:46:05 +01:00
Erik Montnemery
db81edfb2b
Add config entry to go2rtc ( #129436 )
...
* Add config entry to go2rtc
* Address review comments
* Remove config entry if go2rtc is not configured
* Allow importing default_config
* Address review comment
2024-10-30 13:39:54 +01:00
Martin Hjelmare
24829bc44f
Fix webrtc provider interface and tests ( #129488 )
...
* Fix webrtc provider tests
* Remove future code
* Add a test of the optional provider interface
2024-10-30 13:24:23 +01:00
Robert Resch
380974eed4
Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper ( #127228 )
...
* Remove hassio from ALLOWED_USED_COMPONENTS
* Move HassioServiceInfo to helpers.service_info
* Deprecate moved functions
* Add note about deprecation
* Fix tests
* Implement suggestion
* Typo
* Update pyproject.toml
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-30 12:43:41 +01:00
Erik Montnemery
79d73c28a7
Deduplicate wav creation in esphome ffmpeg_proxy tests ( #129484 )
2024-10-30 10:35:19 +01:00
Erik Montnemery
3fb0d61271
Remove useless code from esphome ffmpeg_proxy tests ( #129481 )
2024-10-30 09:56:12 +01:00
Erik Montnemery
599acaf514
Improve demo integration's update entity ( #129401 )
...
* Improve demo integration's update entity
* Improve tests
2024-10-30 08:06:22 +01:00
TimL
5f4103a4a7
Allow smlight device to reboot before updating firmware data coordinator ( #127442 )
...
* Add delay before updating firmware coordinator
* fix update tests
* change sleep to 1s
* Timeout incase reboot fails
* update test
* test reboot timeout
* log hostname in warning
2024-10-30 08:02:30 +01:00
Manu
6887a4419e
Add calendar platform to Habitica integration ( #128248 )
...
* Add calendar platform
* Add tests
* add missing reminders filter by date
* Add +1 day to todo end
* add 1 day to dailies, remove unused line of code
* Removing reminders calendar to a separate PR
* fix upcoming event for dailies
* util function for rrule string
* Add test for get_recurrence_rule
* use habitica daystart and account for isDue flag
* yesterdaily is still an active event
* Fix yesterdailies and add attribute
* Update snapshot
* Use iter, return attribute with None value
* various changes
* update snapshot
* fix merge error
* update snapshot
* change date range filtering for todos
* use datetimes instead of date in async_get_events
* Sort events
* Update snapshot
* add method for todos
* filter for upcoming events
* dailies
* refactor todos
* update dailies logic
* dedent loops
2024-10-29 20:53:49 -07:00
Erik Montnemery
db5cb6233c
Correct condition signalling non-live DB migration is in progress ( #129464 )
2024-10-29 12:26:52 -10:00
Robert Resch
963829712d
Add CameraCapabilities ( #128455 )
2024-10-29 21:36:30 +01:00
Steven B.
46ceccfbb3
Use new try_connect_all discover command in tplink config flow ( #128994 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-10-29 10:26:34 -10:00
Krisjanis Lejejs
a1e2d79613
Add cloud ICE server registration ( #128942 )
...
* Add cloud ICE server registration
* Add ice_servers to prefs, fix registration flow
* Add support for list of ICE servers
* Add ICE server cleanup on cloud logout, create tests
* Fix RTCIceServer types
* Update homeassistant/components/cloud/client.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Improve tests based on PR reviews
* Improve tests
* Use set_cloud_prefs fixture
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-10-29 20:35:52 +01:00
ollo69
041282190a
Allow set ScreenCap interval as option for AndroidTV ( #124470 )
...
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-29 20:24:20 +01:00
functionpointer
8cdd5de75c
Change Tibber get_prices action to return datetimes as str ( #123901 )
2024-10-29 20:15:08 +01:00
Michael
a95c232f11
Add addon support to Home Assistant Analytics Insights ( #128806 )
2024-10-29 20:13:56 +01:00
Andre Lengwenus
c9aba288b4
Add switch entities for LCN key-locks and regulator-locks ( #127731 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 20:08:30 +01:00
Keilin Bickar
3adc3d7732
Add sensors for energy trends for devices ( #129439 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 20:02:08 +01:00
Åke Strandberg
2c89e89c84
Improve mapping of myuplink entities ( #129137 )
2024-10-29 19:59:04 +01:00
Manu
e602a464db
Add tests for buttons in Habitica integration ( #128194 )
...
* Add tests for button platform
* update tests
* Add skill buttons
* Assert state, add fixtures/parametrization
* entity as list
2024-10-29 19:03:41 +01:00
Adam Goode
f12ba5f7a9
Unexport unavailable metrics in Prometheus ( #125492 )
2024-10-29 17:56:54 +01:00
Erik Montnemery
45fb21e32d
Suppress update entity's update_percentage when update not in progress ( #129397 )
2024-10-29 17:56:09 +01:00
Keilin Bickar
b43bc3f32d
Add Sense Devices for entities ( #129182 )
2024-10-29 17:44:19 +01:00
Marcel van der Veldt
cbb8d76da7
Add support for vacuum cleaners to the Matter integration ( #129420 )
2024-10-29 16:17:40 +01:00
Erik Montnemery
cce925c06c
Fix bad falsy-check in homeassistant.set_location service ( #129389 )
2024-10-29 16:11:48 +01:00
Marco
505a4bfc34
Add Smarty versions to device ( #129418 )
2024-10-29 16:06:15 +01:00
Robert Resch
58e151966c
Fix go2rtc no audio issue ( #129428 )
2024-10-29 16:01:51 +01:00
Michael
8a6c9b7afc
Remove Mobile App config entries, when the related user gets removed ( #129268 )
...
* remove config entries, when related user gets removed
* add test
2024-10-29 15:53:00 +01:00
Petar Petrov
5dc0bedbc4
Allow fetching HA url to display it in the network settings ( #128432 )
...
* Allow fetching HA url to display it in the network settings
* add tests
* use a constant for the url types
* just return all url types
* Prefer callback without await
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-29 15:28:54 +01:00
Mike Degatano
673f0224c9
Continue migration of methods from handler to aiohasupervisor ( #129183 )
2024-10-29 14:33:21 +01:00
Raj Laud
07c070e253
Refactor squeezebox integration media_player to use coordinator ( #127695 )
2024-10-29 14:21:28 +01:00
Vendetta01
9bda3bd477
Fix bosch shc multi controller support ( #127844 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 14:19:33 +01:00
Marc Hörsken
2c9ad9562e
Fix visualization by inverting open/closed state of patio awnings ( #128079 )
2024-10-29 14:09:49 +01:00
Manu
c264ee22e7
Add tests for switch platform of Habitica integration ( #128204 )
2024-10-29 14:08:05 +01:00
J. Diego Rodríguez Royo
f194a689cc
Fetch power off state for Home Connect appliances' power switch ( #129289 )
2024-10-29 13:56:45 +01:00
David Bonnes
a36b350954
Fix evohome HVAC modes for VisionPro Wifi systems ( #129161 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 13:37:35 +01:00
David Bonnes
39ba4cff2f
Refactor evohome tests as per best practice ( #129229 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 13:29:10 +01:00
Josef Zweck
478bf643bf
Add smart standby functionality to lamarzocco ( #129333 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 13:22:37 +01:00
Erik Montnemery
da11a72b4c
Create repair asking user to remove duplicate config entries ( #127948 )
...
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-29 13:10:56 +01:00
Mike Degatano
1649368cee
Bump aiohasupervisor to 0.2.0 ( #129348 )
2024-10-29 13:07:59 +01:00
Allen Porter
8e7ffd9e16
Update Nest configuration flow to handle upcoming changes to Pub/Sub provisioning ( #128909 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 12:58:36 +01:00
J. Diego Rodríguez Royo
0e959b3019
Added deprecation to binary door sensor at Home Connect ( #129245 )
...
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-29 12:46:39 +01:00
Thomas55555
983cd9c3fc
Add and remove entities during runtime in Husqvarna Automower ( #127878 )
2024-10-29 12:46:04 +01:00
Brett Adams
ce7e2e3243
Clean up SensorRestore in Tesla Fleet ( #129116 )
...
* Remove, fix, and test restore
* slightly better comment
* use restore instead
* parametrize test
* Apply suggestions from code review
* revert change to Teslemetry
* revert change to Teslemetry
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-10-29 11:41:35 +01:00
Robert Resch
13416825b1
Go2rtc server start is waiting until we got the api listen stdout line ( #129391 )
2024-10-29 11:28:40 +01:00
Paul Bottein
bf840e8bfa
Use device name for matter entities ( #127798 )
2024-10-29 10:54:25 +01:00
Robert Resch
1f03c140f5
Bump go2rtc-client to 0.0.1b2 ( #129395 )
2024-10-29 10:45:00 +01:00
Marc Mueller
2de161ce0e
Fix mariadb recorder tests for Python 3.13 ( #129303 )
2024-10-29 09:17:47 +01:00
epenet
81a5722708
Fix flaky DHCP tests in CI ( #129327 )
2024-10-28 13:41:50 -10:00
Michael Hansen
dd9ce34d18
Allow a fixed number of ffmpeg proxy conversions per device ( #129246 )
...
Allow a fixed number of conversions per device
2024-10-28 13:26:43 -07:00
G Johansson
7d699c6c35
Fix calculation of attributes in statistics ( #128475 )
...
* Fix calculation of attributes in statistics
* Cleanup
* Mods
* Fix device class
* Typing
* Mod uom calc
* Fix UoM
* Fix docstrings
* state class docstring
2024-10-28 19:45:47 +01:00
LG-ThinQ-Integration
420538e6e7
Add LG ThinQ integration ( #129299 )
...
Co-authored-by: jangwon.lee <jangwon.lee@lge.com>
2024-10-28 17:22:24 +01:00
dotvav
8eb68b54d9
Palazzetti integration ( #128259 )
...
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-28 17:19:05 +01:00
Robert Resch
80202f33cb
Fix go2rtc tests ( #129342 )
2024-10-28 17:12:28 +01:00
YogevBokobza
c24579bfb2
Add switcher s12 support ( #127277 )
...
Co-authored-by: Joostlek <joostlek@outlook.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2024-10-28 16:57:24 +01:00
J. Diego Rodríguez Royo
668626b920
Add ServiceValidationError to Home Connect ( #129309 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-28 16:48:56 +01:00
Wendelin
cbfa3bb56d
Hassio logs boots ( #129151 )
...
* Add hassio logs/boots proxy settings
* Add hassio http tests
2024-10-28 16:41:14 +01:00
Robert Resch
aa855e31c8
Convert async_get_webrtc_client_configuration to a callback ( #129329 )
2024-10-28 15:47:22 +01:00
Robert Resch
675ee8e813
Add async webrtc offer support ( #127981 )
...
* Add async webrtc offer support
* Create dataclass for messages
* Send session ID over websocket
* Fixes
* Rename
* Implement some review findings
* Add WebRTCError and small renames
* Use dedicated function instead of inspec
* Update go2rtc-client to 0.0.1b1
* Improve checking for sync offer
* Revert change as not needed anymore
* Typo
* Fix tests
* Add missing go2rtc tests
* Move webrtc offer tests to test_webrtc file
* Add ws camera/webrtc/candidate tests
* Add missing tests
* Implement suggestions
* Implement review changes
* rename
* Revert test to use ws endpoints
* Change doc string
* Don't import from submodule
* Get type form class name
* Update homeassistant/components/camera/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Adopt tests
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix tests
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2024-10-28 15:46:15 +01:00
unfug-at-github
50ccce7387
React to state report events to increase sample size of statistics ( #129211 )
...
* react to state reported events to increase sample size
* added test case for timinig and minor corrections
2024-10-28 14:41:48 +01:00
Markus Jacobsen
40b561ea69
Add shuffle media controls to Bang & Olufsen ( #129325 )
2024-10-28 13:39:49 +01:00
G Johansson
a0f73bd30f
Add reconfigure flow to Sensibo ( #129280 )
2024-10-28 12:29:06 +01:00
Tsvi Mostovicz
1b7fcce42d
Assert keys exist in Jewish calendar tests ( #129295 )
2024-10-28 12:23:45 +01:00
epenet
e5b25bfa58
Use reauth_confirm in ovo_energy ( #129306 )
2024-10-28 11:52:38 +01:00
epenet
1d23adcda3
Use start_reauth_flow in system_bridge tests ( #129318 )
2024-10-28 11:52:13 +01:00
epenet
0216d36ab7
Use start_reauth_flow in permobil tests ( #129314 )
2024-10-28 11:51:16 +01:00
epenet
2bec20ad76
Ensure config entry is added to hass in reauth/reconfigure tests ( #129315 )
2024-10-28 11:03:42 +01:00
G Johansson
93c1245b0f
Use start_reauth_flow in apple_tv test ( #129313 )
...
* Use start_reauth_flow in apple_tv test
* Fix
2024-10-28 10:42:19 +01:00
Joel Hawksley
9bf0cbd659
Omit declined Google Calendar events ( #128900 )
...
* Omit decline Google Calendar events
* move comment to top of function and update
* Apply suggestions from code review
* import ResponseStatus
2024-10-27 21:54:09 -07:00
G Johansson
7a448f5528
Add battery binary sensor to Yale Smart Alarm ( #129277 )
...
* Add battery binary sensor to Yale Smart Alarm
* Fix docstrings
2024-10-27 20:57:10 +01:00
Michael
4ac23bf14c
Add diagnostics platform to PEGELONLINE ( #129279 )
...
add diagnostics platform
2024-10-27 20:36:56 +01:00
Michael
3165f92b6b
Fix `conntected_to` attribute of device tracker entities in a AVM Fritz mesh setup ( #129259 )
...
ignore orphan node links
2024-10-27 14:42:43 +01:00
Marc Mueller
20a367b243
Fix zha tests for Python 3.13 ( #129241 )
2024-10-27 00:18:21 +02:00
Manu
fdded9e7ee
Add tests for todo platform of Habitica integration ( #128199 )
...
* Add tests for todo platform
* refactor mock_called_with
* update tests
2024-10-26 10:48:07 -07:00
G Johansson
0abfbeed3c
Fix flaky gardena_ble test ( #129225 )
2024-10-26 17:57:00 +02:00
Franck Nijhof
35b7c3038a
Revert "Fix unused snapshots not triggering failure in CI" ( #129223 )
...
Revert "Fix unused snapshots not triggering failure in CI (#128162 )"
This reverts commit e888a95bd1
.
2024-10-26 16:12:47 +02:00
dontinelli
788232ca35
Add and remove plants (i.e. devices) dynamically in fyta ( #129221 )
2024-10-26 15:35:43 +02:00
J. Nick Koston
3b458738e0
Fix setting brightness to 0 in HomeKit when the On characteristic is not sent ( #129201 )
2024-10-26 15:29:15 +02:00
David Bonnes
2c8fc67ab1
Fix evohome failing to start with `'NoneType' object has no attribute 'get'` ( #129222 )
2024-10-26 15:24:41 +02:00
David Bonnes
9b3ed3ed72
Add tests of evohome integration-specific services ( #129206 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-26 14:44:46 +02:00
Joost Lekkerkerker
c59197e87a
Add more spotify sensors ( #129215 )
2024-10-26 14:43:32 +02:00
J. Diego Rodríguez Royo
2acad4a78c
Home connect number platform with temperature set points entities ( #126145 )
2024-10-26 14:04:52 +02:00
J. Diego Rodríguez Royo
275bbc81f0
Add Time platform with alarm clock to Home Connect ( #126155 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-26 11:42:51 +02:00
David Bonnes
0b3b9c2257
Make minor fixes / doc tweaks to evohome's WaterHeater tests ( #129138 )
2024-10-26 10:52:32 +02:00
unfug-at-github
c5ed148c52
Fix race condition in statistics that created spikes ( #129066 )
...
* fixed race condition and added test case for updates before db load
* removed duplicated code
* improved comments, removed superfluous errors / assertions
* allow both possible outcomes of race condition
* use approx for float comparison
* Update tests/components/statistics/test_sensor.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* force new state before database load in race condition test
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-10-26 09:23:47 +02:00
Jan Bouwhuis
d237180a98
Allow re-discovery of mqtt integration config payloads ( #127362 )
2024-10-26 07:21:52 +02:00
Erik Montnemery
d8b618f7c3
Remove support for live recorder data migration of context ids ( #125309 )
2024-10-26 07:19:03 +02:00
epenet
e888a95bd1
Fix unused snapshots not triggering failure in CI ( #128162 )
2024-10-26 07:15:51 +02:00
Erik Montnemery
4b56701152
Move core config class to core_config.py ( #129163 )
2024-10-26 07:00:31 +02:00
J. Nick Koston
59227116f3
Ensure go2rtc server starts using posix_spawn/vfork ( #129196 )
2024-10-26 06:51:29 +02:00
epenet
98c81fa2af
Move airthings coordinator to separate module ( #129158 )
2024-10-26 02:29:57 +02:00
Joost Lekkerkerker
1bb32a05a9
Migrate Smarty to has entity name ( #129145 )
2024-10-26 02:28:26 +02:00
Marc Mueller
bdfb47e999
Fix AsyncMock imports ( #129192 )
2024-10-26 01:47:27 +02:00
Paulus Schoutsen
10300cc478
Create a script service schema based on fields ( #128622 )
2024-10-26 01:05:00 +02:00
Marc Mueller
ababa639b3
Fix cambridge_audio RuntimeWarning during tests ( #129191 )
2024-10-26 01:03:52 +02:00
Bouwe Westerdijk
9f6569d658
Bump plugwise to v1.4.4 ( #129170 )
2024-10-25 23:55:28 +02:00
J. Nick Koston
24c22ebdc7
Fix powerview entity unique id migration when the config entry unique id is missing ( #129188 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-25 11:41:07 -10:00
Markus Jacobsen
6c365fffde
Add media seek for sources other than Deezer for Bang & Olufsen ( #128661 )
...
* Add seeking for sources other than Deezer
* Add is_seekable attribute to fallback sources and BangOlufsenSource
Add testing
* Update comment
* Use support flags instead of raising errors when seeking on incompatible source
2024-10-25 23:34:39 +02:00
Artur Pragacz
624834de9c
Fix service target devices by label ( #127229 )
...
* Fix service target devices by label
* More explicit test
2024-10-25 21:30:04 +02:00