mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Update august manufacturer name (#37867)
* Update august manufacturer name This allows homekit to link the accessories to the august app * yeah.. update the test
This commit is contained in:
parent
b07d09f7dc
commit
bf72e3c965
@ -13,6 +13,8 @@ VERIFICATION_CODE_KEY = "verification_code"
|
||||
NOTIFICATION_ID = "august_notification"
|
||||
NOTIFICATION_TITLE = "August"
|
||||
|
||||
MANUFACTURER = "August Home Inc."
|
||||
|
||||
DEFAULT_AUGUST_CONFIG_FILE = ".august.conf"
|
||||
|
||||
DATA_AUGUST = "data_august"
|
||||
|
@ -5,7 +5,8 @@ import logging
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
from . import DEFAULT_NAME, DOMAIN
|
||||
from . import DOMAIN
|
||||
from .const import MANUFACTURER
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@ -38,7 +39,7 @@ class AugustEntityMixin(Entity):
|
||||
return {
|
||||
"identifiers": {(DOMAIN, self._device_id)},
|
||||
"name": self._device.device_name,
|
||||
"manufacturer": DEFAULT_NAME,
|
||||
"manufacturer": MANUFACTURER,
|
||||
"sw_version": self._detail.firmware_version,
|
||||
"model": self._detail.model,
|
||||
}
|
||||
|
@ -126,5 +126,5 @@ async def test_doorbell_device_registry(hass):
|
||||
)
|
||||
assert reg_device.model == "hydra1"
|
||||
assert reg_device.name == "tmt100 Name"
|
||||
assert reg_device.manufacturer == "August"
|
||||
assert reg_device.manufacturer == "August Home Inc."
|
||||
assert reg_device.sw_version == "3.1.0-HYDRC75+201909251139"
|
||||
|
@ -32,7 +32,7 @@ async def test_lock_device_registry(hass):
|
||||
assert reg_device.model == "AUG-MD01"
|
||||
assert reg_device.sw_version == "undefined-4.3.0-1.8.14"
|
||||
assert reg_device.name == "online_with_doorsense Name"
|
||||
assert reg_device.manufacturer == "August"
|
||||
assert reg_device.manufacturer == "August Home Inc."
|
||||
|
||||
|
||||
async def test_lock_changed_by(hass):
|
||||
|
Loading…
x
Reference in New Issue
Block a user