Skip to content

Commit

Permalink
bugfix: Home Assistant OS not detected
Browse files Browse the repository at this point in the history
  • Loading branch information
Athozs committed Jan 29, 2024
1 parent c5c8eca commit 234b0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/additional_ca/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:

ha_type = ha_sys_info["installation_type"]

if "Operating System" in ha_type or "Supervised" in ha_type:
if "Operating System" in ha_type or "Home Assistant OS" in ha_type or "Supervised" in ha_type:
_LOGGER.info(f"Installation type = {ha_type}")
try:
await update_certifi_certificates(hass, config)
Expand Down

0 comments on commit 234b0b1

Please sign in to comment.