mirror of
https://github.com/home-assistant/core.git
synced 2025-06-24 15:07:07 +00:00
Add documentation URL for the Home Assistant Green (#101263)
This commit is contained in:
parent
5370db4a3e
commit
a0e5f016e1
@ -9,6 +9,7 @@ from homeassistant.exceptions import HomeAssistantError
|
|||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
|
|
||||||
BOARD_NAME = "Home Assistant Green"
|
BOARD_NAME = "Home Assistant Green"
|
||||||
|
DOCUMENTATION_URL = "https://green.home-assistant.io/documentation/"
|
||||||
MANUFACTURER = "homeassistant"
|
MANUFACTURER = "homeassistant"
|
||||||
MODEL = "green"
|
MODEL = "green"
|
||||||
|
|
||||||
@ -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 Green",
|
"name": "Home Assistant Green",
|
||||||
"url": None,
|
"url": "https://green.home-assistant.io/documentation/",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user