Add documentation URL for homeassistant_sky_connect (#99377)

This commit is contained in:
Erik Montnemery 2023-08-31 10:39:24 +02:00 committed by GitHub
parent 0fd9327c46
commit 35560e01b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -6,6 +6,7 @@ from homeassistant.core import HomeAssistant, callback
from .const import DOMAIN
DOCUMENTATION_URL = "https://skyconnect.home-assistant.io/documentation/"
DONGLE_NAME = "Home Assistant SkyConnect"
@ -26,7 +27,7 @@ def async_info(hass: HomeAssistant) -> list[HardwareInfo]:
description=entry.data["description"],
),
name=DONGLE_NAME,
url=None,
url=DOCUMENTATION_URL,
)
for entry in entries
]

View File

@ -78,7 +78,7 @@ async def test_hardware_info(
"description": "bla_description",
},
"name": "Home Assistant SkyConnect",
"url": None,
"url": "https://skyconnect.home-assistant.io/documentation/",
},
{
"board": None,
@ -91,7 +91,7 @@ async def test_hardware_info(
"description": "bla_description_2",
},
"name": "Home Assistant SkyConnect",
"url": None,
"url": "https://skyconnect.home-assistant.io/documentation/",
},
]
}