Add documentation URL for the Home Assistant Green (#101263)

This commit is contained in:
Franck Nijhof 2023-10-02 14:30:33 +02:00 committed by GitHub
parent a618e8d1cf
commit 02f82d04fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -9,6 +9,7 @@ from homeassistant.exceptions import HomeAssistantError
from .const import DOMAIN
BOARD_NAME = "Home Assistant Green"
DOCUMENTATION_URL = "https://green.home-assistant.io/documentation/"
MANUFACTURER = "homeassistant"
MODEL = "green"
@ -39,6 +40,6 @@ def async_info(hass: HomeAssistant) -> list[HardwareInfo]:
config_entries=config_entries,
dongle=None,
name=BOARD_NAME,
url=None,
url=DOCUMENTATION_URL,
)
]

View file

@ -54,7 +54,7 @@ async def test_hardware_info(
"config_entries": [config_entry.entry_id],
"dongle": None,
"name": "Home Assistant Green",
"url": None,
"url": "https://green.home-assistant.io/documentation/",
}
]
}