home-assistant: patch constant name in ezviz component

This was capitalized differently in pyezvizapi 1.0.1.1 in August 2025
but Home Assistant is sitting on 10.0.0.7 and now added a new access to
the old constant name.
This commit is contained in:
Martin Weinelt
2026-08-05 23:51:11 +02:00
parent 83c8bae3e9
commit ed79e89332

View File

@@ -336,6 +336,10 @@ python3Packages.buildPythonApplication rec {
substituteInPlace pyproject.toml \
--replace-fail "setuptools==78.1.1" setuptools
# https://github.com/RenierM26/pyEzvizApi/commit/ae0651ea93f031e94e7286fa3439fcc12acfb001
substituteInPlace homeassistant/components/ezviz/switch.py \
--replace-fail "SupportFulldayRecord" "SupportFullDayRecord"
'';
pythonRemoveDeps = [