From 8358ab14370b3dd6022c7ff0273ad40afa071b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hjelseth=20H=C3=B8yer?= Date: Fri, 31 Dec 2021 15:53:19 +0100 Subject: [PATCH] Add mac_address (#4) --- mill_local/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mill_local/__init__.py b/mill_local/__init__.py index 1b3cf74..669e579 100644 --- a/mill_local/__init__.py +++ b/mill_local/__init__.py @@ -30,6 +30,11 @@ def name(self): """Return name.""" return self._status.get("name", "") + @property + def mac_address(self): + """Return mac address.""" + return self._status.get("mac_address") + async def set_target_temperature(self, target_temperature): """Set target temperature.""" payload = {