24703 Commits

Author SHA1 Message Date
Joost Lekkerkerker
2fa7113787
Raise issue if SSL is set but no external URL configured (#121768)
* Raise issue if SSL is set but no external URL configured

* Add cloud

* Add cloud

* Fix strings

* Attempt

* Fix

* Fix

* Move strings

* Fixes

* fix

* Fix

* Fix

* Fix

* Break tests

* Fix tests
2024-09-24 15:35:10 +02:00
Joost Lekkerkerker
adcdb7a900
Map unknown air quality to None in Matter (#126639)
Map unknown to None in Matter
2024-09-24 15:30:01 +02:00
Lenn
ade4ee810b
Fix motionblinds_ble sensor tests (#126635) 2024-09-24 15:05:00 +02:00
G Johansson
d06d0a8f83
Fix tesla_fleet climate temp high/low test (#126631) 2024-09-24 14:56:46 +02:00
Erik Montnemery
972dc89c0f
Reinitialize dhcp discovery flow on config entry removal (#126556)
* Reinitialize dhcp discovery flow on unignore

* Tweak

* Rediscover on any removed config entry

* Adjust log message
2024-09-24 14:43:05 +02:00
Erik Montnemery
b6fe3a3022
Reinitialize bluetooth discovery flow on config entry removal (#126555)
* Reinitialize bluetooth discovery flow on unignore

* Update homeassistant/components/bluetooth/manager.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update tests

* Rediscover on any removed config entry

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-24 14:42:46 +02:00
Erik Montnemery
ba5f1ac2a9
Bump version of recorder context ID data migrators (#125293) 2024-09-24 13:45:37 +02:00
Joost Lekkerkerker
d3889cab9e
Make Matter select entity values translatable (#126608)
* Make Matter select entity values lowercase

* Make Matter select entity values lowercase
2024-09-24 13:40:38 +02:00
Joost Lekkerkerker
77029b0197
Make NYT Games a service (#126613) 2024-09-24 13:38:07 +02:00
Erik Montnemery
589910b49b
Reinitialize zeroconf discovery flow on config entry removal (#126595) 2024-09-24 13:37:28 +02:00
G Johansson
ef88425d25
Start deprecation vacuum constants for feature flags (#126354) 2024-09-24 12:53:42 +02:00
G Johansson
283033f902
Start deprecation for media_player constants (#126351)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-24 12:33:55 +02:00
G Johansson
93aade6e8e
Change lock state to an enum (#126379)
* Add new LockState enum for lock states

* Add rest

* Fix insteon tests

* Fix mqtt tests

* Fix tesla_fleet

* Revert back ST_STATE_LOCKED

* Add back constant
2024-09-24 12:30:50 +02:00
G Johansson
711e0ee503
Change camera state to an enum (#126558)
* Change camera state to an enum

* copy/paste mistake

* Add test deprecated constants
2024-09-24 12:12:01 +02:00
Lektri.co
4ac9b339a1
Add select platform to the Lektrico integration (#126490)
* Add select for Lektrico integration.

* Rename lb_mode to load_balancing_mode.

* Update homeassistant/components/lektrico/strings.json

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-24 12:08:28 +02:00
Marcel van der Veldt
f2092ef083
Prevent KeyError in Matter select entity (#126605) 2024-09-24 12:02:01 +02:00
Erik Montnemery
c96d4991b9
Add issue asking users to disable VoIP call_in_progress binary sensor (#126504)
* Add issue asking users to disable VoIP call_in_progress binary sensor

* Add tests

* Add files

* Update homeassistant/components/voip/binary_sensor.py

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

* Fix test

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-24 11:46:43 +02:00
Steven B.
010a5d2829
Add snapshots to all ring platform tests (#126560)
Add test snapshots to all ring platform tests
2024-09-24 10:53:19 +02:00
Brett Adams
5186605cec
Add energy history coordinator and sensors to Teslemetry (#126166)
* start

* More

* fix init

* Update requirements_all.txt

* Update requirements_test_all.txt

* Add Tests

* Add missing fixture

* first refresh history

* Fix mock_energy_history

* Remove failures prop

* Update test_init.py

* Actually add the sensors

* Add more icons

* suggested_display_precision

* Fix updated_once

* Fix fixture

* Review changes

* Apply suggestions from code review

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

* Remove init data

* Update homeassistant/components/teslemetry/coordinator.py

* ruff

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-24 10:32:38 +02:00
tronikos
4c0fb04f61
Make tts options of type list (such as profiles in google_cloud) work (#121582)
* Allow tts options of type list such as profiles in google_cloud

* Update tests/components/tts/test_media_source.py

* Don't mix engine specific options with other options

* Fix test

* Update assist_pipeline snapshots

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-24 00:07:12 -07:00
epenet
2df6824856
Cleanup source_type type hints in device tracker components (#126592) 2024-09-24 08:54:55 +02:00
epenet
61ff40c299
Add base Entity classes to enforce-class-module pylint plugin (#126473) 2024-09-24 08:52:07 +02:00
J. Nick Koston
31200040da
Bump aiohttp to 3.10.6rc2 (#126468) 2024-09-24 08:51:08 +02:00
Erik Montnemery
f1e8675756
Set autouse flag on session scope bluetooth fixture (#126589) 2024-09-24 08:43:32 +02:00
Erik Montnemery
1fdb34b1e1
Fix zeroconf rediscovery test (#126593) 2024-09-24 08:43:18 +02:00
Erik Montnemery
ce70f4ebac
Fix ecobee test helper (#126587) 2024-09-24 08:30:01 +02:00
Erik Montnemery
3c9f51fbbd
Reduce scope of JSON/XML test fixtures (#126590) 2024-09-24 08:29:35 +02:00
Michael Hansen
4869309997
Get updated Assist satellite config after setting it in ESPHome (#126552)
Get updated config after setting it
2024-09-23 20:36:53 -04:00
Erik Montnemery
d82bff1bc2
Index config entry discovery_keys by discovery domain (#126563)
* Index config entry discovery_keys by discovery domain

* Add new signal

* Update tests

* Update homeassistant/config_entries.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Fix imports

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 21:48:11 +02:00
Joost Lekkerkerker
714a1cc311
Bump nyt_games to 0.4.0 (#126564) 2024-09-23 19:28:30 +02:00
Jan-Philipp Benecke
28c2df37ed
Remove deprecated YAML import from traccar (#125763) 2024-09-23 19:14:55 +02:00
Joost Lekkerkerker
eaa25a33d7
Add more Wordle sensors (#126561)
* Add more Wordle sensors

* Add more Wordle sensors
2024-09-23 18:09:53 +02:00
Joost Lekkerkerker
1d94e66b9c
Add NYT Games integration (#126449)
* Add NYT Games integration

* Add NYT Games integration

* Add NYT Games integration

* Add NYT Games integration

* Add test
2024-09-23 17:40:19 +02:00
G Johansson
8eb76ea68d
Change lawn_mower state to an enum (#126458)
* Change lawn_mower state to an enum

* annotate as string
2024-09-23 17:39:53 +02:00
peteS-UK
8a2dccddc5
Add Model and Manufacturer details for Squeezebox devices (#126435)
* Add models and manufacturer

* Updates re: comments

* Updates for test

* Dedupe model

* Update homeassistant/components/squeezebox/media_player.py

* Change Squeezelite to SqueezeLite

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-09-23 16:59:22 +02:00
Erik Montnemery
b2982c18bb
Reinitialize zeroconf discovery flow on unignore (#125753)
* Reinitialize zeroconf discovery flow on unignore

* Adjust tests

* Improve comments

* Fix logic for updating discovery keys

* Add tests

* Use mock_config_flow helper in new config_entries test

* Add discovery_keys attribute to ConfigEntry

* Update zeroconf rediscovery

* Change type of ConfigEntry.discovery_keys

* Update tests

* Fix DiscoveryKey.from_json_dict and add tests

* Fix test

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-23 16:49:21 +02:00
epenet
d101fb33b3
Move tolo coordinator to separate module (#126550)
* Move tolo coordinator to separate module

* Adjust tests
2024-09-23 15:56:59 +02:00
David F. Mulcahey
e81a1f7acf
Add config to ZHA to allow disabling polling of mains powered devices when the network is started (#125473) 2024-09-23 14:34:24 +02:00
Nicholas Pike
691b2879bd
Fix image content-type validation case sensitivity (#125236) 2024-09-23 14:33:29 +02:00
G Johansson
939f2e41e9
Change valve state to an enum (#126428) 2024-09-23 14:20:18 +02:00
Erik Montnemery
0fc7bc2762
Fix a couple of stale ESPHome docstrings (#126508) 2024-09-23 14:19:17 +02:00
Maciej Bieniek
efc1ff6eff
Fix Shelly update entity names (#126512) 2024-09-23 14:18:24 +02:00
Brett Adams
a1abea4e0f
Add button platform to Tesla Fleet (#126410)
* Add button platform

* Fix tests

* Fix button setup

* Make func required

* do_nothing
2024-09-23 13:48:00 +02:00
epenet
ec311ecd2b
Move prusalink base entity to separate module (#126510)
* Move prusalink base entity to separate module

* Fix tests
2024-09-23 13:09:38 +02:00
epenet
14bc65e8e7
Move gardena_bluetooth base entity to separate module (#126484) 2024-09-23 13:06:10 +02:00
Brett Adams
e3351db3d8
Add lock platform to Tesla Fleet (#126412)
* Add lock platform

* Add lock platform tests

* Fix json
2024-09-23 12:52:13 +02:00
Adam Goode
71f6537846
Add additional test cases to Threshold (#126469)
There are still some bugs to be fixed, but for now this adds some
additional test cases for things that are already correct.
2024-09-23 12:51:29 +02:00
starkillerOG
8ef7cae36d
Speedup Reolink tests by using scope="module" (#125215)
* use scope="module"

* Instead of side_effect = None, use reset_mock(side_efffect=True)

* fix tests
2024-09-23 12:50:40 +02:00
epenet
1858c64e5f
Move motioneye base entity to separate module (#126495) 2024-09-23 12:48:07 +02:00
Michael
683a5b7120
Fix next change (scheduler) sensors in AVM FRITZ!SmartHome (#126363) 2024-09-23 10:11:27 +02:00