Add documentation URL for homeassistant_yellow (#99336)
* Add documentation URL for homeassistant_yellow * Fix test * Tweak
This commit is contained in:
parent
7042a02d72
commit
80caeafcb5
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ from homeassistant.exceptions import HomeAssistantError
|
||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
|
|
||||||
BOARD_NAME = "Home Assistant Yellow"
|
BOARD_NAME = "Home Assistant Yellow"
|
||||||
|
DOCUMENTATION_URL = "https://yellow.home-assistant.io/documentation/"
|
||||||
MANUFACTURER = "homeassistant"
|
MANUFACTURER = "homeassistant"
|
||||||
MODEL = "yellow"
|
MODEL = "yellow"
|
||||||
|
|
||||||
|
@ -39,6 +40,6 @@ def async_info(hass: HomeAssistant) -> list[HardwareInfo]:
|
||||||
config_entries=config_entries,
|
config_entries=config_entries,
|
||||||
dongle=None,
|
dongle=None,
|
||||||
name=BOARD_NAME,
|
name=BOARD_NAME,
|
||||||
url=None,
|
url=DOCUMENTATION_URL,
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
|
@ -54,7 +54,7 @@ async def test_hardware_info(
|
||||||
"config_entries": [config_entry.entry_id],
|
"config_entries": [config_entry.entry_id],
|
||||||
"dongle": None,
|
"dongle": None,
|
||||||
"name": "Home Assistant Yellow",
|
"name": "Home Assistant Yellow",
|
||||||
"url": None,
|
"url": "https://yellow.home-assistant.io/documentation/",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue