Commit Graph
114983 Commits
Author SHA1 Message Date
farmioandClaude Opus 5 88e8f04349 Fix compressed Store lookups and corrupt file handling
The store manager caches by filename, so a compressed store asking for
"key.zst" was told the file does not exist whenever only the uncompressed
predecessor was on disk. That short-circuited the load before the fallback
in _load_data_from_disk could run, so enabling compress on an existing
store read as empty on any real start, where the manager is initialized.
Only report "does not exist" when neither filename is on disk.

Rename the file that actually failed to parse when handling corruption.
The compressed path was renamed unconditionally, which raised
FileNotFoundError out of the executor when the uncompressed fallback was
the corrupt one, and named the wrong file in the repair issue.

Preload compressed stores too. Callers only know the plain key, so look
for both spellings before intersecting with the files on disk.

Also invalidate both filenames when writing or removing, since both drop
the uncompressed predecessor, and use a sentinel to tell "no file" apart
from a file holding an empty dict.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-23 08:01:22 +02:00
farmio 134c8a093a Add optional compression to Store 2026-08-23 07:07:59 +02:00
505b1235ce Fix race in assist_pipeline saved audio empty queue test (#179869)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-23 00:24:57 +02:00
5084b0510f Fix Z-Wave JS legacy security key handling (#179815)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 00:09:47 +02:00
starkillerOGandGitHub 59618df43b Increase Reolink track limit (#179850) 2026-08-22 15:55:34 -04:00
starkillerOGandGitHub 5610706ae5 Bump reolink_aio to 0.21.10 (#179851) 2026-08-22 15:55:01 -04:00
5ca5794855 Fix OVHcloud AI Endpoints forgetting an empty LLM API selection (#179764)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 15:16:17 -04:00
207d384cd0 Make the mocked IMAP IDLE result report done() synchronously (#179822)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 15:15:14 -04:00
eee990626a Send MJPEG camera credentials as an Authorization header (#179854)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 15:14:58 -04:00
bd7685f7a4 Register the custom pytest marks instead of ignoring the warning (#179840)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 15:14:27 -04:00
2e1b5de6fe Send rest credentials as an Authorization header (#179856)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 20:55:20 +02:00
bb78cabc62 Disable DBus probing for all tests, not just the bluetooth ones (#179844)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 19:49:22 +02:00
f91a6f66dc Forward service call context to entity in script.turn_off (#179539)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2026-08-22 19:47:13 +02:00
eda26b33a0 Mock the API client in the ESPHome websocket API test (#179841)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:20:41 -05:00
a3394bb7ef Give the mocked Shelly device a real ble_getconfig result (#179859)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:18:40 -05:00
6b2607a4a3 Pass the bluetooth detection callback to the scanner constructor (#179857)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:18:20 -05:00
c48e9d95d1 Mock the add-on store info in the Yellow multipan uninstall test (#179861)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:17:59 -05:00
7cbd0941ee Mock the Aprilaire client stop_listen as a sync call (#179863)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:17:42 -05:00
451ac3f72c Mock the add-on store info in the Z-Wave USB discovery test (#179864)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:17:26 -05:00
aa23eb93a9 Give the mocked cloud subscription info a real payload (#179865)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:17:12 -05:00
e74ebb5fb0 Mock the supervisor root info in the http ban test (#179862)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:16:57 -05:00
starkillerOGGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
02a4014a68 Reolink tamper entities (#179750)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-22 17:17:42 +01:00
Simone ChemelliandGitHub 6927877d1b Bump midea-local to 10.0.0 (#179842) 2026-08-22 17:56:10 +02:00
Wall-E-5andGitHub fc4e6902a3 Bump pyrisco to 0.8.1 (#179818) 2026-08-22 17:46:54 +02:00
1027d4fdbc Lower log level for missing TCL passages in Data Grand Lyon (#179828)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-22 17:42:54 +02:00
b540c39e2c Keep the mocked Xbox token long enough for PyJWT (#179829)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:36:08 -05:00
befe43a272 Send BleBox credentials as an Authorization header (#179837)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:32:42 -05:00
cb8b0a95fc Use encode_basic_auth for the Lyric token request (#179831)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:32:34 -05:00
cdc96c07da Send go2rtc credentials as an Authorization header (#179838)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:32:27 -05:00
d7fba1b54e Mock the Google API in the Google Generative AI diagnostics test (#179832)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:27:04 -05:00
f77bc02f87 Use a long enough JWT signing key in the auth token tests (#179835)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:19:01 -05:00
d6c13eee5c Silence two pytest warnings in the pylint plugin tests (#179833)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:18:49 -05:00
5d064af1bb Use a long enough JWT signing key in the cloud tests (#179821)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:18:22 -05:00
daaf982fe3 Use a long enough JWT signing key in the Enphase Envoy tests (#179820)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:18:05 -05:00
3befdedc5b Use a long enough JWT signing key in the Elmax tests (#179826)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:16:02 -05:00
d315c85a3d Keep caller supplied default headers in async_create_clientsession (#179824)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:15:44 -05:00
f64340cd9a Use a long enough JWT signing key in the Flume tests (#179827)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:14:58 -05:00
9ca37c6543 Import components concurrently in the circular import test (#179795)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:14:34 -05:00
32ed8408a1 Use a 2048 bit dummy RSA key in the Google Assistant tests (#179830)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:13:35 -05:00
ca8f427f08 Mock the source IP probe in the network url websocket test (#179834)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:13:12 -05:00
49db63b8f6 Mock the DoorBird API while finishing the repair flow (#179823)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 10:12:03 -05:00
Simone ChemelliandGitHub 9dfde34108 Add select platform to Midea (#179245) 2026-08-22 17:01:34 +02:00
59ceabb937 Extract Z-Wave JS config flow security keys and add-on handling (#179600)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2026-08-22 09:16:09 -04:00
JaminandGitHub 46a6429773 VoIP test improvements (#179456) 2026-08-22 08:26:45 -04:00
Maciej BieniekandGitHub 923ad9d320 Do not use a naive datetime.now() in BraviaTV (#179806) 2026-08-22 13:55:39 +02:00
a3bb68c87e Speed up VoIP tests (#179786)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 13:52:42 +02:00
Maciej BieniekandGitHub 41d1fe77f3 Create repair issue if RTSP is disabled for Shelly Camera (#179733) 2026-08-22 12:27:36 +02:00
22de432d88 Speed up the Aurora ABB Powerone tests (#179789)
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-22 12:11:08 +02:00
Martin HjelmareandGitHub 4130e16977 Add config flow to remember_the_milk (#178808) 2026-08-22 10:46:16 +02:00
IceBotYTandGitHub c32573558b Handle AuthFailedError in Nice G.O. WebSocket connection (#179753) 2026-08-22 10:41:34 +02:00