home-assistant: 2024.2.5 -> 2024.3.0

https://www.home-assistant.io/blog/2024/03/06/release-20243/
This commit is contained in:
Martin Weinelt 2024-03-07 02:11:45 +01:00
parent 931dfbeb51
commit eca16eac97
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
5 changed files with 73 additions and 98 deletions

View File

@ -2,7 +2,7 @@
# Do not edit! # Do not edit!
{ {
version = "2024.2.5"; version = "2024.3.0";
components = { components = {
"3_day_blinds" = ps: with ps; [ "3_day_blinds" = ps: with ps; [
]; ];
@ -19,6 +19,8 @@
"acmeda" = ps: with ps; [ "acmeda" = ps: with ps; [
aiopulse aiopulse
]; ];
"acomax" = ps: with ps; [
];
"actiontec" = ps: with ps; [ "actiontec" = ps: with ps; [
]; ];
"adax" = ps: with ps; [ "adax" = ps: with ps; [
@ -224,6 +226,8 @@
"apprise" = ps: with ps; [ "apprise" = ps: with ps; [
apprise apprise
]; ];
"aprilaire" = ps: with ps; [
]; # missing inputs: pyaprilaire
"aprs" = ps: with ps; [ "aprs" = ps: with ps; [
aprslib aprslib
geopy geopy
@ -568,8 +572,7 @@
"brel_home" = ps: with ps; [ "brel_home" = ps: with ps; [
]; ];
"bring" = ps: with ps; [ "bring" = ps: with ps; [
python-bring-api ]; # missing inputs: bring-api
];
"broadlink" = ps: with ps; [ "broadlink" = ps: with ps; [
broadlink broadlink
]; ];
@ -831,6 +834,7 @@
"decora_wifi" = ps: with ps; [ "decora_wifi" = ps: with ps; [
]; # missing inputs: decora-wifi ]; # missing inputs: decora-wifi
"default_config" = ps: with ps; [ "default_config" = ps: with ps; [
aiodhcpwatcher
aiodiscover aiodiscover
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
@ -862,7 +866,6 @@
python-matter-server python-matter-server
pyturbojpeg pyturbojpeg
pyudev pyudev
scapy
securetar securetar
sqlalchemy sqlalchemy
webrtc-noise-gain webrtc-noise-gain
@ -929,9 +932,9 @@
pydexcom pydexcom
]; ];
"dhcp" = ps: with ps; [ "dhcp" = ps: with ps; [
aiodhcpwatcher
aiodiscover aiodiscover
cached-ipaddress cached-ipaddress
scapy
]; ];
"diagnostics" = ps: with ps; [ "diagnostics" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -980,7 +983,6 @@
ifaddr ifaddr
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
zeroconf
]; ];
"dlna_dms" = ps: with ps; [ "dlna_dms" = ps: with ps; [
aiohttp-cors aiohttp-cors
@ -991,7 +993,6 @@
ifaddr ifaddr
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
zeroconf
]; ];
"dnsip" = ps: with ps; [ "dnsip" = ps: with ps; [
aiodns aiodns
@ -1080,6 +1081,8 @@
"duotecno" = ps: with ps; [ "duotecno" = ps: with ps; [
pyduotecno pyduotecno
]; ];
"duquesne_light" = ps: with ps; [
];
"dwd_weather_warnings" = ps: with ps; [ "dwd_weather_warnings" = ps: with ps; [
dwdwfsapi dwdwfsapi
]; ];
@ -2131,6 +2134,15 @@
]; ];
"hurrican_shutters_wholesale" = ps: with ps; [ "hurrican_shutters_wholesale" = ps: with ps; [
]; ];
"husqvarna_automower" = ps: with ps; [
aioautomower
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast
psutil-home-assistant
sqlalchemy
];
"huum" = ps: with ps; [ "huum" = ps: with ps; [
huum huum
]; ];
@ -2418,7 +2430,6 @@
"joaoapps_join" = ps: with ps; [ "joaoapps_join" = ps: with ps; [
]; # missing inputs: python-join-api ]; # missing inputs: python-join-api
"juicenet" = ps: with ps; [ "juicenet" = ps: with ps; [
python-juicenet
]; ];
"justnimbus" = ps: with ps; [ "justnimbus" = ps: with ps; [
justnimbus justnimbus
@ -2557,6 +2568,8 @@
krakenex krakenex
pykrakenapi pykrakenapi
]; ];
"krispol" = ps: with ps; [
];
"kulersky" = ps: with ps; [ "kulersky" = ps: with ps; [
pykulersky pykulersky
]; ];
@ -2854,6 +2867,8 @@
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
]; ];
"madeco" = ps: with ps; [
];
"mailbox" = ps: with ps; [ "mailbox" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
@ -3025,6 +3040,14 @@
]; ];
"mfi" = ps: with ps; [ "mfi" = ps: with ps; [
]; # missing inputs: mficlient ]; # missing inputs: mficlient
"microbees" = ps: with ps; [
aiohttp-cors
aiohttp-fast-url-dispatcher
aiohttp-zlib-ng
fnv-hash-fast
psutil-home-assistant
sqlalchemy
]; # missing inputs: microBeesPy
"microsoft" = ps: with ps; [ "microsoft" = ps: with ps; [
]; # missing inputs: pycsspeechtts ]; # missing inputs: pycsspeechtts
"microsoft_face" = ps: with ps; [ "microsoft_face" = ps: with ps; [
@ -3396,10 +3419,10 @@
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
aiooui
fnv-hash-fast fnv-hash-fast
getmac getmac
ifaddr ifaddr
mac-vendor-lookup
netmap netmap
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
@ -4263,6 +4286,8 @@
"saj" = ps: with ps; [ "saj" = ps: with ps; [
pysaj pysaj
]; ];
"samsam" = ps: with ps; [
];
"samsungtv" = ps: with ps; [ "samsungtv" = ps: with ps; [
aiohttp-cors aiohttp-cors
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
@ -4276,7 +4301,6 @@
samsungtvws samsungtvws
sqlalchemy sqlalchemy
wakeonlan wakeonlan
zeroconf
] ]
++ samsungctl.optional-dependencies.websocket ++ samsungctl.optional-dependencies.websocket
++ samsungtvws.optional-dependencies.async ++ samsungtvws.optional-dependencies.async
@ -4727,7 +4751,6 @@
ifaddr ifaddr
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
zeroconf
]; ];
"starline" = ps: with ps; [ "starline" = ps: with ps; [
starline starline
@ -4899,6 +4922,7 @@
]; ];
"systemmonitor" = ps: with ps; [ "systemmonitor" = ps: with ps; [
psutil psutil
psutil-home-assistant
]; ];
"tado" = ps: with ps; [ "tado" = ps: with ps; [
python-tado python-tado
@ -5330,7 +5354,6 @@
ifaddr ifaddr
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
zeroconf
]; ];
"uprise_smart_shades" = ps: with ps; [ "uprise_smart_shades" = ps: with ps; [
]; ];
@ -5486,6 +5509,8 @@
"weatherflow" = ps: with ps; [ "weatherflow" = ps: with ps; [
pyweatherflowudp pyweatherflowudp
]; ];
"weatherflow_cloud" = ps: with ps; [
]; # missing inputs: weatherflow4py
"weatherkit" = ps: with ps; [ "weatherkit" = ps: with ps; [
apple-weatherkit apple-weatherkit
]; ];
@ -5494,6 +5519,8 @@
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
]; ];
"webmin" = ps: with ps; [
]; # missing inputs: webmin-xmlrpc
"webostv" = ps: with ps; [ "webostv" = ps: with ps; [
aiowebostv aiowebostv
]; ];
@ -5555,7 +5582,7 @@
wled wled
]; ];
"wolflink" = ps: with ps; [ "wolflink" = ps: with ps; [
]; # missing inputs: wolf-smartset ]; # missing inputs: wolf-comm
"workday" = ps: with ps; [ "workday" = ps: with ps; [
holidays holidays
]; ];
@ -5693,7 +5720,6 @@
ifaddr ifaddr
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
zeroconf
]; ];
"yandex_transport" = ps: with ps; [ "yandex_transport" = ps: with ps; [
aioymaps aioymaps
@ -5713,7 +5739,6 @@
psutil-home-assistant psutil-home-assistant
sqlalchemy sqlalchemy
yeelight yeelight
zeroconf
]; ];
"yeelightsunflower" = ps: with ps; [ "yeelightsunflower" = ps: with ps; [
]; # missing inputs: yeelightsunflower ]; # missing inputs: yeelightsunflower
@ -5797,6 +5822,8 @@
]; # missing inputs: ziggo-mediabox-xl ]; # missing inputs: ziggo-mediabox-xl
"zodiac" = ps: with ps; [ "zodiac" = ps: with ps; [
]; ];
"zondergas" = ps: with ps; [
];
"zone" = ps: with ps; [ "zone" = ps: with ps; [
]; ];
"zoneminder" = ps: with ps; [ "zoneminder" = ps: with ps; [
@ -5874,6 +5901,7 @@
"arcam_fmj" "arcam_fmj"
"aseko_pool_live" "aseko_pool_live"
"assist_pipeline" "assist_pipeline"
"asterisk_mbox"
"asuswrt" "asuswrt"
"atag" "atag"
"august" "august"
@ -5905,7 +5933,6 @@
"bond" "bond"
"bosch_shc" "bosch_shc"
"braviatv" "braviatv"
"bring"
"broadlink" "broadlink"
"brother" "brother"
"brottsplatskartan" "brottsplatskartan"
@ -6124,6 +6151,7 @@
"huisbaasje" "huisbaasje"
"humidifier" "humidifier"
"hunterdouglas_powerview" "hunterdouglas_powerview"
"husqvarna_automower"
"huum" "huum"
"hvv_departures" "hvv_departures"
"hydrawise" "hydrawise"
@ -6570,6 +6598,7 @@
"vallox" "vallox"
"valve" "valve"
"velbus" "velbus"
"velux"
"venstar" "venstar"
"vera" "vera"
"verisure" "verisure"

View File

@ -3,7 +3,6 @@
, callPackage , callPackage
, fetchFromGitHub , fetchFromGitHub
, fetchPypi , fetchPypi
, fetchpatch
, python311 , python311
, substituteAll , substituteAll
, ffmpeg-headless , ffmpeg-headless
@ -31,15 +30,6 @@ let
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
(self: super: { (self: super: {
aemet-opendata = super.aemet-opendata.overridePythonAttrs (oldAttrs: rec {
version = "0.4.7";
src = fetchFromGitHub {
inherit (oldAttrs.src) owner repo;
rev = "refs/tags/${version}";
hash = "sha256-kmU2HtNyYhfwWQv6asOtDpLZ6+O+eEICzBNLxUhAwaY=";
};
});
aiogithubapi = super.aiogithubapi.overridePythonAttrs (oldAttrs: rec { aiogithubapi = super.aiogithubapi.overridePythonAttrs (oldAttrs: rec {
version = "22.10.1"; version = "22.10.1";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -55,23 +45,6 @@ let
]; ];
}); });
aionotion = super.aionotion.overridePythonAttrs (oldAttrs: rec {
version = "2023.05.5";
src = fetchFromGitHub {
owner = "bachya";
repo = "aionotion";
rev = "refs/tags/${version}";
hash = "sha256-/2sF8m5R8YXkP89bi5zR3h13r5LrFOl1OsixAcX0D4o=";
};
patches = [
(fetchpatch {
# clean up build dependencies; https://github.com/bachya/aionotion/commit/53c7285110d12810f9b43284295f71d052a81b83
url = "https://github.com/bachya/aionotion/commit/53c7285110d12810f9b43284295f71d052a81b83.patch";
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
})
];
});
aiopurpleair = super.aiopurpleair.overridePythonAttrs (oldAttrs: rec { aiopurpleair = super.aiopurpleair.overridePythonAttrs (oldAttrs: rec {
version = "2022.12.1"; version = "2022.12.1";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -87,16 +60,6 @@ let
''; '';
}); });
aiopvapi = super.aiopvapi.overridePythonAttrs (oldAttrs: rec {
version = "2.0.4";
src = fetchFromGitHub {
owner = "sander76";
repo = "aio-powerview-api";
rev = "refs/tags/v${version}";
hash = "sha256-cghfNi5T343/7GxNLDrE0iAewMlRMycQTP7SvDVpU2M=";
};
});
aioskybell = super.aioskybell.overridePythonAttrs (oldAttrs: rec { aioskybell = super.aioskybell.overridePythonAttrs (oldAttrs: rec {
version = "22.7.0"; version = "22.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -149,15 +112,6 @@ let
]; ];
}); });
brother = super.brother.overridePythonAttrs (oldAttrs: rec {
version = "3.0.0";
src = fetchFromGitHub {
inherit (oldAttrs.src) owner repo;
rev = "refs/tags/${version}";
hash = "sha256-rRzcWT9DcNTBUYxyYYC7WORBbrkgj0toCp2e8ADUN5s=";
};
});
debugpy = super.debugpy.overridePythonAttrs (oldAttrs: { debugpy = super.debugpy.overridePythonAttrs (oldAttrs: {
# tests are deadlocking too often # tests are deadlocking too often
# https://github.com/NixOS/nixpkgs/issues/262000 # https://github.com/NixOS/nixpkgs/issues/262000
@ -348,16 +302,6 @@ let
}; };
}); });
python-slugify = super.python-slugify.overridePythonAttrs (oldAttrs: rec {
version = "8.0.1";
src = fetchFromGitHub {
owner = "un33k";
repo = "python-slugify";
rev = "refs/tags/v${version}";
hash = "sha256-MJac63XjgWdUQdyyEm8O7gAGVszmHxZzRF4frJtR0BU=";
};
});
pytradfri = super.pytradfri.overridePythonAttrs (oldAttrs: rec { pytradfri = super.pytradfri.overridePythonAttrs (oldAttrs: rec {
version = "9.0.1"; version = "9.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -398,16 +342,6 @@ let
}; };
}); });
wyoming = super.wyoming.overridePythonAttrs (oldAttrs: rec {
version = "1.5.2";
src = fetchFromGitHub {
owner = "rhasspy";
repo = "wyoming";
rev = "refs/tags/${version}";
hash = "sha256-2bc5coKL5KlTeL9fdghPmRF66NXfimHOKGtE2yPXgrA=";
};
});
xbox-webapi = super.xbox-webapi.overridePythonAttrs (oldAttrs: rec { xbox-webapi = super.xbox-webapi.overridePythonAttrs (oldAttrs: rec {
version = "2.0.11"; version = "2.0.11";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -462,7 +396,7 @@ let
extraBuildInputs = extraPackages python.pkgs; extraBuildInputs = extraPackages python.pkgs;
# Don't forget to run parse-requirements.py after updating # Don't forget to run parse-requirements.py after updating
hassVersion = "2024.2.5"; hassVersion = "2024.3.0";
in python.pkgs.buildPythonApplication rec { in python.pkgs.buildPythonApplication rec {
pname = "homeassistant"; pname = "homeassistant";
@ -480,13 +414,13 @@ in python.pkgs.buildPythonApplication rec {
owner = "home-assistant"; owner = "home-assistant";
repo = "core"; repo = "core";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-RRoxWNcubpxzmExzrifRKhgNm0IM5OuNZYHz6tp9zm8="; hash = "sha256-/DCE2IHdS+oImpzwIaFgXotAsoiPPbe3X3HG7RXbv9g=";
}; };
# Secondary source is pypi sdist for translations # Secondary source is pypi sdist for translations
sdist = fetchPypi { sdist = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-qhUfOMSM4FKUQ9LdeoHLLrVm5cWFrlTER02s+tLVAMU="; hash = "sha256-G9M1WV+s4zu9BY10RWmJ71ghafAOHMjnCR6BOlggguM=";
}; };
nativeBuildInputs = with python.pkgs; [ nativeBuildInputs = with python.pkgs; [
@ -496,7 +430,10 @@ in python.pkgs.buildPythonApplication rec {
pythonRelaxDeps = [ pythonRelaxDeps = [
"attrs" "attrs"
"bcrypt"
"ciso8601" "ciso8601"
"cryptography"
"httpx"
"orjson" "orjson"
"pyopenssl" "pyopenssl"
"typing-extensions" "typing-extensions"
@ -534,7 +471,7 @@ in python.pkgs.buildPythonApplication rec {
aiohttp-fast-url-dispatcher aiohttp-fast-url-dispatcher
aiohttp-zlib-ng aiohttp-zlib-ng
astral astral
async-timeout async-interrupt
atomicwrites-homeassistant atomicwrites-homeassistant
attrs attrs
awesomeversion awesomeversion
@ -555,7 +492,9 @@ in python.pkgs.buildPythonApplication rec {
python-slugify python-slugify
pyyaml pyyaml
requests requests
typing-extensions
ulid-transform ulid-transform
urllib3
voluptuous voluptuous
voluptuous-serialize voluptuous-serialize
yarl yarl
@ -563,7 +502,7 @@ in python.pkgs.buildPythonApplication rec {
pyotp pyotp
pyqrcode pyqrcode
# Implicit dependency via homeassistant/requirements.py # Implicit dependency via homeassistant/requirements.py
setuptools packaging
]; ];
makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip"; makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip";
@ -593,7 +532,9 @@ in python.pkgs.buildPythonApplication rec {
] ++ lib.concatMap (component: getPackages component python.pkgs) [ ] ++ lib.concatMap (component: getPackages component python.pkgs) [
# some components are needed even if tests in tests/components are disabled # some components are needed even if tests in tests/components are disabled
"default_config" "default_config"
"debugpy"
"hue" "hue"
"sentry"
]; ];
pytestFlagsArray = [ pytestFlagsArray = [

View File

@ -4,7 +4,7 @@ buildPythonPackage rec {
# the frontend version corresponding to a specific home-assistant version can be found here # the frontend version corresponding to a specific home-assistant version can be found here
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
pname = "home-assistant-frontend"; pname = "home-assistant-frontend";
version = "20240207.1"; version = "20240306.0";
format = "wheel"; format = "wheel";
src = fetchPypi { src = fetchPypi {
@ -12,7 +12,7 @@ buildPythonPackage rec {
pname = "home_assistant_frontend"; pname = "home_assistant_frontend";
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
hash = "sha256-uGBVha7nJvYua1rZXlIJGhUzEm5wSrhazrOBUi3omJk="; hash = "sha256-eDuJC23PJbjaKC9TBCLg5ML3XR6admKrT9RVgfUQCw8=";
}; };
# there is nothing to strip in this package # there is nothing to strip in this package

View File

@ -1,8 +1,8 @@
diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py
index a98766c78c..1c47bb1f80 100644 index 4ab4ee32a0..0f04f037f6 100644
--- a/homeassistant/components/ffmpeg/__init__.py --- a/homeassistant/components/ffmpeg/__init__.py
+++ b/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py
@@ -41,7 +41,7 @@ CONF_FFMPEG_BIN = "ffmpeg_bin" @@ -46,7 +46,7 @@ CONF_FFMPEG_BIN = "ffmpeg_bin"
CONF_EXTRA_ARGUMENTS = "extra_arguments" CONF_EXTRA_ARGUMENTS = "extra_arguments"
CONF_OUTPUT = "output" CONF_OUTPUT = "output"
@ -70,15 +70,15 @@ index 6eec115d6f..c55b4fb26c 100644
hass.bus.async_fire(EVENT_HOMEASSISTANT_START) hass.bus.async_fire(EVENT_HOMEASSISTANT_START)
diff --git a/tests/components/ffmpeg/test_init.py b/tests/components/ffmpeg/test_init.py diff --git a/tests/components/ffmpeg/test_init.py b/tests/components/ffmpeg/test_init.py
index 0c6ce300d0..ff74a5d7f7 100644 index 452a818859..41ba776436 100644
--- a/tests/components/ffmpeg/test_init.py --- a/tests/components/ffmpeg/test_init.py
+++ b/tests/components/ffmpeg/test_init.py +++ b/tests/components/ffmpeg/test_init.py
@@ -91,7 +91,7 @@ class TestFFmpegSetup: @@ -81,7 +81,7 @@ def test_setup_component():
with assert_setup_component(1): with assert_setup_component(1):
setup_component(self.hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}}) setup_component(hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
- assert hass.data[ffmpeg.DATA_FFMPEG].binary == "ffmpeg"
+ assert hass.data[ffmpeg.DATA_FFMPEG].binary == "@ffmpeg@"
hass.stop()
- assert self.hass.data[ffmpeg.DATA_FFMPEG].binary == "ffmpeg"
+ assert self.hass.data[ffmpeg.DATA_FFMPEG].binary == "@ffmpeg@"
def test_setup_component_test_service(self):
"""Set up ffmpeg component test services."""

View File

@ -82,6 +82,11 @@ let
# aioserial mock produces wrong state # aioserial mock produces wrong state
"--deselect tests/components/modem_callerid/test_init.py::test_setup_entry" "--deselect tests/components/modem_callerid/test_init.py::test_setup_entry"
]; ];
velux = [
# uses unmocked sockets
"--deselect tests/components/velux/test_config_flow.py::test_user_success"
"--deselect tests/components/velux/test_config_flow.py::test_import_valid_config"
];
}; };
in lib.listToAttrs (map (component: lib.nameValuePair component ( in lib.listToAttrs (map (component: lib.nameValuePair component (
home-assistant.overridePythonAttrs (old: { home-assistant.overridePythonAttrs (old: {