Commit Graph

24493 Commits (4a8a674bd36cf0d5a1a325f9bfd6afe513564105)

Author SHA1 Message Date
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
Keilin Bickar 68284bed74
Add coordinators to Sense (#129171) 2024-10-25 20:45:55 +02:00
Jan Bouwhuis 4b63829eef
Allow to set `entity picture` on mqtt entity platforms (#128404) 2024-10-25 20:16:11 +02:00
Markus Jacobsen 66ca424d3a
Add repeat media controls to Bang & Olufsen (#128170)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-25 20:10:08 +02:00
Heiko Carrasco 2da0a91a36
Add lock to switchbot_cloud (#115128)
Co-authored-by: Ravaka Razafimanantsoa <3774520+SeraphicRav@users.noreply.github.com>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-10-25 20:09:14 +02:00
Noah Husby 16c8b1efab
Add all models to diagnostics for Cambridge Audio (#129157) 2024-10-25 18:20:54 +02:00
Marc Hörsken 0e789be09f
Add light support to WMS WebControl pro (#128308)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-25 18:20:40 +02:00
J. Diego Rodríguez Royo a948c7d69d
Door entity as enum sensor at Home Connect (#126158) 2024-10-25 18:18:21 +02:00
Isaac 50161670ce
Add "Albums" sensor to Lidarr (#125631)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-25 18:13:03 +02:00
dontinelli 4b680ffa5f
Dynamic add/remove devices for solarlog (#128668)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-25 18:02:14 +02:00
IceBotYT 295ae7b4bc
Add support for Mighty Mule MMS100 to Nice G.O. (#127765) 2024-10-25 17:49:32 +02:00
Jeef 13ffe7acfb
Add Intellifire cloud/local connectivity sensors (#127122) 2024-10-25 17:23:51 +02:00
Manu 39a0c0d96e
Add `List access` sensor to Bring integration (#126844) 2024-10-25 17:20:31 +02:00
Keilin Bickar a95a542148
Update sense-energy to 0.13.2 (#128670) 2024-10-25 16:59:39 +02:00
Alistair Francis b3cb2ac3ee
Add husqvarna automower ble integration (#108326)
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-25 16:54:02 +02:00
Andre Lengwenus 759fe54132
Fix transition config storage in LCN light and scene platform (#127847) 2024-10-25 16:25:41 +02:00
Erik Montnemery 4f1e4e7471
Include go2rtc in default_config (#129144)
* Include go2rtc in default_config

* Fail if binary not found in docker environment
2024-10-25 16:10:14 +02:00
rappenze dab5289177
Add opening closing state to fibaro cover (#126958) 2024-10-25 15:10:20 +02:00
J. Diego Rodríguez Royo a77cb1e579
Home connect light generalization and RGB support (#126144) 2024-10-25 15:08:50 +02:00
Joost Lekkerkerker fbe35e6e6b
Fix NYT Games connection max streak (#129149) 2024-10-25 14:19:46 +02:00
YogevBokobza dbd4781de1
Bump aioswitcher to 4.2.0 (#129118)
* bump aioswitcher to 4.2.0

* Update cover.py

* switcher fix based on requested changes
2024-10-25 14:41:49 +03:00
Anton Tolchanov 6d48316436
Avoid creating Prometheus metrics for non-numeric states (#127262) 2024-10-25 13:31:30 +02:00
David Bonnes cca6965cd1
Fix evohome regression preventing helpful messages when setup fails (#126441)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-10-25 13:23:17 +02:00
G Johansson 48a0eb90a7
Migrate config entry in anova to remove devices from entry data (#128934) 2024-10-25 12:03:39 +02:00
Jan-Philipp Benecke 3c342077d6
Remove deprecated `retries` and `lazy_error_count` yaml option (#128932) 2024-10-25 12:02:47 +02:00
Claudio Ruggeri - CR-Tech f1bef1e7e6
Remove string literals from modbus component tests (#128899) 2024-10-25 12:01:42 +02:00
Brett Adams da9749ecce
Add data streaming to Teslemetry (#127559) 2024-10-25 11:50:37 +02:00
epenet daf0939f09
Move bluesound service registration to separate module (#129086) 2024-10-25 11:27:25 +02:00
Noah Husby c9d0bfce54
Add switch entity to Cambridge Audio (#128530) 2024-10-25 11:22:50 +02:00
Jacob Feisley 7f9e5e29a8
Add support for Faucet services in HomeKit Controller (#129094) 2024-10-25 11:15:13 +02:00
Erik Montnemery bed77bd356
Remove go2rtc config flow (#129020)
* Remove go2rtc config flow

* Address review comments

* Update manifest

* Always validate go2rtc server URL

* Remove extra client

* Update homeassistant/components/go2rtc/__init__.py

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

* Improve test coverage

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-25 11:13:43 +02:00
Noah Husby bc0e3b254b
Add additional tests to Cambridge Audio (#128213) 2024-10-25 11:13:27 +02:00
Petar Petrov 47bf0ebb47
Resume adding Z-Wave device if the page is refreshed (#129081)
* ZwaveJS: Resume adding a device if the page is refreshed

* add test

* address PR comments
2024-10-25 11:08:07 +02:00
Marc Hörsken 0acb95bbd5
Prevent duplicate WMS WebControl pro config entry creation (#128315) 2024-10-25 11:02:13 +02:00
Manu 8665f4a251
Refactor services setup in Habitica integration (#128186) 2024-10-25 11:00:58 +02:00
David Bonnes 76aa69b9ac
Switch to using a fixture for evohome Climate tests (of zones) (#129100) 2024-10-25 10:57:37 +02:00
Manu 78116f1596
Set up single coordinator for all config entries in IronOS (#129108) 2024-10-25 10:51:23 +02:00
Robert Resch 3512cb9599
Use webrtc-models package (#129032) 2024-10-25 10:18:55 +02:00
dontinelli ea164a2030
Add missing state_class to sensors in solarlog (#128296)
* Add missing state_class

* Update snapshot
2024-10-25 09:32:56 +02:00
Mike Degatano 5b2113c43d
Fix null hass error in supervisor update entities (#129030)
* Fix null hass error in supervisor update entities

* Share the supervisor client with coordinator

* Remove unnecessary patch of helper

* Attribute not property
2024-10-24 22:45:35 +02:00
Joost Lekkerkerker 6df2c0bab5
Add coordinator to Smarty (#129083)
* Add coordinator to Smarty

* Add coordinator to Smarty

* Fix
2024-10-24 22:41:21 +02:00
Thomas55555 1c5193aa4d
Bump aioautomower to 2024.10.3 (#128788) 2024-10-24 09:56:38 -10:00
Erik Montnemery bd55fe868d
Allow update entities to report progress as a float (#128930)
* Allow update entities to report progress as a float

* Add test

* Update snapshots

* Update recorder test

* Use _attr_* in MockUpdateEntity
2024-10-24 21:20:18 +02:00
Noah Husby 5f839ad3ee
Add play media capability to Cambridge Audio (#129002) 2024-10-24 20:33:53 +02:00
Sid 1663d8dfa9
Simplify webmin tests to use snapshot_platform (#127754) 2024-10-24 20:10:53 +02:00
mkmer fe1d8b137e
Handle temprorary hold in Honeywell (#128460) 2024-10-24 20:07:20 +02:00
Jason Parker bf63b0993d
Reduce the number of API calls in Twitch integration (#128996) 2024-10-24 19:51:19 +02:00
J. Nick Koston a2c9aa7662
Add Meter Pro support to SwitchBot (#128991) 2024-10-24 17:49:40 +02:00
Noah Husby d135da6c1d
Fix update callback in Cambridge Audio test (#129092) 2024-10-24 17:27:05 +02:00
David Bonnes 77a91f5a8f
Switch to using a fixture for evohome WaterHeater tests (#127701)
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: thecem <46648579+thecem@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-24 16:01:29 +02:00
Louis Christ 93e6c9e5a0
Add tests for media_player to bluesound integration (#125864) 2024-10-24 15:42:25 +02:00
Joost Lekkerkerker 92e1fa4d3a
Add unique id and tests for Smarty (#129078) 2024-10-24 14:54:19 +02:00
epenet bf7d292884
Use runtime_data in blink (#129072) 2024-10-24 14:32:48 +02:00
epenet add8db0186
Use runtime_data in blebox (#129070) 2024-10-24 14:32:20 +02:00
Erik Montnemery 3e62c6ae2f
Move core config functionality to its own module (#129065)
* Move core config functionality to its own module

* Adjust test
2024-10-24 13:34:51 +02:00
Joost Lekkerkerker cd4aa8ccd6
Add config flow to Smarty (#127540)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
2024-10-24 13:32:27 +02:00
Nebula83 937dbdc71f
Add config flow to Onkyo (#117319)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
Co-authored-by: Artur Pragacz <artur@pragacz.com>
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-24 12:45:25 +02:00
Joshua Shaffer b8f6fdeb2b
Use fan mode when heat/cool is idle in homekit_controller (#128618) 2024-10-24 09:25:40 +01:00
Max R bdbe9255a6
Add 'select' to configure Schlage locks "Auto Lock Time" (#123758) 2024-10-24 09:26:43 +02:00
J. Nick Koston c460e1bbbe
Fix cancellation leaking upward from the timeout util (#129003) 2024-10-23 12:00:01 -10:00
G Johansson 6ee6a8a74f
Fix calculation of attributes in group sensor (#128601)
* Fix calculation of attributes in group sensor

* Fixes

* Fixes

* Make module level function
2024-10-23 20:51:18 +02:00
Keilin Bickar 8aa25af014
Create tests for sense integration (#128418)
* Create tests for sense integration

* Rearrange files

* Update to use snapshots

* Update tests/components/sense/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update tests/components/sense/__init__.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update tests/components/sense/test_binary_sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update tests/components/sense/test_sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Add missing imports

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-23 18:22:21 +02:00
epenet 5a0e47be48
Use runtime_data in bang_olufsen (#129037) 2024-10-23 18:21:25 +02:00
Jonas Bergler 756a866ffd
Add `completed` to the wait variable when using triggers (`wait_for_trigger`) (#123427)
* Add support for the wait.completed variable when using wait with triggers

* Remove junk comment

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-10-23 17:19:07 +02:00
epenet 29305be23b
Use runtime_data in balboa (#129035) 2024-10-23 16:41:45 +02:00
Guido Schmitz 2149ea1306
Fix devolo_home_network devices not reporting a MAC address (#129021) 2024-10-23 16:22:08 +02:00
Lektri.co 90547da007
Add switch platform to the Lektrico integration (#126721) 2024-10-23 16:20:08 +02:00
unfug-at-github 9ec4881d8d
Have statistics functions return a meaningful, non-none result even if only one value is available (#127305)
* have statistics functions return a meaningful, non-none result even if only one value is available

* improved code coverage
2024-10-23 16:02:46 +02:00
Erik Montnemery 487593af38
Allow configuring WebRTC stun and turn servers (#128984)
* Allow configuring WebRTC stun and turn servers

* Add tests

* Remove class WebRTCCoreConfiguration
2024-10-23 14:41:45 +02:00
Willem-Jan van Rootselaar 4e8f878d83
Bump python bsblan version 0.6.4 (#128999) 2024-10-23 14:16:34 +02:00
kingy444 09e1f53b3e
Powerview migrate scene to string unique_id (#128131) 2024-10-23 14:04:07 +02:00
Robert Resch a37bd824d5
Add go2rtc binary config to expose api only on localhost (#129025) 2024-10-23 11:53:50 +02:00
Erik Montnemery 2c79173d20
Refactor camera.webrtc.register_ice_server (#129024)
* Refactor camera.webrtc.register_ice_server

* Apply suggestions from code review

Co-authored-by: Robert Resch <robert@resch.dev>

* Add missing import

---------

Co-authored-by: Robert Resch <robert@resch.dev>
2024-10-23 11:49:39 +02:00
Josef Zweck eb45b89557
Remove battery device class from bmw secondary sensor (#128970)
Remove battery device class
2024-10-23 11:19:22 +02:00
Wendelin 2453e1284f
Add Hassio HTTP logs/follow to allowed paths (#126606)
* Add logs/follow to admin paths in hassio.http

* Add tests for logs/follow admin paths in hassio.http

* Add tests for logs/follow admin paths in hassio.http

* Add compress and timeout exclusions for hassio http api

* Fix should_compress usage in hassio/ingress

* Add missing follow exceptions for hassio/http

* Add hassio range header forward for logs endpoints

* Fix test syntax hassio/http
2024-10-23 09:57:14 +02:00
Denis Shulyaka e0e61b5262
Expose scripts with no fields as entities (#123061) 2024-10-22 23:14:07 -07:00
G Johansson 3ddef56167
Fix step in presets for generic thermostat (#128922) 2024-10-23 08:13:42 +02:00
Álvaro Fernández Rojas 94a99b5bec
Update aioairzone-cloud to v0.6.8 (#128992) 2024-10-22 10:35:47 -10:00
Petro31 810bf06e16
Add limited template to at field for time triggers (#126584)
* Add limited template to at field for time triggers

* fix mypy

* Fix comments

* fix-tests

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-10-22 21:06:19 +02:00
Marc Mueller 44449d8e72
Fix zha test RuntimeWarnings (#128975) 2024-10-22 18:05:40 +02:00
J. Nick Koston 6c3a0890c7
Add support for fetching bindkey from Mi cloud (#128394) 2024-10-22 05:53:02 -10:00
Krisjanis Lejejs de77751779
Change Stun server port to 80 (#128879) 2024-10-22 14:23:29 +02:00
osohotwateriot cdf809926b
Add OSO Energy services (#118770)
* Add OSO Energy services

* Fixes after review

* Add tests for OSO Energy water heater

* Fixes after review

* Revert changes for service schema in OSO Energy

* Improve osoenergy unit tests
2024-10-22 12:22:46 +02:00
Nicolas Mowen d40341f1ad
Add snapshot service to image entity (#110057)
* Add service definition for saving snapshot of image entity

* Add service to image

* Add tests for image entity service

* Fix tests

* Formatting

* Add service icon

* Formatting

* Formatting

* Raise home assistant error instead of single log error

* Correctly pass entity id

* Raise exception from existing exception

* Expect home assistant error

* Fix services example

* Add test for templated snapshot

* Correct icon service config

* Set correct type for service template

* Remove unneeded

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* remove template

* fix imports

* Update homeassistant/components/image/__init__.py

* Apply suggestions from code review

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-10-22 10:20:41 +02:00
G Johansson a10e406131
Fix flaky update coordinator test (#128943) 2024-10-21 11:52:28 -10:00
Teemu R. 21095e80a7
Expose tplink temperature sensor as measurement (#128640)
Add state_class=measurement to the temperature sensor, making it available for long-term statistics.
2024-10-21 23:39:56 +02:00
Teemu R. 55ae43ed03
Add motion detected binary_sensor for tplink (#127883)
* Add motion binary_sensor for tplink

* Remove strings definition as we have device class that handles this

* Simplify instructions

* Remove mentions about fixture creation and snapshot updates as requested

* re-add newline
2024-10-21 23:39:23 +02:00
rappenze 9cc934a972
Fix description placeholder in transmission reauth (#128938) 2024-10-21 23:05:24 +02:00
G Johansson cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum (#126283)
* Alarm state from enum

* Fixes

* Set final

* Fix rebase

* Test const

* Fix breaking version

* Fix other for alarm_control_panel

* Fix integrations

* More

* More

* More

* More

* Fix zha

* Replace _attr_state

* Fix alarm_control_panel

* Fix tests

* Fixes

* Mods

* Change some

* More

* More

* More

* Tests

* Last tests

* Return enum

* Fix zha

* Remove not needed check

* Fix wording

* Fix homekit

* Mod prometheus

* Fix mypy

* Fix homekit

* Fix ifttt
2024-10-21 22:54:27 +02:00
rappenze 59ad69b637
Fix description placeholder in imap reauth (#128940) 2024-10-21 22:29:24 +02:00
Jason Parker d21b8166f0
Add subscription tier attribute to Twitch integration. (#128870)
* Add subscription tier to Twitch integration.

* Add test for Twitch tiers.  Tests do not currently pass, so this is only theoretical.

* Fix variable type

* Show tier levels as 1,2,3 instead of the raw API values of 1000,2000,3000.

* Make Twitch subscription tier fixtures strings.

* Use proper assertion value for subscription tier test.

Edited on a bus on my phone. 😎

* Update homeassistant/components/twitch/coordinator.py

* Update tests/components/twitch/test_sensor.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-21 21:54:10 +02:00
Erik Montnemery 23b43319a8
Add update_percentage property to update entity (#128908) 2024-10-21 19:49:50 +02:00
Simone Chemelli e7a7a18c43
Add diagnostics to Vodafone Station (#128923)
* Add diagnostics to Vodafone Station

* cleanup and exclude props based on date
2024-10-21 19:47:12 +02:00
Erik Montnemery 8e5abcf5c2
Deprecate entity_id template variable in camera services (#128592)
* Deprecate entity_id template variable in camera services

* Update snapshots

* Tiny lang tweak

* Fix translation

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-10-21 19:38:02 +02:00
Simone Chemelli e08e8641cb
Add diagnostics to Comelit SimpleHome (#128794)
* Add diagnostics to Comelit SimpleHome

* add test

* add missing tests

* introduce SnapshotAssertion

* cleanup

* exclude date based props
2024-10-21 19:33:32 +02:00
Manu 3e8f3cfb49
Add firmware update entity to IronOS integration (#123031) 2024-10-21 19:20:23 +02:00
G Johansson 1eaaa5c6d3
Add config flow to local_file (#125835)
* Add config flow to local_file

* Small mods

* Add/fix tests

* Fix

* slug

* Fix strings

* Mod strings
2024-10-21 19:04:43 +02:00
Barry vd. Heuvel 4009ae7d77
Add floor heating device valve positions in Homematic IP Cloud (#122759)
* Update sensor.py for new FALMOT Sensors

First Integration attemp to support ValvePosition as Sensor for HmIP-FALMOT-C12

* Update sensor.py

* Update sensor.py

* Add Valve Position to FALMOT-C12

* modified: devcontainer

* Service für minimum vale postion hinzugefügt.

* update to services

* Service call optimized

* Add valvePosition to HomematicIP Cloud for Falmot-C12 and show only channels that are connected with an motorized actuator

* Fix some tests

* Add icon for service

* Fix tests, add check for ValveState in icon

* Remove minimum valve service

* REmove minimum valve

* Use list comprehension for devices, support other terminal blocks

* Remove unused constant

* Check correct channel

---------

Co-authored-by: thecem <46648579+thecem@users.noreply.github.com>
2024-10-21 17:54:31 +02:00
Álvaro Fernández Rojas 4d787ec93c
Add Airzone Cloud switch entities to zones (#125917)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-21 17:03:48 +02:00
Álvaro Fernández Rojas 188413a531
Add Airzone Cloud main zone mode select (#125918)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-21 16:50:44 +02:00
Mike Degatano ad55c9cc19
Remaining addon management to aiohasupervisor (#128484)
* Move set addon options to aiohasupervisor

* addon stats to aiohasupervisor and test fixes

* addon changelogs to aiohasupervisor

* Raise correct error for library in tests

* Cache client in instance property

* Use singleton method rather then HassIO instance method

* Mock supervisor client in more tests
2024-10-21 16:41:00 +02:00
Álvaro Fernández Rojas 4306b0caba
Add new QNAP QSW uptime timestamp sensor (#122589)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-21 16:33:41 +02:00
Álvaro Fernández Rojas ebd1baa42c
Add Airzone switch entities to zones (#124562) 2024-10-21 16:33:22 +02:00
myztillx 6861bbed79
Add ecobee set_sensors_used_in_climate service (#102871)
* Add set_active_sensors Service

* Remove version bump from service addition commit

* Reviewer suggested changes

* Changed naming to be more clear of functionality

* Adjusted additional naming to follow new convention

* Updated to pass failing CI tests

* Fix typo

* Fix to pass CI

* Changed argument from climate_name to preset_mode and changed service error

* Made loop more clear and changed raised error to log msg

* Fix typo

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Removed code that was accidentally added back in and fixed mypy errors

* Add icon for service

* Added sensors as attributes and updated tests

* Revert changes made in #126587

* Added tests for remote_sensors and set_sensors_used_in_climate

* Changed back to load multiplatforms (#126587)

* Check for empty sensor list and negative tests for errors raised

* Added tests and fixed errors

* Add hass to class init to allow for device_registry lookup at startup and check for name changed by user

* Added tests to test the new functions

* Simplified code and fixed testing error for simplification

* Added freeze in test

* Fixed device filtering

* Simplified code section

* Maintains the ability to call `set_sensors_used_in_climate` function even is the user changes the device name from the ecobee app or thermostat without needing to reload home assistant.

* Update tests with new functionality. Changed thermostat identifier to a string, since that is what is provided via the ecobee api

* Changed function parameter

* Search for specific ecobee identifier

* Moved errors to strings.json

* Added test for sensor not on thermostat

* Improved tests and updated device check

* Added attributes to _unrecoreded_attributes

* Changed name to be more clear

* Improve error message and add test for added property

* Renamed variables for clarity

* Added device_id to available_sensors to make it easier on user to find it

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-10-21 16:21:56 +02:00
Andrew 25f66e6ac0
Bump pyopenweathermap to v0.2.1 (#128892) 2024-10-21 16:20:39 +02:00
epenet 838519e89f
Use STATE_ON/STATE_OFF constants in template test (#128883) 2024-10-21 16:19:44 +02:00
epenet be4641b8f3
Push real binary sensor states to state machine in tests (#128894) 2024-10-21 16:19:25 +02:00
Erik Montnemery e861cab727
Add update_percentage state attribute to update entity (#128877)
* Add update_percentage state attribute to update entity

* Update tests

* Update tests
2024-10-21 15:31:48 +02:00
Steven B. f8f87ec091
Add reconfigure flow to ring integration (#128357)
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-21 15:30:05 +02:00
Petar Petrov 106746ce58
Include Z-Wave JS lowSecurityReason in node added websocket message (#128896)
* Propagate lowSecurityReason to FE when adding a zwavejs device insecurely

* update tests
2024-10-21 14:27:04 +02:00
Cyrill Raccaud 62773fa88a
Simplify Swiss public transport coordinator (#128891) 2024-10-21 14:15:18 +02:00
Paul Bottein 28a8ed62f3
Add translations for Netatmo thermostat preset modes (#128890) 2024-10-21 13:00:23 +02:00
Erik Montnemery 0d447c9d50
Improve entity cached attributes (#128876) 2024-10-21 10:29:01 +02:00
Joost Lekkerkerker 827d6d1d2d
Add audio feature sensors to Spotify (#128785) 2024-10-21 09:46:38 +02:00
epenet 6bfed5c98c
Use new reauth helpers in yale_smart_alarm (#128836) 2024-10-20 23:52:37 +02:00
Alexander Knöbel f01231277b
Add humidity to KNX climate (#128844) 2024-10-20 22:17:00 +02:00
Christopher Fenner 1f9c06e606
Align consumption sensor names in ViCare integration (#127888) 2024-10-20 17:17:46 +02:00
LunaBytesBack 711c448242
Add Twitch stream viewer as readable data for integration (#128787) 2024-10-20 16:07:43 +02:00
peteS-UK 0c6a640e50
Add New Music Category for Media Browser (#128147) 2024-10-20 16:00:55 +02:00