format
This commit is contained in:
parent
ead07ff4b5
commit
3dd519a8a8
|
@ -655,6 +655,7 @@ class DateState(EntityState):
|
|||
|
||||
# ==================== DATETIME TIME ====================
|
||||
|
||||
|
||||
@_frozen_dataclass_decorator
|
||||
class TimeInfo(EntityInfo):
|
||||
pass
|
||||
|
|
|
@ -39,7 +39,7 @@ from .api_pb2 import ( # type: ignore
|
|||
SwitchStateResponse,
|
||||
TextSensorStateResponse,
|
||||
TextStateResponse,
|
||||
TimeStateResponse
|
||||
TimeStateResponse,
|
||||
)
|
||||
from .model import (
|
||||
AlarmControlPanelEntityState,
|
||||
|
|
|
@ -641,6 +641,7 @@ async def test_date_command(
|
|||
auth_client.date_command(**cmd)
|
||||
send.assert_called_once_with(DateCommandRequest(**req))
|
||||
|
||||
|
||||
# Test time command
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.parametrize(
|
||||
|
@ -664,6 +665,7 @@ async def test_time_command(
|
|||
auth_client.time_command(**cmd)
|
||||
send.assert_called_once_with(TimeCommandRequest(**req))
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.parametrize(
|
||||
"cmd, req",
|
||||
|
|
Loading…
Reference in New Issue