From 7a186109d7bc7741ddf2249c2ba6469027e8d27b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 29 Jan 2020 22:03:58 -0800 Subject: [PATCH] Remove cmp=True from APIVersion --- aioesphomeapi/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioesphomeapi/model.py b/aioesphomeapi/model.py index daf9f48..7f7045f 100644 --- a/aioesphomeapi/model.py +++ b/aioesphomeapi/model.py @@ -10,7 +10,7 @@ import attr # for a field (False, 0, empty string, enum with value 0, ...) -@attr.s(cmp=True) +@attr.s class APIVersion: major = attr.ib(type=int, default=0) minor = attr.ib(type=int, default=0)