Add advanced Hyperion entities (#45410)

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
Dermot Duffy 2021-01-27 00:35:13 -08:00 committed by GitHub
parent 06ade6129c
commit 890eaf840c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1213 additions and 219 deletions

View file

@ -2,7 +2,7 @@
import logging
from typing import Any, Dict, Optional
from unittest.mock import AsyncMock, patch # type: ignore[attr-defined]
from unittest.mock import AsyncMock, patch
from hyperion import const
@ -689,6 +689,7 @@ async def test_options(hass: HomeAssistantType) -> None:
{ATTR_ENTITY_ID: TEST_ENTITY_ID_1},
blocking=True,
)
# pylint: disable=unsubscriptable-object
assert client.async_send_set_color.call_args[1][CONF_PRIORITY] == new_priority