diff --git a/homeassistant/components/device_automation/trigger.py b/homeassistant/components/device_automation/trigger.py index 05f2f79ff28..cd5b3a84c82 100644 --- a/homeassistant/components/device_automation/trigger.py +++ b/homeassistant/components/device_automation/trigger.py @@ -68,7 +68,7 @@ async def async_validate_trigger_config( # Only call the dynamic validator if the relevant config entry is loaded registry = dr.async_get(hass) if not (device := registry.async_get(config[CONF_DEVICE_ID])): - raise InvalidDeviceAutomationConfig + return config device_config_entry = None for entry_id in device.config_entries: @@ -80,7 +80,7 @@ async def async_validate_trigger_config( break if not device_config_entry: - raise InvalidDeviceAutomationConfig + return config if not await hass.config_entries.async_wait_component(device_config_entry): return config diff --git a/homeassistant/components/esphome/manifest.json b/homeassistant/components/esphome/manifest.json index ae11aa59fce..83ebc60edd6 100644 --- a/homeassistant/components/esphome/manifest.json +++ b/homeassistant/components/esphome/manifest.json @@ -3,7 +3,7 @@ "name": "ESPHome", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/esphome", - "requirements": ["aioesphomeapi==13.0.1"], + "requirements": ["aioesphomeapi==13.0.2"], "zeroconf": ["_esphomelib._tcp.local."], "dhcp": [{ "registered_devices": true }], "codeowners": ["@OttoWinter", "@jesserockz"], diff --git a/homeassistant/components/hassio/ingress.py b/homeassistant/components/hassio/ingress.py index 8aacbac99f6..dceff75bca8 100644 --- a/homeassistant/components/hassio/ingress.py +++ b/homeassistant/components/hassio/ingress.py @@ -130,6 +130,7 @@ class HassIOIngress(HomeAssistantView): allow_redirects=False, data=request.content, timeout=ClientTimeout(total=None), + skip_auto_headers={hdrs.CONTENT_TYPE}, ) as result: headers = _response_header(result) diff --git a/homeassistant/components/lupusec/manifest.json b/homeassistant/components/lupusec/manifest.json index 5792f186798..74593977eab 100644 --- a/homeassistant/components/lupusec/manifest.json +++ b/homeassistant/components/lupusec/manifest.json @@ -2,7 +2,7 @@ "domain": "lupusec", "name": "Lupus Electronics LUPUSEC", "documentation": "https://www.home-assistant.io/integrations/lupusec", - "requirements": ["lupupy==0.2.1"], + "requirements": ["lupupy==0.2.3"], "codeowners": ["@majuss"], "iot_class": "local_polling", "loggers": ["lupupy"] diff --git a/homeassistant/components/shelly/manifest.json b/homeassistant/components/shelly/manifest.json index aae3e0107b5..39723bf4b0f 100644 --- a/homeassistant/components/shelly/manifest.json +++ b/homeassistant/components/shelly/manifest.json @@ -3,7 +3,7 @@ "name": "Shelly", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/shelly", - "requirements": ["aioshelly==5.1.1"], + "requirements": ["aioshelly==5.1.2"], "dependencies": ["bluetooth", "http"], "zeroconf": [ { diff --git a/homeassistant/const.py b/homeassistant/const.py index ca64acdab46..e36cf99b288 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -8,7 +8,7 @@ from .backports.enum import StrEnum APPLICATION_NAME: Final = "HomeAssistant" MAJOR_VERSION: Final = 2022 MINOR_VERSION: Final = 12 -PATCH_VERSION: Final = "5" +PATCH_VERSION: Final = "6" __short_version__: Final = f"{MAJOR_VERSION}.{MINOR_VERSION}" __version__: Final = f"{__short_version__}.{PATCH_VERSION}" REQUIRED_PYTHON_VER: Final[tuple[int, int, int]] = (3, 9, 0) diff --git a/pyproject.toml b/pyproject.toml index 9874825ac27..1097ff5c708 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "homeassistant" -version = "2022.12.5" +version = "2022.12.6" license = {text = "Apache-2.0"} description = "Open-source home automation platform running on Python 3." readme = "README.rst" diff --git a/requirements_all.txt b/requirements_all.txt index 01270a86382..a2fd7cc1eeb 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -156,7 +156,7 @@ aioecowitt==2022.11.0 aioemonitor==1.0.5 # homeassistant.components.esphome -aioesphomeapi==13.0.1 +aioesphomeapi==13.0.2 # homeassistant.components.flo aioflo==2021.11.0 @@ -261,7 +261,7 @@ aiosenseme==0.6.1 aiosenz==1.0.0 # homeassistant.components.shelly -aioshelly==5.1.1 +aioshelly==5.1.2 # homeassistant.components.skybell aioskybell==22.7.0 @@ -1052,7 +1052,7 @@ london-tube-status==0.5 luftdaten==0.7.4 # homeassistant.components.lupusec -lupupy==0.2.1 +lupupy==0.2.3 # homeassistant.components.lw12wifi lw12==0.9.2 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index f4148c585fb..1acca1db340 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -143,7 +143,7 @@ aioecowitt==2022.11.0 aioemonitor==1.0.5 # homeassistant.components.esphome -aioesphomeapi==13.0.1 +aioesphomeapi==13.0.2 # homeassistant.components.flo aioflo==2021.11.0 @@ -236,7 +236,7 @@ aiosenseme==0.6.1 aiosenz==1.0.0 # homeassistant.components.shelly -aioshelly==5.1.1 +aioshelly==5.1.2 # homeassistant.components.skybell aioskybell==22.7.0 diff --git a/tests/components/deconz/test_device_trigger.py b/tests/components/deconz/test_device_trigger.py index bcd178f21d4..66033aa286d 100644 --- a/tests/components/deconz/test_device_trigger.py +++ b/tests/components/deconz/test_device_trigger.py @@ -349,6 +349,7 @@ async def test_functional_device_trigger( assert automation_calls[0].data["some"] == "test_trigger_button_press" +@pytest.mark.skip(reason="Temporarily disabled until automation validation is improved") async def test_validate_trigger_unknown_device(hass, aioclient_mock): """Test unknown device does not return a trigger config.""" await setup_deconz_integration(hass, aioclient_mock) diff --git a/tests/components/zha/test_device_trigger.py b/tests/components/zha/test_device_trigger.py index 8e19fe5b637..49eeacc0e42 100644 --- a/tests/components/zha/test_device_trigger.py +++ b/tests/components/zha/test_device_trigger.py @@ -372,6 +372,7 @@ async def test_exception_bad_trigger(hass, mock_devices, calls, caplog): assert "Invalid config for [automation]" in caplog.text +@pytest.mark.skip(reason="Temporarily disabled until automation validation is improved") async def test_exception_no_device(hass, mock_devices, calls, caplog): """Test for exception on event triggers firing."""