home-assistant-custom-components.frigate: fix build (#505654)

This commit is contained in:
Martin Weinelt
2026-04-01 18:55:59 +00:00
committed by GitHub
2 changed files with 26 additions and 0 deletions
@@ -28,6 +28,11 @@ buildHomeAssistantComponent rec {
hash = "sha256-fgsYznTqJrEh4niyGfksnflRp1PpljrlzJBvs8gKn54=";
};
patches = [
# https://github.com/blakeblackshear/frigate-hass-integration/pull/1070
./service-to-action.patch
];
dependencies = [
hass-web-proxy-lib
titlecase
@@ -0,0 +1,21 @@
index 9d3ba82..dabf566 100644
--- a/tests/test_integration_services.py
+++ b/tests/test_integration_services.py
@@ -137,7 +137,7 @@ async def test_review_summarize_service_version_check(
await setup_mock_frigate_config_entry(hass, client=client)
# Verify service is not available (should not be registered for version < 0.17)
- with pytest.raises(Exception, match="service_not_found"):
+ with pytest.raises(Exception, match="Action frigate.review_summarize not found"):
await hass.services.async_call(
"frigate",
SERVICE_REVIEW_SUMMARIZE,
@@ -156,7 +156,7 @@ async def test_review_summarize_service_no_integration(
# Don't set up any Frigate integration
# When no integration is configured, the service won't exist
- with pytest.raises(Exception, match="service_not_found"):
+ with pytest.raises(Exception, match="Action frigate.review_summarize not found"):
await hass.services.async_call(
"frigate",
SERVICE_REVIEW_SUMMARIZE,