Commit Graph

24220 Commits (bd55fe868d232c2106503a78e6175fccff14d0e1)

Author SHA1 Message Date
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