This commit is contained in:
Paulus Schoutsen 2022-11-03 17:52:59 +01:00 committed by GitHub
commit 229d60e678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 33 additions and 23 deletions

View File

@ -2,7 +2,7 @@
"domain": "aladdin_connect", "domain": "aladdin_connect",
"name": "Aladdin Connect", "name": "Aladdin Connect",
"documentation": "https://www.home-assistant.io/integrations/aladdin_connect", "documentation": "https://www.home-assistant.io/integrations/aladdin_connect",
"requirements": ["AIOAladdinConnect==0.1.46"], "requirements": ["AIOAladdinConnect==0.1.47"],
"codeowners": ["@mkmer"], "codeowners": ["@mkmer"],
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"loggers": ["aladdin_connect"], "loggers": ["aladdin_connect"],

View File

@ -95,7 +95,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
entry.data[CONF_USERNAME], entry.data[CONF_USERNAME],
entry.data[CONF_PASSWORD], entry.data[CONF_PASSWORD],
hass.config.time_zone, hass.config.time_zone,
async_get_clientsession(hass), client_session=async_get_clientsession(hass),
) )
# Authenticate, build sensors # Authenticate, build sensors

View File

@ -14,5 +14,6 @@ def get_valid_flume_devices(flume_devices: FlumeDeviceList) -> list[dict[str, An
return [ return [
device device
for device in flume_devices.device_list for device in flume_devices.device_list
if KEY_DEVICE_LOCATION_NAME in device[KEY_DEVICE_LOCATION] if KEY_DEVICE_LOCATION in device
and KEY_DEVICE_LOCATION_NAME in device[KEY_DEVICE_LOCATION]
] ]

View File

@ -306,7 +306,7 @@ class Thermostat(HomeAccessory):
if attributes.get(ATTR_HVAC_ACTION) is not None: if attributes.get(ATTR_HVAC_ACTION) is not None:
self.fan_chars.append(CHAR_CURRENT_FAN_STATE) self.fan_chars.append(CHAR_CURRENT_FAN_STATE)
serv_fan = self.add_preload_service(SERV_FANV2, self.fan_chars) serv_fan = self.add_preload_service(SERV_FANV2, self.fan_chars)
serv_thermostat.add_linked_service(serv_fan) serv_fan.add_linked_service(serv_thermostat)
self.char_active = serv_fan.configure_char( self.char_active = serv_fan.configure_char(
CHAR_ACTIVE, value=1, setter_callback=self._set_fan_active CHAR_ACTIVE, value=1, setter_callback=self._set_fan_active
) )

View File

@ -3,7 +3,7 @@
"name": "HomeKit Controller", "name": "HomeKit Controller",
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/homekit_controller", "documentation": "https://www.home-assistant.io/integrations/homekit_controller",
"requirements": ["aiohomekit==2.2.13"], "requirements": ["aiohomekit==2.2.14"],
"zeroconf": ["_hap._tcp.local.", "_hap._udp.local."], "zeroconf": ["_hap._tcp.local.", "_hap._udp.local."],
"bluetooth": [{ "manufacturer_id": 76, "manufacturer_data_start": [6] }], "bluetooth": [{ "manufacturer_id": 76, "manufacturer_data_start": [6] }],
"dependencies": ["bluetooth", "zeroconf"], "dependencies": ["bluetooth", "zeroconf"],

View File

@ -3,7 +3,7 @@
"name": "Huisbaasje", "name": "Huisbaasje",
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/huisbaasje", "documentation": "https://www.home-assistant.io/integrations/huisbaasje",
"requirements": ["energyflip-client==0.2.1"], "requirements": ["energyflip-client==0.2.2"],
"codeowners": ["@dennisschroer"], "codeowners": ["@dennisschroer"],
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"loggers": ["huisbaasje"] "loggers": ["huisbaasje"]

View File

@ -82,7 +82,7 @@ class SnoozConfigFlow(ConfigFlow, domain=DOMAIN):
if user_input is not None: if user_input is not None:
name = user_input[CONF_NAME] name = user_input[CONF_NAME]
discovered = self._discovered_devices.get(name) discovered = self._discovered_devices[name]
assert discovered is not None assert discovered is not None

View File

@ -3,7 +3,7 @@
"name": "Snooz", "name": "Snooz",
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/snooz", "documentation": "https://www.home-assistant.io/integrations/snooz",
"requirements": ["pysnooz==0.8.2"], "requirements": ["pysnooz==0.8.3"],
"dependencies": ["bluetooth"], "dependencies": ["bluetooth"],
"codeowners": ["@AustinBrunkhorst"], "codeowners": ["@AustinBrunkhorst"],
"bluetooth": [ "bluetooth": [

View File

@ -52,7 +52,7 @@ from homeassistant.helpers import discovery_flow
from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.event import async_track_time_interval from homeassistant.helpers.event import async_track_time_interval
from homeassistant.helpers.instance_id import async_get as async_get_instance_id from homeassistant.helpers.instance_id import async_get as async_get_instance_id
from homeassistant.helpers.network import get_url from homeassistant.helpers.network import NoURLAvailableError, get_url
from homeassistant.helpers.system_info import async_get_system_info from homeassistant.helpers.system_info import async_get_system_info
from homeassistant.helpers.typing import ConfigType from homeassistant.helpers.typing import ConfigType
from homeassistant.loader import async_get_ssdp, bind_hass from homeassistant.loader import async_get_ssdp, bind_hass
@ -697,7 +697,16 @@ class Server:
udn = await self._async_get_instance_udn() udn = await self._async_get_instance_udn()
system_info = await async_get_system_info(self.hass) system_info = await async_get_system_info(self.hass)
model_name = system_info["installation_type"] model_name = system_info["installation_type"]
presentation_url = get_url(self.hass, allow_ip=True, prefer_external=False) try:
presentation_url = get_url(self.hass, allow_ip=True, prefer_external=False)
except NoURLAvailableError:
_LOGGER.warning(
"Could not set up UPnP/SSDP server, as a presentation URL could"
" not be determined; Please configure your internal URL"
" in the Home Assistant general configuration"
)
return
serial_number = await async_get_instance_id(self.hass) serial_number = await async_get_instance_id(self.hass)
HassUpnpServiceDevice.DEVICE_DEFINITION = ( HassUpnpServiceDevice.DEVICE_DEFINITION = (
HassUpnpServiceDevice.DEVICE_DEFINITION._replace( HassUpnpServiceDevice.DEVICE_DEFINITION._replace(

View File

@ -8,7 +8,7 @@ from .backports.enum import StrEnum
APPLICATION_NAME: Final = "HomeAssistant" APPLICATION_NAME: Final = "HomeAssistant"
MAJOR_VERSION: Final = 2022 MAJOR_VERSION: Final = 2022
MINOR_VERSION: Final = 11 MINOR_VERSION: Final = 11
PATCH_VERSION: Final = "0" PATCH_VERSION: Final = "1"
__short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}" __short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__: Final = f"{__short_version__}.{PATCH_VERSION}" __version__: Final = f"{__short_version__}.{PATCH_VERSION}"
REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 9, 0) REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 9, 0)

View File

@ -16,7 +16,7 @@ bluetooth-adapters==0.6.0
bluetooth-auto-recovery==0.3.6 bluetooth-auto-recovery==0.3.6
certifi>=2021.5.30 certifi>=2021.5.30
ciso8601==2.2.0 ciso8601==2.2.0
cryptography==38.0.1 cryptography==38.0.3
dbus-fast==1.61.1 dbus-fast==1.61.1
fnvhash==0.1.0 fnvhash==0.1.0
hass-nabucasa==0.56.0 hass-nabucasa==0.56.0

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "homeassistant" name = "homeassistant"
version = "2022.11.0" version = "2022.11.1"
license = {text = "Apache-2.0"} license = {text = "Apache-2.0"}
description = "Open-source home automation platform running on Python 3." description = "Open-source home automation platform running on Python 3."
readme = "README.rst" readme = "README.rst"
@ -42,7 +42,7 @@ dependencies = [
"lru-dict==1.1.8", "lru-dict==1.1.8",
"PyJWT==2.5.0", "PyJWT==2.5.0",
# PyJWT has loose dependency. We want the latest one. # PyJWT has loose dependency. We want the latest one.
"cryptography==38.0.1", "cryptography==38.0.3",
"orjson==3.8.1", "orjson==3.8.1",
"pip>=21.0,<22.4", "pip>=21.0,<22.4",
"python-slugify==4.0.1", "python-slugify==4.0.1",

View File

@ -16,7 +16,7 @@ ifaddr==0.1.7
jinja2==3.1.2 jinja2==3.1.2
lru-dict==1.1.8 lru-dict==1.1.8
PyJWT==2.5.0 PyJWT==2.5.0
cryptography==38.0.1 cryptography==38.0.3
orjson==3.8.1 orjson==3.8.1
pip>=21.0,<22.4 pip>=21.0,<22.4
python-slugify==4.0.1 python-slugify==4.0.1

View File

@ -5,7 +5,7 @@
AEMET-OpenData==0.2.1 AEMET-OpenData==0.2.1
# homeassistant.components.aladdin_connect # homeassistant.components.aladdin_connect
AIOAladdinConnect==0.1.46 AIOAladdinConnect==0.1.47
# homeassistant.components.adax # homeassistant.components.adax
Adax-local==0.1.5 Adax-local==0.1.5
@ -171,7 +171,7 @@ aioguardian==2022.07.0
aioharmony==0.2.9 aioharmony==0.2.9
# homeassistant.components.homekit_controller # homeassistant.components.homekit_controller
aiohomekit==2.2.13 aiohomekit==2.2.14
# homeassistant.components.emulated_hue # homeassistant.components.emulated_hue
# homeassistant.components.http # homeassistant.components.http
@ -623,7 +623,7 @@ elmax_api==0.0.2
emulated_roku==0.2.1 emulated_roku==0.2.1
# homeassistant.components.huisbaasje # homeassistant.components.huisbaasje
energyflip-client==0.2.1 energyflip-client==0.2.2
# homeassistant.components.enocean # homeassistant.components.enocean
enocean==0.50 enocean==0.50
@ -1911,7 +1911,7 @@ pysml==0.0.8
pysnmplib==5.0.15 pysnmplib==5.0.15
# homeassistant.components.snooz # homeassistant.components.snooz
pysnooz==0.8.2 pysnooz==0.8.3
# homeassistant.components.soma # homeassistant.components.soma
pysoma==0.0.10 pysoma==0.0.10

View File

@ -7,7 +7,7 @@
AEMET-OpenData==0.2.1 AEMET-OpenData==0.2.1
# homeassistant.components.aladdin_connect # homeassistant.components.aladdin_connect
AIOAladdinConnect==0.1.46 AIOAladdinConnect==0.1.47
# homeassistant.components.adax # homeassistant.components.adax
Adax-local==0.1.5 Adax-local==0.1.5
@ -155,7 +155,7 @@ aioguardian==2022.07.0
aioharmony==0.2.9 aioharmony==0.2.9
# homeassistant.components.homekit_controller # homeassistant.components.homekit_controller
aiohomekit==2.2.13 aiohomekit==2.2.14
# homeassistant.components.emulated_hue # homeassistant.components.emulated_hue
# homeassistant.components.http # homeassistant.components.http
@ -476,7 +476,7 @@ elmax_api==0.0.2
emulated_roku==0.2.1 emulated_roku==0.2.1
# homeassistant.components.huisbaasje # homeassistant.components.huisbaasje
energyflip-client==0.2.1 energyflip-client==0.2.2
# homeassistant.components.enocean # homeassistant.components.enocean
enocean==0.50 enocean==0.50
@ -1346,7 +1346,7 @@ pysmartthings==0.7.6
pysnmplib==5.0.15 pysnmplib==5.0.15
# homeassistant.components.snooz # homeassistant.components.snooz
pysnooz==0.8.2 pysnooz==0.8.3
# homeassistant.components.soma # homeassistant.components.soma
pysoma==0.0.10 pysoma==0.0.10