Merge pull request #138025 from NixOS/home-assistant

home-assistant: 2021.8.8 -> 2021.9.6

authored by Martin Weinelt and committed by GitHub 6f12ff7a 08e938ed

+138 -91
+2
nixos/modules/services/misc/home-assistant.nix
··· 310 310 "serial_pm" 311 311 "sms" 312 312 "upb" 313 + "usb" 313 314 "velbus" 314 315 "w800rf32" 315 316 "xbee" 316 317 "zha" 317 318 "zwave" 319 + "zwave_js" 318 320 ]; 319 321 in { 320 322 ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'";
+2 -2
pkgs/development/python-modules/aioambient/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "aioambient"; 19 - version = "1.2.6"; 19 + version = "1.3.0"; 20 20 format = "pyproject"; 21 21 disabled = pythonOlder "3.6"; 22 22 ··· 24 24 owner = "bachya"; 25 25 repo = pname; 26 26 rev = version; 27 - sha256 = "sha256-EppnuZP62YTFI3UJUzBUj2m5TvFh1WiDz9smHY7We60="; 27 + sha256 = "sha256-blejTXyLe3B2kNytBh+zJz0Q0xDP+Vo2SV9gc7OX6S0="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/aioswitcher/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "aioswitcher"; 16 - version = "2.0.4"; 16 + version = "2.0.5"; 17 17 format = "pyproject"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "TomerFi"; 21 21 repo = pname; 22 22 rev = version; 23 - sha256 = "sha256-n4JvtShs2/shJxAzxm6qyipVQ7e3QfeVwhnqu6RWZss="; 23 + sha256 = "sha256-q1toEKEqTJuZbsrqDjfbUWsQmrwiu2MtcoWqKKRUEJA="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+11 -9
pkgs/development/python-modules/async-upnp-client/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "async-upnp-client"; 17 - version = "0.21.0"; 17 + version = "0.21.3"; 18 18 disabled = pythonOlder "3.6"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "StevenLooman"; 22 22 repo = "async_upnp_client"; 23 23 rev = version; 24 - sha256 = "sha256-GKvljxm2N4pC8Mh+UOW170VPB3va9X9BuQXp6OJ/SSQ="; 24 + sha256 = "sha256-85MdzvNac199pZObhfGv33ycgzt4nr9eHYvSjMW6kq8="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [ ··· 39 39 40 40 disabledTests = [ 41 41 # socket.gaierror: [Errno -2] Name or service not known 42 - "test_get_local_ip" 43 42 "test_async_get_local_ip" 43 + "test_get_local_ip" 44 44 # OSError: [Errno 101] Network is unreachable 45 - "test_subscribe_fail" 46 - "test_subscribe_auto_resubscribe" 47 - "test_subscribe_manual_resubscribe" 48 45 "test_auto_resubscribe_fail" 46 + "test_init" 49 47 "test_on_notify_dlna_event" 50 48 "test_on_notify_upnp_event" 51 - "test_unsubscribe" 49 + "test_server_init" 50 + "test_server_start" 51 + "test_start_server" 52 52 "test_subscribe" 53 + "test_subscribe_auto_resubscribe" 54 + "test_subscribe_fail" 55 + "test_subscribe_manual_resubscribe" 53 56 "test_subscribe_renew" 54 - "test_start_server" 55 - "test_init" 57 + "test_unsubscribe" 56 58 ] ++ lib.optionals stdenv.isDarwin [ 57 59 "test_deferred_callback_url" 58 60 ];
+2 -2
pkgs/development/python-modules/bellows/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "bellows"; 20 - version = "0.26.0"; 20 + version = "0.27.0"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "zigpy"; 24 24 repo = "bellows"; 25 25 rev = version; 26 - sha256 = "0qbsk5iv3vrpwz7kfmjdbc66rfkg788p6wwxbf6jzfarfhcgrh3k"; 26 + sha256 = "sha256-lsGpCd4XgwP91JmRpV6ohXefd1Hm9C51Jk4shU6Irkw="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/env-canada/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "env-canada"; 15 - version = "0.5.0"; 15 + version = "0.5.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "michaeldavie"; 19 19 repo = "env_canada"; 20 20 rev = "v${version}"; 21 - sha256 = "0dgw2mf760r1y0mq8bcvx6y3bcqpaf8p97rzf7pd0pbwvwrcsj3n"; 21 + sha256 = "sha256-tafhOW1wd/D0ojRUdDzp62cQ8w7wgx5ITcWAcoY1i5Y="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+5
pkgs/development/python-modules/herepy/default.nix
··· 20 20 sha256 = "sha256-05x3EQoyv38j4UcixN0sf5BI2oTjfasAIQyZqQSjdPM="; 21 21 }; 22 22 23 + postPatch = '' 24 + substituteInPlace requirements.txt \ 25 + --replace "requests==2.25.1" "requests>=2.25.1" 26 + ''; 27 + 23 28 propagatedBuildInputs = [ 24 29 requests 25 30 ];
+4 -2
pkgs/development/python-modules/pyiqvia/default.nix
··· 2 2 , buildPythonPackage 3 3 , aiohttp 4 4 , aresponses 5 + , backoff 5 6 , fetchFromGitHub 6 7 , poetry-core 7 8 , pytest-aiohttp ··· 12 13 13 14 buildPythonPackage rec { 14 15 pname = "pyiqvia"; 15 - version = "1.0.1"; 16 + version = "1.1.0"; 16 17 format = "pyproject"; 17 18 18 19 disabled = pythonOlder "3.6"; ··· 21 22 owner = "bachya"; 22 23 repo = pname; 23 24 rev = version; 24 - sha256 = "18qzxxn9xw9rwv3qz8k3zxh9xxy8c7rs8xlsrdrcq9wb0dhd7p0r"; 25 + sha256 = "sha256-uDcBpPHh+wQHI2vGjnumwVGt5ZOreVq+L3kOam97uW4="; 25 26 }; 26 27 27 28 nativeBuildInputs = [ ··· 30 31 31 32 propagatedBuildInputs = [ 32 33 aiohttp 34 + backoff 33 35 ]; 34 36 35 37 checkInputs = [
+2 -2
pkgs/development/python-modules/pymodbus/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "pymodbus"; 21 - version = "2.5.2"; 21 + version = "2.5.3rc1"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "riptideio"; 25 25 repo = pname; 26 26 rev = "v${version}"; 27 - sha256 = "sha256-jqVfBAjIdRBB5AYd0ZkMi7qAUR6vSYeBI4OYEv+mKwE="; 27 + sha256 = "sha256-jynljjTipN/Yx97RSWikcotxCqosNWSDH7GdwcSIiRU="; 28 28 }; 29 29 30 30 # Twisted asynchronous version is not supported due to a missing dependency
+2 -2
pkgs/development/python-modules/pymyq/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pymyq"; 12 - version = "3.1.3"; 12 + version = "3.1.4"; 13 13 disabled = pythonOlder "3.8"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "arraylabs"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-V2u2wUSPwiF6o6OWhQVKiHtzhn0/rzyM6e2+a+D7UNA="; 19 + sha256 = "sha256-B8CnyM0nQr8HWnD5toMd8A57j/UtnQ2aWys0netOAtA="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyopenuv/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "pyopenuv"; 17 - version = "2.1.0"; 17 + version = "2.2.0"; 18 18 format = "pyproject"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "bachya"; 22 22 repo = pname; 23 23 rev = version; 24 - sha256 = "sha256-S2X7cTArjiWOFjQGnrZ4AuhgN8t18wf9d6i9X5thRZg="; 24 + sha256 = "sha256-WYCIQTQbDh9U4nB+dgLXbBJXErC4l5Hnk8K5n4CctCw="; 25 25 }; 26 26 27 27 nativeBuildInputs = [ poetry-core ];
+2 -2
pkgs/development/python-modules/snitun/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "snitun"; 14 - version = "0.27.0"; 14 + version = "0.30.0"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "NabuCasa"; 18 18 repo = pname; 19 19 rev = version; 20 - sha256 = "sha256-vx9F+Nat69Yadd+YpsnBCstnxCEICFJI14TdG6PvstI="; 20 + sha256 = "sha256-IjdgxX6ed9IWMFaMXIXQWZWoODrZBzXtMAcMOIhPFVQ="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/soco/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "soco"; 17 - version = "0.23.3"; 17 + version = "0.24.0"; 18 18 disabled = pythonOlder "3.6"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "SoCo"; 22 22 repo = "SoCo"; 23 23 rev = "v${version}"; 24 - sha256 = "sha256-T6gDImH/HfHg8e1YzUYB8zr2GJHRtF6vdYm2cSiXSb0="; 24 + sha256 = "sha256-3VL2JFlukfQdjTP65X40OOsuCUVsY9kuvRKUZ3qEd+s="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+32
pkgs/development/python-modules/stdlib-list/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , isPy27 4 + , fetchPypi 5 + , python 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "stdlib-list"; 10 + version = "0.8.0"; 11 + format = "setuptools"; 12 + disabled = isPy27; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "17vdn4q0sdlndc2fr9svapxx6366hnrhkn0fswp1xmr0jxqh7rd1"; 17 + }; 18 + 19 + pythonImportsCheck = [ 20 + "stdlib_list" 21 + ]; 22 + 23 + # tests see mismatches to our standard library 24 + doCheck = false; 25 + 26 + meta = with lib; { 27 + description = "A list of Python Standard Libraries"; 28 + homepage = "https://github.com/jackmaney/python-stdlib-list"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ hexa ]; 31 + }; 32 + }
+2 -2
pkgs/development/python-modules/yeelight/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "yeelight"; 12 - version = "0.7.3"; 12 + version = "0.7.4"; 13 13 disabled = pythonOlder "3.4"; 14 14 15 15 src = fetchFromGitLab { 16 16 owner = "stavros"; 17 17 repo = "python-yeelight"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-sdSzriAgY3LSOeyPB2Pe1k9iamStZ1OlYXJZviRa+TY="; 19 + sha256 = "sha256-qpyD4o8YMVu6DiizuBs/44Vz0oPIMR4/YQwaCDNKpFI="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/zha-quirks/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "zha-quirks"; 12 - version = "0.0.59"; 12 + version = "0.0.61"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "zigpy"; 16 16 repo = "zha-device-handlers"; 17 17 rev = version; 18 - sha256 = "1x6s44apl393as847ghbqr26h0y0h4w3wp53bs0m2nfbzjwin3i7"; 18 + sha256 = "sha256-uDQAXH0p8Ly0ZbwNlkVo1b7fAXSu77U7v3BHd0B1YQk="; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/zigpy-deconz/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "zigpy-deconz"; 14 - version = "0.12.1"; 14 + version = "0.13.0"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "zigpy"; 18 18 repo = pname; 19 19 rev = version; 20 - sha256 = "sha256-NpLhVQfezXbJQMvqqZjr9sc8tCjJgGu5Xk3C5/IDeUQ="; 20 + sha256 = "sha256-9rxdnY5tMtPJLE/lRaphNR1L1vdhAxnIDoh8xCHmzjc="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
+2 -2
pkgs/development/python-modules/zwave-js-server-python/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "zwave-js-server-python"; 12 - version = "0.28.0"; 12 + version = "0.30.0"; 13 13 disabled = pythonOlder "3.8"; 14 14 15 15 ··· 17 17 owner = "home-assistant-libs"; 18 18 repo = pname; 19 19 rev = version; 20 - sha256 = "137m9052ndbii0q6zw9vmwsfimai05q9np4wv06nw2p2mhy5x48p"; 20 + sha256 = "sha256-KYMq0qDVLHzgaYljwYeK58aggD5kBAI1J/RsirGcVvs="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+36 -30
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2021.8.8"; 5 + version = "2021.9.6"; 6 6 components = { 7 7 "abode" = ps: with ps; [ abodepy ]; 8 8 "accuweather" = ps: with ps; [ accuweather ]; ··· 19 19 "air_quality" = ps: with ps; [ ]; 20 20 "airly" = ps: with ps; [ airly ]; 21 21 "airnow" = ps: with ps; [ pyairnow ]; 22 + "airtouch4" = ps: with ps; [ ]; # missing inputs: airtouch4pyapi 22 23 "airvisual" = ps: with ps; [ pyairvisual ]; 23 24 "aladdin_connect" = ps: with ps; [ aladdin-connect ]; 24 25 "alarm_control_panel" = ps: with ps; [ ]; 25 26 "alarmdecoder" = ps: with ps; [ adext ]; 26 27 "alert" = ps: with ps; [ ]; 27 - "alexa" = ps: with ps; [ aiohttp-cors ]; 28 + "alexa" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; 28 29 "almond" = ps: with ps; [ aiohttp-cors pyalmond ]; 29 30 "alpha_vantage" = ps: with ps; [ alpha-vantage ]; 30 31 "amazon_polly" = ps: with ps; [ boto3 ]; ··· 111 112 "buienradar" = ps: with ps; [ buienradar ]; 112 113 "caldav" = ps: with ps; [ caldav ]; 113 114 "calendar" = ps: with ps; [ aiohttp-cors ]; 114 - "camera" = ps: with ps; [ aiohttp-cors ]; 115 + "camera" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; 115 116 "canary" = ps: with ps; [ ha-ffmpeg py-canary ]; 116 - "cast" = ps: with ps; [ aiohttp-cors hass-nabucasa ifaddr mutagen plexapi plexauth plexwebsocket PyChromecast zeroconf ]; 117 + "cast" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa ifaddr mutagen plexapi plexauth plexwebsocket PyChromecast zeroconf ]; 117 118 "cert_expiry" = ps: with ps; [ ]; 118 119 "channels" = ps: with ps; [ pychannels ]; 119 120 "circuit" = ps: with ps; [ ]; # missing inputs: circuit-webhook ··· 127 128 "clicksend_tts" = ps: with ps; [ ]; 128 129 "climacell" = ps: with ps; [ pyclimacell ]; 129 130 "climate" = ps: with ps; [ ]; 130 - "cloud" = ps: with ps; [ aiohttp-cors hass-nabucasa ]; 131 + "cloud" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa ]; 131 132 "cloudflare" = ps: with ps; [ pycfdns ]; 132 133 "cmus" = ps: with ps; [ ]; # missing inputs: pycmus 133 134 "co2signal" = ps: with ps; [ ]; # missing inputs: co2signal ··· 159 160 "deconz" = ps: with ps; [ pydeconz ]; 160 161 "decora" = ps: with ps; [ bluepy ]; # missing inputs: decora 161 162 "decora_wifi" = ps: with ps; [ ]; # missing inputs: decora_wifi 162 - "default_config" = ps: with ps; [ pynacl aiodiscover aiohttp-cors async-upnp-client defusedxml distro emoji hass-nabucasa home-assistant-frontend ifaddr pillow scapy sqlalchemy zeroconf ]; 163 + "default_config" = ps: with ps; [ pynacl pyturbojpeg aiodiscover aiohttp-cors async-upnp-client defusedxml emoji hass-nabucasa home-assistant-frontend ifaddr pillow pyserial pyudev scapy sqlalchemy zeroconf ]; 163 164 "delijn" = ps: with ps; [ pydelijn ]; 164 165 "deluge" = ps: with ps; [ deluge-client ]; 165 166 "demo" = ps: with ps; [ aiohttp-cors ]; ··· 266 267 "firmata" = ps: with ps; [ pymata-express ]; 267 268 "fitbit" = ps: with ps; [ aiohttp-cors fitbit ]; 268 269 "fixer" = ps: with ps; [ fixerio ]; 270 + "fjaraskupan" = ps: with ps; [ ]; # missing inputs: fjaraskupan 269 271 "fleetgo" = ps: with ps; [ ]; # missing inputs: ritassist 270 - "flexit" = ps: with ps; [ pymodbus ]; # missing inputs: pyflexit 272 + "flexit" = ps: with ps; [ pymodbus ]; 271 273 "flic" = ps: with ps; [ pyflic ]; 272 274 "flick_electric" = ps: with ps; [ pyflick ]; 273 275 "flipr" = ps: with ps; [ ]; # missing inputs: flipr-api ··· 311 313 "geonetnz_quakes" = ps: with ps; [ aio-geojson-geonetnz-quakes ]; 312 314 "geonetnz_volcano" = ps: with ps; [ aio-geojson-geonetnz-volcano ]; 313 315 "gios" = ps: with ps; [ gios ]; 314 - "github" = ps: with ps; [ PyGithub ]; 316 + "github" = ps: with ps; [ aiogithubapi ]; 315 317 "gitlab_ci" = ps: with ps; [ python-gitlab ]; 316 318 "gitter" = ps: with ps; [ ]; # missing inputs: gitterpy 317 319 "glances" = ps: with ps; [ glances-api ]; ··· 320 322 "goalzero" = ps: with ps; [ goalzero ]; 321 323 "gogogate2" = ps: with ps; [ ismartgate ]; 322 324 "google" = ps: with ps; [ google-api-python-client httplib2 oauth2client ]; 323 - "google_assistant" = ps: with ps; [ aiohttp-cors ]; 325 + "google_assistant" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; 324 326 "google_cloud" = ps: with ps; [ google-cloud-texttospeech ]; 325 327 "google_domains" = ps: with ps; [ ]; 326 328 "google_maps" = ps: with ps; [ locationsharinglib ]; ··· 392 394 "ign_sismologia" = ps: with ps; [ georss-ign-sismologia-client ]; 393 395 "ihc" = ps: with ps; [ defusedxml ]; # missing inputs: ihcsdk 394 396 "image" = ps: with ps; [ aiohttp-cors pillow ]; 395 - "image_processing" = ps: with ps; [ aiohttp-cors ]; 397 + "image_processing" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; 396 398 "imap" = ps: with ps; [ aioimaplib ]; 397 399 "imap_email_content" = ps: with ps; [ ]; 398 400 "incomfort" = ps: with ps; [ incomfort-client ]; ··· 409 411 "intesishome" = ps: with ps; [ pyintesishome ]; 410 412 "ios" = ps: with ps; [ aiohttp-cors ifaddr zeroconf ]; 411 413 "iota" = ps: with ps; [ ]; # missing inputs: pyota 414 + "iotawatt" = ps: with ps; [ ]; # missing inputs: iotawattpy 412 415 "iperf3" = ps: with ps; [ ]; # missing inputs: iperf3 413 416 "ipma" = ps: with ps; [ pyipma ]; 414 417 "ipp" = ps: with ps; [ pyipp ]; ··· 510 513 "mfi" = ps: with ps; [ ]; # missing inputs: mficlient 511 514 "mhz19" = ps: with ps; [ pmsensor ]; 512 515 "microsoft" = ps: with ps; [ ]; # missing inputs: pycsspeechtts 513 - "microsoft_face" = ps: with ps; [ aiohttp-cors ]; 514 - "microsoft_face_detect" = ps: with ps; [ aiohttp-cors ]; 515 - "microsoft_face_identify" = ps: with ps; [ aiohttp-cors ]; 516 + "microsoft_face" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; 517 + "microsoft_face_detect" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; 518 + "microsoft_face_identify" = ps: with ps; [ pyturbojpeg aiohttp-cors ]; 516 519 "miflora" = ps: with ps; [ bluepy ]; # missing inputs: miflora 517 520 "mikrotik" = ps: with ps; [ librouteros ]; 518 521 "mill" = ps: with ps; [ millheater ]; ··· 521 524 "minio" = ps: with ps; [ minio ]; 522 525 "mitemp_bt" = ps: with ps; [ ]; # missing inputs: mitemp_bt 523 526 "mjpeg" = ps: with ps; [ ]; 524 - "mobile_app" = ps: with ps; [ pynacl aiohttp-cors emoji hass-nabucasa pillow ]; 527 + "mobile_app" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors emoji hass-nabucasa pillow ]; 525 528 "mochad" = ps: with ps; [ ]; # missing inputs: pymochad 526 529 "modbus" = ps: with ps; [ pymodbus ]; 527 530 "modem_callerid" = ps: with ps; [ ]; # missing inputs: basicmodem ··· 558 561 "nello" = ps: with ps; [ ]; # missing inputs: pynello 559 562 "ness_alarm" = ps: with ps; [ ]; # missing inputs: nessclient 560 563 "nest" = ps: with ps; [ aiohttp-cors ha-ffmpeg python-nest ]; # missing inputs: google-nest-sdm 561 - "netatmo" = ps: with ps; [ aiohttp-cors hass-nabucasa pyatmo ]; 564 + "netatmo" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pyatmo ]; 562 565 "netdata" = ps: with ps; [ netdata ]; 563 566 "netgear" = ps: with ps; [ ]; # missing inputs: pynetgear 564 567 "netgear_lte" = ps: with ps; [ ]; # missing inputs: eternalegypt ··· 573 576 "niko_home_control" = ps: with ps; [ ]; # missing inputs: niko-home-control 574 577 "nilu" = ps: with ps; [ ]; # missing inputs: niluclient 575 578 "nissan_leaf" = ps: with ps; [ ]; # missing inputs: pycarwings2 576 - "nmap_tracker" = ps: with ps; [ getmac python-nmap ]; 579 + "nmap_tracker" = ps: with ps; [ aiohttp-cors getmac ifaddr netmap ]; # missing inputs: mac-vendor-lookup 577 580 "nmbs" = ps: with ps; [ ]; # missing inputs: pyrail 578 581 "no_ip" = ps: with ps; [ ]; 579 582 "noaa_tides" = ps: with ps; [ ]; # missing inputs: noaa-coops ··· 602 605 "ondilo_ico" = ps: with ps; [ aiohttp-cors ondilo ]; 603 606 "onewire" = ps: with ps; [ ]; # missing inputs: pi1wire pyownet 604 607 "onkyo" = ps: with ps; [ onkyo-eiscp ]; 605 - "onvif" = ps: with ps; [ ha-ffmpeg zeep ]; # missing inputs: WSDiscovery onvif-zeep-async 608 + "onvif" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: WSDiscovery onvif-zeep-async 606 609 "openalpr_cloud" = ps: with ps; [ ]; 607 610 "openalpr_local" = ps: with ps; [ ]; 608 611 "opencv" = ps: with ps; [ numpy ]; # missing inputs: opencv-python-headless ··· 625 628 "osramlightify" = ps: with ps; [ ]; # missing inputs: lightify 626 629 "otp" = ps: with ps; [ pyotp ]; 627 630 "ovo_energy" = ps: with ps; [ ovoenergy ]; 628 - "owntracks" = ps: with ps; [ pynacl aiohttp-cors hass-nabucasa paho-mqtt ]; 631 + "owntracks" = ps: with ps; [ pynacl pyturbojpeg aiohttp-cors hass-nabucasa paho-mqtt ]; 629 632 "ozw" = ps: with ps; [ aiohttp-cors paho-mqtt python-openzwave-mqtt ]; 633 + "p1_monitor" = ps: with ps; [ ]; # missing inputs: p1monitor 630 634 "panasonic_bluray" = ps: with ps; [ ]; # missing inputs: panacotta 631 635 "panasonic_viera" = ps: with ps; [ ]; # missing inputs: panasonic_viera 632 636 "pandora" = ps: with ps; [ pexpect ]; ··· 646 650 "ping" = ps: with ps; [ icmplib ]; 647 651 "pioneer" = ps: with ps; [ ]; 648 652 "pjlink" = ps: with ps; [ ]; # missing inputs: pypjlink2 649 - "plaato" = ps: with ps; [ aiohttp-cors hass-nabucasa pyplaato ]; 653 + "plaato" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pyplaato ]; 650 654 "plant" = ps: with ps; [ sqlalchemy ]; 651 655 "plex" = ps: with ps; [ aiohttp-cors plexapi plexauth plexwebsocket ]; 652 656 "plugwise" = ps: with ps; [ plugwise ]; ··· 681 685 "quantum_gateway" = ps: with ps; [ ]; # missing inputs: quantum-gateway 682 686 "qvr_pro" = ps: with ps; [ ]; # missing inputs: pyqvrpro 683 687 "qwikswitch" = ps: with ps; [ ]; # missing inputs: pyqwikswitch 684 - "rachio" = ps: with ps; [ aiohttp-cors hass-nabucasa rachiopy ]; 688 + "rachio" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa rachiopy ]; 685 689 "radarr" = ps: with ps; [ ]; 686 690 "radiotherm" = ps: with ps; [ radiotherm ]; 687 691 "rainbird" = ps: with ps; [ ]; # missing inputs: pyrainbird 688 692 "raincloud" = ps: with ps; [ ]; # missing inputs: raincloudy 689 - "rainforest_eagle" = ps: with ps; [ ]; # missing inputs: eagle200_reader uEagle 693 + "rainforest_eagle" = ps: with ps; [ aioeagle ueagle ]; 690 694 "rainmachine" = ps: with ps; [ regenmaschine ]; 691 695 "random" = ps: with ps; [ ]; 692 696 "raspihats" = ps: with ps; [ smbus-cffi ]; # missing inputs: raspihats ··· 728 732 "russound_rio" = ps: with ps; [ ]; # missing inputs: russound_rio 729 733 "russound_rnet" = ps: with ps; [ ]; # missing inputs: russound 730 734 "sabnzbd" = ps: with ps; [ aiohttp-cors ifaddr netdisco zeroconf ]; # missing inputs: pysabnzbd 731 - "safe_mode" = ps: with ps; [ aiohttp-cors hass-nabucasa home-assistant-frontend pillow sqlalchemy ]; 735 + "safe_mode" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa home-assistant-frontend pillow sqlalchemy ]; 732 736 "saj" = ps: with ps; [ ]; # missing inputs: pysaj 733 737 "samsungtv" = ps: with ps; [ getmac samsungctl samsungtvws wakeonlan ]; 734 738 "satel_integra" = ps: with ps; [ ]; # missing inputs: satel_integra ··· 779 783 "smappee" = ps: with ps; [ aiohttp-cors pysmappee ]; 780 784 "smart_meter_texas" = ps: with ps; [ smart-meter-texas ]; 781 785 "smarthab" = ps: with ps; [ smarthab ]; 782 - "smartthings" = ps: with ps; [ aiohttp-cors hass-nabucasa pysmartapp pysmartthings ]; 786 + "smartthings" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa pysmartapp pysmartthings ]; 783 787 "smarttub" = ps: with ps; [ python-smarttub ]; 784 788 "smarty" = ps: with ps; [ ]; # missing inputs: pysmarty 785 789 "smhi" = ps: with ps; [ smhi-pkg ]; ··· 881 885 "todoist" = ps: with ps; [ todoist ]; 882 886 "tof" = ps: with ps; [ ]; # missing inputs: RPi.GPIO VL53L1X2 883 887 "tomato" = ps: with ps; [ ]; 884 - "toon" = ps: with ps; [ aiohttp-cors hass-nabucasa toonapi ]; 888 + "toon" = ps: with ps; [ pyturbojpeg aiohttp-cors hass-nabucasa toonapi ]; 885 889 "torque" = ps: with ps; [ aiohttp-cors ]; 886 890 "totalconnect" = ps: with ps; [ total-connect-client ]; 887 891 "touchline" = ps: with ps; [ ]; # missing inputs: pytouchline ··· 890 894 "traccar" = ps: with ps; [ aiohttp-cors stringcase ]; # missing inputs: pytraccar 891 895 "trace" = ps: with ps; [ ]; 892 896 "trackr" = ps: with ps; [ ]; # missing inputs: pytrackr 897 + "tractive" = ps: with ps; [ aiotractive ]; 893 898 "tradfri" = ps: with ps; [ pytradfri ]; 894 899 "trafikverket_train" = ps: with ps; [ pytrafikverket ]; 895 900 "trafikverket_weatherstation" = ps: with ps; [ pytrafikverket ]; ··· 916 921 "upb" = ps: with ps; [ upb-lib ]; 917 922 "upc_connect" = ps: with ps; [ connect-box ]; 918 923 "upcloud" = ps: with ps; [ upcloud-api ]; 919 - "updater" = ps: with ps; [ distro ]; 924 + "updater" = ps: with ps; [ ]; 920 925 "upnp" = ps: with ps; [ aiohttp-cors async-upnp-client defusedxml ifaddr zeroconf ]; 921 926 "uptime" = ps: with ps; [ ]; 922 927 "uptimerobot" = ps: with ps; [ ]; # missing inputs: pyuptimerobot 928 + "usb" = ps: with ps; [ aiohttp-cors pyserial pyudev ]; 923 929 "uscis" = ps: with ps; [ ]; # missing inputs: uscisstatus 924 930 "usgs_earthquakes_feed" = ps: with ps; [ geojson-client ]; 925 - "utility_meter" = ps: with ps; [ ]; 931 + "utility_meter" = ps: with ps; [ croniter ]; 926 932 "uvc" = ps: with ps; [ uvcclient ]; 927 933 "vacuum" = ps: with ps; [ ]; 928 934 "vallox" = ps: with ps; [ ]; # missing inputs: vallox-websocket-api ··· 987 993 "xs1" = ps: with ps; [ ]; # missing inputs: xs1-api-client 988 994 "yale_smart_alarm" = ps: with ps; [ yalesmartalarmclient ]; 989 995 "yamaha" = ps: with ps; [ rxv ]; 990 - "yamaha_musiccast" = ps: with ps; [ aiomusiccast ]; 996 + "yamaha_musiccast" = ps: with ps; [ aiohttp-cors aiomusiccast async-upnp-client defusedxml ifaddr zeroconf ]; 991 997 "yandex_transport" = ps: with ps; [ aioymaps ]; 992 998 "yandextts" = ps: with ps; [ ]; 993 - "yeelight" = ps: with ps; [ yeelight ]; 999 + "yeelight" = ps: with ps; [ aiohttp-cors async-upnp-client ifaddr yeelight ]; 994 1000 "yeelightsunflower" = ps: with ps; [ ]; # missing inputs: yeelightsunflower 995 1001 "yi" = ps: with ps; [ aioftp ha-ffmpeg ]; 996 1002 "youless" = ps: with ps; [ youless-api ]; ··· 1000 1006 "zeroconf" = ps: with ps; [ aiohttp-cors ifaddr zeroconf ]; 1001 1007 "zerproc" = ps: with ps; [ pyzerproc ]; 1002 1008 "zestimate" = ps: with ps; [ xmltodict ]; 1003 - "zha" = ps: with ps; [ aiohttp-cors bellows ifaddr pyserial-asyncio pyserial zeroconf zha-quirks zigpy-cc zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zigpy ]; 1009 + "zha" = ps: with ps; [ aiohttp-cors bellows ifaddr pyserial-asyncio pyserial pyudev zeroconf zha-quirks zigpy-cc zigpy-deconz zigpy-xbee zigpy-zigate zigpy-znp zigpy ]; 1004 1010 "zhong_hong" = ps: with ps; [ ]; # missing inputs: zhong_hong_hvac 1005 1011 "ziggo_mediabox_xl" = ps: with ps; [ ]; # missing inputs: ziggo-mediabox-xl 1006 1012 "zodiac" = ps: with ps; [ ]; 1007 1013 "zone" = ps: with ps; [ ]; 1008 1014 "zoneminder" = ps: with ps; [ zm-py ]; 1009 1015 "zwave" = ps: with ps; [ aiohttp-cors homeassistant-pyozw paho-mqtt pydispatcher python-openzwave-mqtt ]; 1010 - "zwave_js" = ps: with ps; [ aiohttp-cors zwave-js-server-python ]; 1016 + "zwave_js" = ps: with ps; [ aiohttp-cors pyserial pyudev zwave-js-server-python ]; 1011 1017 }; 1012 1018 }
+16 -22
pkgs/servers/home-assistant/default.nix
··· 21 21 22 22 let 23 23 defaultOverrides = [ 24 - # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt 25 - (mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270") 26 - 24 + # Pinned due to API changes in async-upnp-client>=0.20.0, remove after 27 25 (self: super: { 28 26 async-upnp-client = super.async-upnp-client.overridePythonAttrs (oldAttrs: rec { 29 - version = "0.19.2"; 27 + version = "0.20.0"; 30 28 src = fetchFromGitHub { 31 29 owner = "StevenLooman"; 32 30 repo = "async_upnp_client"; 33 - rev = version; 34 - sha256 = "1v8d2lvxihqasn7866zssys16s0lgxkk6ri2dp4rr7wr8g9ixvdr"; 31 + rev = "v${version}"; 32 + sha256 = "sha256-jxYGOljV7tcsiAgpOhbXj7g7AwyP1kDDC83PiHG6ZFg="; 35 33 }; 36 34 }); 37 35 }) 36 + 37 + # Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt 38 + (mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270") 38 39 39 40 # Pinned due to API changes in iaqualink>=2.0, remove after 40 41 # https://github.com/home-assistant/core/pull/48137 was merged ··· 95 96 }); 96 97 }) 97 98 99 + # Pinned due to API changes in 0.1.0 100 + (mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp") 101 + 98 102 # Pinned due to changes in total-connect-client>0.58 which made the tests fails at the moment 99 103 (self: super: { 100 104 total-connect-client = super.total-connect-client.overridePythonAttrs (oldAttrs: rec { ··· 112 116 (self: super: { 113 117 home-assistant-frontend = self.callPackage ./frontend.nix { }; 114 118 }) 115 - 116 - # Pinned due to incompability with aioesphomeapi 8.0.0 117 - (self: super: { 118 - aioesphomeapi = super.aioesphomeapi.overrideAttrs (oldAttrs: rec { 119 - version = "7.0.0"; 120 - src = fetchFromGitHub { 121 - owner = "esphome"; 122 - repo = oldAttrs.pname; 123 - rev = "v${version}"; 124 - hash = "sha256-ho/1fpq4yAgmYNERPqs51oqr08ncaN9+GRTUUuGU7ps="; 125 - }; 126 - }); 127 - }) 128 119 ]; 129 120 130 121 mkOverride = attrname: version: sha256: ··· 154 145 extraBuildInputs = extraPackages py.pkgs; 155 146 156 147 # Don't forget to run parse-requirements.py after updating 157 - hassVersion = "2021.8.8"; 148 + hassVersion = "2021.9.6"; 158 149 159 150 in with py.pkgs; buildPythonApplication rec { 160 151 pname = "homeassistant"; ··· 171 162 owner = "home-assistant"; 172 163 repo = "core"; 173 164 rev = version; 174 - sha256 = "1fj16qva04d9qhpnfxxacsp82vqqfha5c2zg4f850kld4qhwrgky"; 165 + sha256 = "1ac56gdnhzkf19h29g0f54camw6v1cg5wx0crhm23r45qlfsjacs"; 175 166 }; 176 167 177 168 # leave this in, so users don't have to constantly update their downstream patch handling ··· 181 172 182 173 postPatch = '' 183 174 substituteInPlace setup.py \ 184 - --replace "attrs==21.2.0" "attrs" \ 185 175 --replace "awesomeversion==21.4.0" "awesomeversion" \ 186 176 --replace "bcrypt==3.1.7" "bcrypt" \ 187 177 --replace "cryptography==3.3.2" "cryptography" \ ··· 234 224 pytest-xdist 235 225 pytestCheckHook 236 226 requests-mock 227 + stdlib-list 237 228 jsonpickle 238 229 respx 239 230 # required by tests/auth/mfa_modules ··· 796 787 "--deselect tests/components/local_ip/test_config_flow.py::test_config_flow" 797 788 # netatmo/test_select.py: NoneType object has no attribute state 798 789 "--deselect tests/components/netatmo/test_select.py::test_select_schedule_thermostats" 790 + # wemo/test_sensor.py: KeyError for various power attributes 791 + "--deselect tests/components/wemo/test_sensor.py::TestInsightTodayEnergy::test_state_unavailable" 792 + "--deselect tests/components/wemo/test_sensor.py::TestInsightCurrentPower::test_state_unavailable" 799 793 # helpers/test_system_info.py: AssertionError: assert 'Unknown' == 'Home Assistant Container' 800 794 "--deselect tests/helpers/test_system_info.py::test_container_installationtype" 801 795 # tests are located in tests/
+2 -2
pkgs/servers/home-assistant/frontend.nix
··· 4 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 6 pname = "home-assistant-frontend"; 7 - version = "20210809.0"; 7 + version = "20210830.0"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "sha256-5NWNDhQ7XKK9/tC+SbpwOm2MSA2VGHLcE1ggyl6vPkc="; 11 + sha256 = "sha256-4sNCnYFQ4IjmMPj7axgienZUMDo+GwTJ38cEf0iZzJI="; 12 12 }; 13 13 14 14 # there is nothing to strip in this package
+2
pkgs/servers/home-assistant/update.sh
··· 31 31 32 32 ./parse-requirements.py 33 33 34 + read 35 + 34 36 ( 35 37 cd ../../.. 36 38 nix-update --version "$TARGET_VERSION" --build home-assistant
+2
pkgs/top-level/python-packages.nix
··· 8592 8592 8593 8593 stdiomask = callPackage ../development/python-modules/stdiomask { }; 8594 8594 8595 + stdlib-list = callPackage ../development/python-modules/stdlib-list { }; 8596 + 8595 8597 stem = callPackage ../development/python-modules/stem { }; 8596 8598 8597 8599 stestr = callPackage ../development/python-modules/stestr { };