From 9a6ef9a20acb7774fd3a94866f8f5be8ea17a1b6 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 6 Mar 2024 02:48:31 +0000 Subject: [PATCH] Black formatting --- aioesphomeapi/model.py | 1 + tests/test_client.py | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/aioesphomeapi/model.py b/aioesphomeapi/model.py index 1b8a84c..58484b8 100644 --- a/aioesphomeapi/model.py +++ b/aioesphomeapi/model.py @@ -639,6 +639,7 @@ class NumberState(EntityState): # ==================== DATETIME DATE ==================== + @_frozen_dataclass_decorator class DateInfo(EntityInfo): pass diff --git a/tests/test_client.py b/tests/test_client.py index 5cc5a1f..2c290e5 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -622,8 +622,14 @@ async def test_number_command( @pytest.mark.parametrize( "cmd, req", [ - (dict(key=1, year=2024, month=2, day=29), dict(key=1, year=2024, month=2, day=29)), - (dict(key=1, year=2000, month=6, day=10), dict(key=1, year=2000, month=6, day=10)), + ( + dict(key=1, year=2024, month=2, day=29), + dict(key=1, year=2024, month=2, day=29), + ), + ( + dict(key=1, year=2000, month=6, day=10), + dict(key=1, year=2000, month=6, day=10), + ), ], ) async def test_date_command(