Skip to content

Commit 27b3c6d

Browse files
authored
home-assistant: 2026.7.4 -> 2026.8.0 (#549606)
2 parents b69e0af + c369295 commit 27b3c6d

117 files changed

Lines changed: 954 additions & 831 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

nixos/doc/manual/release-notes/rl-2611.section.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@
139139

140140
- `matrix-appservice-discord` was removed from nixpkgs along with its NixOS module (`services.matrix-appservice-discord`) as it is no longer actively maintained upstream. Use the actively-maintained puppeting bridge [`mautrix-discord`](#opt-services.mautrix-discord.enable) instead.
141141

142+
- Home Assistant 2026.8.0 migrated its HTTP configuration from YAML into the frontend. After upgrading, any options configured under `services.home-assistant.config.http` can be removed. HTTP settings can now be configured from the Home Assistant frontend under [Settings → System → Network](https://my.home-assistant.io/redirect/network). If no HTTP settings were previously configured, Home Assistant will default to listening on all interfaces on port 8123.
143+
142144
- `services.timesyncd.extraConfig` has been removed in favor of the structured [](#opt-services.timesyncd.settings.Time) option. Use `services.timesyncd.settings.Time` to set any `timesyncd.conf(5)` option directly. For example, replace `services.timesyncd.extraConfig = "PollIntervalMaxSec=180";` with `services.timesyncd.settings.Time.PollIntervalMaxSec = 180;`.
143145

144146
- `services.firezone.server.provision` has been removed due to it being unmaintanable. Remove all uses of provisioning and use the WebUI to configure firezone.

nixos/modules/services/home-automation/home-assistant.nix

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,22 @@ in
312312
options.services.home-assistant = {
313313
# Running home-assistant on NixOS is considered an installation method that is unsupported by the upstream project.
314314
# https://github.com/home-assistant/architecture/blob/master/adr/0012-define-supported-installation-method.md#decision
315-
enable = mkEnableOption "Home Assistant. Please note that this installation method is unsupported upstream";
315+
enable = mkOption {
316+
type = types.bool;
317+
default = false;
318+
example = true;
319+
description = ''
320+
Whether to enable Home Assistant, open source home automation that puts local control and privacy first.
321+
322+
Your instance will bind to `*:8123` by default. This can be changed in the [HTTP] integration in the frontend.
323+
324+
:::{.warning}
325+
The upstream project does not support this installation method. Make sure to file issues against nixpkgs first.
326+
:::
327+
328+
[HTTP]: https://www.home-assistant.io/integrations/http/
329+
'';
330+
};
316331

317332
extraArgs = mkOption {
318333
type = types.listOf types.str;
@@ -566,29 +581,6 @@ in
566581
};
567582
};
568583

569-
http = {
570-
# https://www.home-assistant.io/integrations/http/
571-
server_host = mkOption {
572-
type = types.either types.str (types.listOf types.str);
573-
default = [
574-
"0.0.0.0"
575-
"::"
576-
];
577-
example = "::1";
578-
description = ''
579-
Only listen to incoming requests on specific IP/host. The default listed assumes support for IPv4 and IPv6.
580-
'';
581-
};
582-
583-
server_port = mkOption {
584-
default = 8123;
585-
type = types.port;
586-
description = ''
587-
The port on which to listen.
588-
'';
589-
};
590-
};
591-
592584
lovelace = {
593585
# https://www.home-assistant.io/lovelace/dashboards/
594586
dashboards.nixos-lovelace = mkOption {

pkgs/development/python-modules/afsapi/default.nix

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
hatchling,
77
hatch-vcs,
88
defusedxml,
9-
pytest-aiohttp,
9+
pytest-asyncio,
10+
pytest-vcr,
1011
pytestCheckHook,
1112
}:
1213

@@ -32,14 +33,19 @@ buildPythonPackage (finalAttrs: {
3233
defusedxml
3334
];
3435

35-
doCheck = false; # Failed: async def functions are not natively supported.
36-
3736
nativeCheckInputs = [
38-
pytest-aiohttp
37+
pytest-asyncio
38+
pytest-vcr
3939
pytestCheckHook
4040
];
4141

42-
enabledTestPaths = [ "async_tests.py" ];
42+
disabledTestPaths = [
43+
# Failed: async def functions are not natively supported.
44+
"async_tests.py"
45+
# requires local device
46+
"tests/test_device_recordings.py"
47+
"tests/test_device_recordings_write.py"
48+
];
4349

4450
pythonImportsCheck = [ "afsapi" ];
4551

pkgs/development/python-modules/aioacaia/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99

1010
buildPythonPackage rec {
1111
pname = "aioacaia";
12-
version = "0.1.18";
12+
version = "0.2.1";
1313
pyproject = true;
1414

1515
src = fetchFromGitHub {
1616
owner = "zweckj";
1717
repo = "aioacaia";
1818
tag = "v${version}";
19-
hash = "sha256-ltqY1n7Kvpf518q+cL8u+Cyg9BHySb0dopxKNtUdoA4=";
19+
hash = "sha256-lDz7pIi/Eap2r5rcIqCREW+XiREJiImHN4z2f5XliDE=";
2020
};
2121

2222
build-system = [ setuptools ];

pkgs/development/python-modules/aioesphomeapi/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@
2727

2828
buildPythonPackage (finalAttrs: {
2929
pname = "aioesphomeapi";
30-
version = "45.3.1"; # must track the major version that home-assistant pins
30+
version = "45.6.1"; # must track the major version that home-assistant pins
3131
pyproject = true;
3232

3333
src = fetchFromGitHub {
3434
owner = "esphome";
3535
repo = "aioesphomeapi";
3636
tag = "v${finalAttrs.version}";
37-
hash = "sha256-+8P6OL+4Y+qrKLYqXtjBL2ylcamsF24Ccn00Vt9ohD0=";
37+
hash = "sha256-pjpc3lHORiFID5spq8x0cH1JUdee8CJHUDxdP9pC3RA=";
3838
};
3939

4040
postPatch = ''
4141
substituteInPlace pyproject.toml \
4242
--replace-fail "setuptools>=82.0.1" setuptools \
43-
--replace-fail "Cython>=3.2.5" Cython
43+
--replace-fail "Cython>=3.2.6" Cython
4444
'';
4545

4646
build-system = [

pkgs/development/python-modules/aiohasupervisor/default.nix

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
aiohttp,
4-
aioresponses,
4+
aiointercept,
55
buildPythonPackage,
66
fetchFromGitHub,
77
mashumaro,
@@ -17,19 +17,19 @@
1717

1818
buildPythonPackage rec {
1919
pname = "aiohasupervisor";
20-
version = "0.5.0";
20+
version = "0.6.0";
2121
pyproject = true;
2222

2323
src = fetchFromGitHub {
2424
owner = "home-assistant-libs";
2525
repo = "python-supervisor-client";
2626
tag = version;
27-
hash = "sha256-qIj3kiKSo0aUj7b250c39FqxU3jV6uegmBlxR6wOkQ8=";
27+
hash = "sha256-OAuLee6hbShgEDN/3oD7O6KzxylnfrJoCgMPjluYcG8=";
2828
};
2929

3030
postPatch = ''
3131
substituteInPlace pyproject.toml \
32-
--replace-fail "setuptools>=68.0,<82.1" "setuptools"
32+
--replace-fail "setuptools>=68.0,<83.1" "setuptools"
3333
'';
3434

3535
nativeBuildInputs = [
@@ -46,18 +46,13 @@ buildPythonPackage rec {
4646
];
4747

4848
nativeCheckInputs = [
49-
aioresponses
49+
aiointercept
5050
pytest-aiohttp
5151
pytest-cov-stub
5252
pytest-timeout
5353
pytestCheckHook
5454
];
5555

56-
disabledTests = [
57-
# mocked url differs with empty query param value vs dropped query param
58-
"test_download_backup"
59-
];
60-
6156
pythonImportsCheck = [ "aiohasupervisor" ];
6257

6358
meta = {

pkgs/development/python-modules/aiohomekit/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020

2121
buildPythonPackage rec {
2222
pname = "aiohomekit";
23-
version = "3.2.20";
23+
version = "4.0.0";
2424
pyproject = true;
2525

2626
src = fetchFromGitHub {
2727
owner = "Jc2k";
2828
repo = "aiohomekit";
2929
tag = version;
30-
hash = "sha256-iVLW7oaYJ2imVs0aMUpGbiCyE86JOaHZJr86ZGRkfLM=";
30+
hash = "sha256-ptfL6MPnjAtKqYbsILzE6u+wkse3/Js4ZME4So3tVmU=";
3131
};
3232

3333
build-system = [ poetry-core ];

pkgs/development/python-modules/aiohue/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
buildPythonPackage (finalAttrs: {
1616
pname = "aiohue";
17-
version = "4.8.1";
17+
version = "4.9.0";
1818
pyproject = true;
1919

2020
src = fetchFromGitHub {
2121
owner = "home-assistant-libs";
2222
repo = "aiohue";
2323
tag = finalAttrs.version;
24-
hash = "sha256-Ex1ofLnpoO2oVQ3bc0Fy1kaSd1JGoL8DmnOgFRwz3D8=";
24+
hash = "sha256-AZQzt/JoCvGtz4AR7afI4k1BFrYjmq5Vp+NFbxzED9c=";
2525
};
2626

2727
postPatch = ''

pkgs/development/python-modules/aiomealie/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
fetchFromGitHub,
88
mashumaro,
99
orjson,
10-
poetry-core,
10+
hatchling,
1111
pyprojectVersionPatchHook,
1212
pytest-asyncio,
1313
pytest-cov-stub,
@@ -18,17 +18,17 @@
1818

1919
buildPythonPackage (finalAttrs: {
2020
pname = "aiomealie";
21-
version = "1.2.4";
21+
version = "2.0.0";
2222
pyproject = true;
2323

2424
src = fetchFromGitHub {
2525
owner = "joostlek";
2626
repo = "python-mealie";
2727
tag = "v${finalAttrs.version}";
28-
hash = "sha256-OROL48v5SniYtzuCYZWt9mSXcFqMTO0JB2K+Ym3Ksz4=";
28+
hash = "sha256-5ndyDoRQLpFB680j9n2uMqZS/RoxmIKYUgbculuWWpk=";
2929
};
3030

31-
build-system = [ poetry-core ];
31+
build-system = [ hatchling ];
3232

3333
nativeBuildInputs = [
3434
pyprojectVersionPatchHook

pkgs/development/python-modules/aiopvapi/default.nix

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,44 @@
33
aiohttp,
44
buildPythonPackage,
55
fetchFromGitHub,
6+
pytest-asyncio,
67
pytestCheckHook,
78
setuptools,
89
}:
910

10-
buildPythonPackage rec {
11+
buildPythonPackage (finalAttrs: {
1112
pname = "aiopvapi";
12-
version = "3.3.0";
13+
version = "3.4.0";
1314
pyproject = true;
1415

1516
src = fetchFromGitHub {
1617
owner = "sander76";
1718
repo = "aio-powerview-api";
18-
tag = "v${version}";
19-
hash = "sha256-yystaH2HRsJoYh2aTpOBA7DLiC2xwpBUccHwmJ0FlaY=";
19+
tag = "v${finalAttrs.version}";
20+
hash = "sha256-pIi6A0YZnkFFg2juThPIO2IymzWZokTnyZl0QNUKstg=";
2021
};
2122

22-
patches = [
23-
# https://github.com/sander76/aio-powerview-api/pull/46
24-
./fix-tests.patch
25-
];
23+
postPatch = ''
24+
substituteInPlace aiopvapi/__version__.py \
25+
--replace-fail "3.3.0" "${finalAttrs.version}"
26+
'';
2627

2728
build-system = [ setuptools ];
2829

2930
dependencies = [ aiohttp ];
3031

31-
nativeCheckInputs = [ pytestCheckHook ];
32+
nativeCheckInputs = [
33+
pytest-asyncio
34+
pytestCheckHook
35+
];
3236

3337
pythonImportsCheck = [ "aiopvapi" ];
3438

3539
meta = {
3640
description = "Python API for the PowerView API";
3741
homepage = "https://github.com/sander76/aio-powerview-api";
38-
changelog = "https://github.com/sander76/aio-powerview-api/releases/tag/${src.tag}";
42+
changelog = "https://github.com/sander76/aio-powerview-api/releases/tag/${finalAttrs.src.tag}";
3943
license = lib.licenses.bsd3;
4044
maintainers = with lib.maintainers; [ fab ];
4145
};
42-
}
46+
})

0 commit comments

Comments
 (0)