From e02ccb14766f0fc12c5a469393df104fd2f9a6b1 Mon Sep 17 00:00:00 2001 From: njobrien1006 <59174199+njobrien1006@users.noreply.github.com> Date: Wed, 29 Dec 2021 06:42:19 -0600 Subject: [PATCH] Update entity.py (#11) -Update to "extra_state_attribute" per HA warning. --- custom_components/traeger/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/traeger/entity.py b/custom_components/traeger/entity.py index b36d0bb..958c427 100644 --- a/custom_components/traeger/entity.py +++ b/custom_components/traeger/entity.py @@ -61,7 +61,7 @@ def device_info(self): } @property - def device_state_attributes(self): + def extra_state_attributes(self): """Return the state attributes.""" return { "attribution": ATTRIBUTION,