home-assistant: 2022.10.5 -> 2022.11.1

https://www.home-assistant.io/blog/2022/11/02/release-202211/
https://github.com/home-assistant/core/releases/tag/2022.11.1

Changed files
+173 -41
pkgs
+148 -4
pkgs/servers/home-assistant/component-packages.nix
···
# Do not edit!
{
-
version = "2022.10.5";
+
version = "2022.11.1";
components = {
+
"3_day_blinds" = ps: with ps; [
+
];
"abode" = ps: with ps; [
abodepy
];
···
];
"airthings" = ps: with ps; [
airthings-cloud
+
];
+
"airthings_ble" = ps: with ps; [
+
aiohttp-cors
+
airthings-ble
+
bleak-retry-connector
+
bleak
+
bluetooth-adapters
+
bluetooth-auto-recovery
+
dbus-fast
+
fnvhash
+
home-assistant-frontend
+
pillow
+
pyserial
+
pyudev
+
sqlalchemy
];
"airtouch4" = ps: with ps; [
airtouch4pyapi
···
amcrest
ha-ffmpeg
];
+
"amp_motorization" = ps: with ps; [
+
];
"ampio" = ps: with ps; [
asmog
];
···
yalexs-ble
yalexs
];
+
"august_ble" = ps: with ps; [
+
];
"aurora" = ps: with ps; [
auroranoaa
];
···
"blinksticklight" = ps: with ps; [
BlinkStick
];
+
"bliss_automation" = ps: with ps; [
+
];
+
"bloc_blinds" = ps: with ps; [
+
];
"blockchain" = ps: with ps; [
]; # missing inputs: python-blockchain-api
"bloomsky" = ps: with ps; [
···
];
"braviatv" = ps: with ps; [
pybravia
+
];
+
"brel_home" = ps: with ps; [
];
"broadlink" = ps: with ps; [
broadlink
···
brunt
];
"bsblan" = ps: with ps; [
-
bsblan
+
python-bsblan
+
];
+
"bswitch" = ps: with ps; [
];
"bt_home_hub_5" = ps: with ps; [
]; # missing inputs: bthomehub5-devicelist
···
pyserial
pyudev
sqlalchemy
+
];
+
"bticino" = ps: with ps; [
+
];
+
"bubendorff" = ps: with ps; [
];
"buienradar" = ps: with ps; [
buienradar
···
];
"cover" = ps: with ps; [
];
+
"cozytouch" = ps: with ps; [
+
];
"cppm_tracker" = ps: with ps; [
]; # missing inputs: clearpasspy
"cpuspeed" = ps: with ps; [
···
pycups
];
"currencylayer" = ps: with ps; [
+
];
+
"dacia" = ps: with ps; [
];
"daikin" = ps: with ps; [
pydaikin
···
"dialogflow" = ps: with ps; [
aiohttp-cors
];
+
"diaz" = ps: with ps; [
+
];
+
"digital_loggers" = ps: with ps; [
+
];
"digital_ocean" = ps: with ps; [
digital-ocean
];
···
"doorbird" = ps: with ps; [
aiohttp-cors
doorbirdpy
+
];
+
"dooya" = ps: with ps; [
];
"dovado" = ps: with ps; [
]; # missing inputs: dovado
···
"flexit" = ps: with ps; [
pymodbus
];
+
"flexom" = ps: with ps; [
+
];
"flic" = ps: with ps; [
pyflic
];
···
"garages_amsterdam" = ps: with ps; [
garages-amsterdam
];
+
"gaviota" = ps: with ps; [
+
];
"gc100" = ps: with ps; [
]; # missing inputs: python-gc100
"gdacs" = ps: with ps; [
aio-georss-gdacs
];
"generic" = ps: with ps; [
+
aiohttp-cors
av
pillow
];
···
pillow
sqlalchemy
];
+
"havana_shade" = ps: with ps; [
+
];
"haveibeenpwned" = ps: with ps; [
];
"hddtemp" = ps: with ps; [
···
];
"heatmiser" = ps: with ps; [
]; # missing inputs: heatmiserV3
+
"heiwa" = ps: with ps; [
+
];
"heos" = ps: with ps; [
pyheos
];
"here_travel_time" = ps: with ps; [
herepy
];
+
"hi_kumo" = ps: with ps; [
+
];
"hikvision" = ps: with ps; [
]; # missing inputs: pyhik
"hikvisioncam" = ps: with ps; [
···
aiohue
];
"huisbaasje" = ps: with ps; [
-
]; # missing inputs: energyflip-client
+
energyflip-client
+
];
"humidifier" = ps: with ps; [
];
"hunterdouglas_powerview" = ps: with ps; [
aiopvapi
];
+
"hurrican_shutters_wholesale" = ps: with ps; [
+
];
"hvv_departures" = ps: with ps; [
pygti
];
···
];
"input_text" = ps: with ps; [
];
+
"inspired_shades" = ps: with ps; [
+
];
"insteon" = ps: with ps; [
aiohttp-cors
fnvhash
···
]; # missing inputs: pyirishrail
"islamic_prayer_times" = ps: with ps; [
prayer-times-calculator
+
];
+
"ismartwindow" = ps: with ps; [
];
"iss" = ps: with ps; [
]; # missing inputs: pyiss
···
pyudev
sqlalchemy
];
+
"legrand" = ps: with ps; [
+
];
"lg_netcast" = ps: with ps; [
pylgnetcast
];
···
aiohttp-cors
aiolifx
aiolifx-effects
+
aiolifx-themes
ifaddr
];
"lifx_cloud" = ps: with ps; [
···
"lutron_caseta" = ps: with ps; [
pylutron-caseta
];
+
"luxaflex" = ps: with ps; [
+
];
"lw12wifi" = ps: with ps; [
]; # missing inputs: lw12
"lyric" = ps: with ps; [
···
home-assistant-frontend
pillow
sqlalchemy
+
];
+
"marantz" = ps: with ps; [
+
];
+
"martec" = ps: with ps; [
];
"marytts" = ps: with ps; [
]; # missing inputs: speak2mary
···
"nexia" = ps: with ps; [
nexia
];
+
"nexity" = ps: with ps; [
+
];
"nextbus" = ps: with ps; [
py-nextbusnext
];
···
aiohttp-cors
getmac
ifaddr
+
mac-vendor-lookup
netmap
-
]; # missing inputs: mac-vendor-lookup
+
];
"nmbs" = ps: with ps; [
]; # missing inputs: pyrail
"no_ip" = ps: with ps; [
···
];
"nut" = ps: with ps; [
pynut2
+
];
+
"nutrichef" = ps: with ps; [
];
"nws" = ps: with ps; [
pynws
···
"opple" = ps: with ps; [
pyoppleio
];
+
"oralb" = ps: with ps; [
+
aiohttp-cors
+
bleak-retry-connector
+
bleak
+
bluetooth-adapters
+
bluetooth-auto-recovery
+
dbus-fast
+
fnvhash
+
home-assistant-frontend
+
oralb-ble
+
pillow
+
pyserial
+
pyudev
+
sqlalchemy
+
];
"oru" = ps: with ps; [
]; # missing inputs: oru
"orvibo" = ps: with ps; [
···
home-assistant-frontend
pillow
sqlalchemy
+
];
+
"pcs_lighting" = ps: with ps; [
];
"peco" = ps: with ps; [
peco
···
];
"raspyrfm" = ps: with ps; [
]; # missing inputs: raspyrfm-client
+
"raven_rock_mfg" = ps: with ps; [
+
];
"rdw" = ps: with ps; [
vehicle
];
···
];
"rest_command" = ps: with ps; [
];
+
"rexel" = ps: with ps; [
+
];
"rflink" = ps: with ps; [
rflink
];
···
"rmvtransport" = ps: with ps; [
pyrmvtransport
];
+
"roborock" = ps: with ps; [
+
];
"rocketchat" = ps: with ps; [
]; # missing inputs: rocketchat-API
"roku" = ps: with ps; [
···
lxml
xmltodict
];
+
"screenaway" = ps: with ps; [
+
];
"screenlogic" = ps: with ps; [
screenlogicpy
];
···
"sensor" = ps: with ps; [
fnvhash
sqlalchemy
+
];
+
"sensorblue" = ps: with ps; [
];
"sensorpro" = ps: with ps; [
aiohttp-cors
···
"shell_command" = ps: with ps; [
];
"shelly" = ps: with ps; [
+
aiohttp-cors
aioshelly
];
"shiftr" = ps: with ps; [
···
]; # missing inputs: simplepush
"simplisafe" = ps: with ps; [
simplisafe-python
+
];
+
"simply_automated" = ps: with ps; [
];
"simulated" = ps: with ps; [
];
···
aiohttp-cors
pysmappee
];
+
"smart_blinds" = ps: with ps; [
+
];
+
"smart_home" = ps: with ps; [
+
];
"smart_meter_texas" = ps: with ps; [
smart-meter-texas
+
];
+
"smarther" = ps: with ps; [
];
"smartthings" = ps: with ps; [
pyturbojpeg
···
"snmp" = ps: with ps; [
pysnmplib
];
+
"snooz" = ps: with ps; [
+
aiohttp-cors
+
bleak-retry-connector
+
bleak
+
bluetooth-adapters
+
bluetooth-auto-recovery
+
dbus-fast
+
fnvhash
+
home-assistant-frontend
+
pillow
+
pyserial
+
pysnooz
+
pyudev
+
sqlalchemy
+
];
"solaredge" = ps: with ps; [
solaredge
stringcase
···
];
"soma" = ps: with ps; [
pysoma
+
];
+
"somfy" = ps: with ps; [
];
"somfy_mylink" = ps: with ps; [
somfy-mylink-synergy
···
];
"switchmate" = ps: with ps; [
]; # missing inputs: pySwitchmate
+
"symfonisk" = ps: with ps; [
+
];
"syncthing" = ps: with ps; [
aiosyncthing
];
···
sqlalchemy
thermobeacon-ble
];
+
"thermoplus" = ps: with ps; [
+
];
"thermopro" = ps: with ps; [
aiohttp-cors
bleak-retry-connector
···
"ukraine_alarm" = ps: with ps; [
uasiren
];
+
"ultraloq" = ps: with ps; [
+
];
"unifi" = ps: with ps; [
aiounifi
];
···
ifaddr
zeroconf
];
+
"uprise_smart_shades" = ps: with ps; [
+
];
"uptime" = ps: with ps; [
];
"uptimerobot" = ps: with ps; [
···
py-zabbix
];
"zamg" = ps: with ps; [
+
zamg
];
"zengge" = ps: with ps; [
bluepy
···
"airly"
"airnow"
"airthings"
+
"airthings_ble"
"airtouch4"
"airvisual"
"airzone"
···
"canary"
"cast"
"cert_expiry"
+
"clicksend_tts"
"climate"
"cloud"
"cloudflare"
···
"http"
"huawei_lte"
"hue"
+
"huisbaasje"
"humidifier"
"hunterdouglas_powerview"
"hvv_departures"
···
"nextdns"
"nightscout"
"nina"
+
"nmap_tracker"
"no_ip"
"nobo_hub"
"notify"
···
"openuv"
"openweathermap"
"opnsense"
+
"oralb"
"overkiz"
"ovo_energy"
"owntracks"
···
"smtp"
"snips"
"snmp"
+
"snooz"
"solaredge"
"solarlog"
"solax"
···
"yeelight"
"yolink"
"youless"
+
"zamg"
"zeroconf"
"zerproc"
"zha"
+15 -33
pkgs/servers/home-assistant/default.nix
···
};
});
-
bsblan = super.bsblan.overridePythonAttrs (oldAttrs: rec {
-
version = "0.5.0";
-
postPatch = null;
-
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ super.cattrs ];
-
src = fetchFromGitHub {
-
owner = "liudger";
-
repo = "python-bsblan";
-
rev = "v.${version}";
-
hash = "sha256-yzlHcIb5QlG+jAgEtKlAcY7rESiUY7nD1YwqK63wgcg=";
-
};
-
});
-
-
blebox-uniapi = super.blebox-uniapi.overridePythonAttrs (oldAttrs: rec {
-
version = "2.0.2";
+
gcal-sync = super.gcal-sync.overridePythonAttrs (oldAttrs: rec {
+
version = "2.2.3";
src = fetchFromGitHub {
-
owner = "blebox";
-
repo = "blebox_uniapi";
-
rev = "refs/tags/v${version}";
-
hash = "sha256-0Yiooy7YSUFjqqcyH2fPQ6AWuR0EJxfRRZTw/6JGcMA=";
+
owner = "allenporter";
+
repo = "gcal_sync";
+
rev = "refs/tags/${version}";
+
hash = "sha256-5PoKdJBrNhPfcDxmprc/1jX7weIs7HSxFzzvjKOjGbY=";
};
+
doCheck = false; # requires aiohttp>=1.0.0
});
gridnet = super.gridnet.overridePythonAttrs (oldAttrs: rec {
···
};
});
-
iaqualink = super.iaqualink.overridePythonAttrs (oldAttrs: rec {
-
version = "0.4.1";
-
src = fetchFromGitHub {
-
owner = "flz";
-
repo = "iaqualink-py";
-
rev = "v${version}";
-
hash = "sha256-GDJwPBEU7cteAdYj7eo5tAo0G8AVcQR7KSxLNLhU/XU=";
-
};
-
});
-
# pytest-aiohttp>0.3.0 breaks home-assistant tests
pytest-aiohttp = super.pytest-aiohttp.overridePythonAttrs (oldAttrs: rec {
version = "0.3.0";
···
aioopenexchangerates = super.aioopenexchangerates.overridePythonAttrs (oldAttrs: {
doCheck = false; # requires aiohttp>=1.0.0
});
-
gcal-sync = super.gcal-sync.overridePythonAttrs (oldAttrs: {
-
doCheck = false; # requires aiohttp>=1.0.0
-
});
hass-nabucasa = super.hass-nabucasa.overridePythonAttrs (oldAttrs: {
doCheck = false; # requires aiohttp>=1.0.0
});
···
rev = version;
sha256 = "00ly4injmgrj34p0lyx7cz2crgnfcijmzc0540gf7hpwha0marf6";
};
+
});
+
+
pydaikin = super.pydaikin.overridePythonAttrs (oldAttrs: rec {
+
disabledTests = [
+
"test_power_sensors"
+
];
});
pydeconz = super.pydeconz.overridePythonAttrs (oldAttrs: rec {
···
extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
# Don't forget to run parse-requirements.py after updating
-
hassVersion = "2022.10.5";
+
hassVersion = "2022.11.1";
in python.pkgs.buildPythonApplication rec {
pname = "homeassistant";
···
owner = "home-assistant";
repo = "core";
rev = version;
-
hash = "sha256-y2X6tiR3TLbQ1tYUUuu8D0i5j+P0FnDWJ1mSlGPwIuY=";
+
hash = "sha256-2zpNrkRYsmJEq+4L0J6wJodmda5r8NWgYVtYwAHKSps=";
};
# leave this in, so users don't have to constantly update their downstream patch handling
+2 -2
pkgs/servers/home-assistant/frontend.nix
···
# 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
pname = "home-assistant-frontend";
-
version = "20221010.0";
+
version = "20221102.1";
format = "wheel";
src = fetchPypi {
···
pname = "home_assistant_frontend";
dist = "py3";
python = "py3";
-
sha256 = "sha256-TyaEnXHnaFk+V06BjeblYv6VnXsmYCc/7mYicJsBEY8=";
+
sha256 = "sha256-HAFJxrBI6wB1XMe+71tF/bijuQAoyAw8LBQbfv+Vqco=";
};
# there is nothing to strip in this package
+8 -2
pkgs/servers/home-assistant/tests.nix
···
# bytearrray mismatch
"test_rfy_cover"
];
+
zha = [
+
# 'manual_pick_radio_type' == 'choose_serial_port'
+
"test_options_flow_migration_reset_old_adapter"
+
];
};
extraPytestFlagsArray = {
···
history_stats = [
# Flaky: AssertionError: assert '0.0' == '12.0'
"--deselect tests/components/history_stats/test_sensor.py::test_end_time_with_microseconds_zeroed"
+
];
+
modem_callerid = [
+
# aioserial mock produces wrong state
+
"--deselect tests/components/modem_callerid/test_init.py::test_setup_entry"
];
skybell = [
# Sandbox network limitations: Cannot connect to host cloud.myskybell.com:443
···
meta = old.meta // {
broken = lib.elem component [
-
"modem_callerid"
-
"subaru"
];
# upstream only tests on Linux, so do we.
platforms = lib.platforms.linux;