This commit is contained in:
Jesse Hills 2024-03-19 05:31:15 +00:00
parent ead07ff4b5
commit 3dd519a8a8
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
3 changed files with 4 additions and 1 deletions

View File

@ -655,6 +655,7 @@ class DateState(EntityState):
# ==================== DATETIME TIME ====================
@_frozen_dataclass_decorator
class TimeInfo(EntityInfo):
pass

View File

@ -39,7 +39,7 @@ from .api_pb2 import ( # type: ignore
SwitchStateResponse,
TextSensorStateResponse,
TextStateResponse,
TimeStateResponse
TimeStateResponse,
)
from .model import (
AlarmControlPanelEntityState,

View File

@ -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",