mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 20:39:01 +00:00
Add HUB_TEST_ACCESSORY_ID const for homekit_controller tests (#64750)
This commit is contained in:
@@ -6,7 +6,7 @@ from datetime import timedelta
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
from typing import Any
|
||||
from typing import Any, Final
|
||||
from unittest import mock
|
||||
|
||||
from aiohomekit.model import Accessories, Accessory
|
||||
@@ -40,6 +40,10 @@ from tests.common import (
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# Root device in test harness always has an accessory id of this
|
||||
HUB_TEST_ACCESSORY_ID: Final[str] = "00:00:00:00:00:00"
|
||||
|
||||
|
||||
@dataclass
|
||||
class EntityTestInfo:
|
||||
"""Describes how we expected an entity to be created by homekit_controller."""
|
||||
|
||||
Reference in New Issue
Block a user