From 1a2c2b69fac3a36180156e2f256f8ba68a70109c Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Fri, 9 Jul 2021 00:00:53 +1200 Subject: [PATCH] Rename image field to data to match the proto field (#62) --- aioesphomeapi/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioesphomeapi/model.py b/aioesphomeapi/model.py index 2d89229..4c03b77 100644 --- a/aioesphomeapi/model.py +++ b/aioesphomeapi/model.py @@ -286,7 +286,7 @@ class CameraInfo(EntityInfo): @dataclass(frozen=True) class CameraState(EntityState): - image: bytes = field(default_factory=bytes) + data: bytes = field(default_factory=bytes) # ==================== CLIMATE ====================