Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions homeassistant/components/default_config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
"""Component providing default configuration for new users."""

try:
import av
except ImportError:
av = None

from homeassistant.components.hassio import is_hassio
from homeassistant.core import HomeAssistant
from homeassistant.helpers.typing import ConfigType
Expand All @@ -18,7 +12,4 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
if not is_hassio(hass):
await async_setup_component(hass, "backup", config)
Comment thread
balloob marked this conversation as resolved.

if av is None:
return True

return await async_setup_component(hass, "stream", config)
return True
1 change: 1 addition & 0 deletions homeassistant/components/default_config/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"schedule",
"script",
"ssdp",
"stream",
"sun",
"system_health",
"tag",
Expand Down
2 changes: 2 additions & 0 deletions homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PyJWT==2.6.0
PyNaCl==1.5.0
PyTurboJPEG==1.6.7
aiodiscover==1.4.14
aiohttp==3.8.4
aiohttp_cors==0.7.0
Expand All @@ -20,6 +21,7 @@ ciso8601==2.3.0
cryptography==39.0.1
dbus-fast==1.84.2
fnvhash==0.1.0
ha-av==10.0.0
hass-nabucasa==0.62.0
hassil==1.0.6
home-assistant-bluetooth==1.9.3
Expand Down