From 12903f9c8cf319600142e65cec2b3564df6b3727 Mon Sep 17 00:00:00 2001 From: Finbarr Brady Date: Wed, 9 Dec 2020 16:13:20 +0000 Subject: [PATCH] =?UTF-8?q?Bump=20openwebifpy=20version:=203.1.1=20?= =?UTF-8?q?=E2=86=92=203.1.6=20(#44064)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homeassistant/components/enigma2/manifest.json | 2 +- homeassistant/components/enigma2/media_player.py | 5 +++++ requirements_all.txt | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/enigma2/manifest.json b/homeassistant/components/enigma2/manifest.json index 86b06148977030..fe461654ecd708 100644 --- a/homeassistant/components/enigma2/manifest.json +++ b/homeassistant/components/enigma2/manifest.json @@ -2,6 +2,6 @@ "domain": "enigma2", "name": "Enigma2 (OpenWebif)", "documentation": "https://www.home-assistant.io/integrations/enigma2", - "requirements": ["openwebifpy==3.1.1"], + "requirements": ["openwebifpy==3.1.6"], "codeowners": ["@fbradyirl"] } diff --git a/homeassistant/components/enigma2/media_player.py b/homeassistant/components/enigma2/media_player.py index 8bb0486cd247b1..4baa6aaf047cf6 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -126,6 +126,11 @@ def name(self): """Return the name of the device.""" return self._name + @property + def unique_id(self): + """Return the unique ID for this entity.""" + return self.e2_box.mac_address + @property def state(self): """Return the state of the device.""" diff --git a/requirements_all.txt b/requirements_all.txt index 2bf1f3b3ee8089..2f7e85ca0bca8d 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1061,7 +1061,7 @@ openhomedevice==0.7.2 opensensemap-api==0.1.5 # homeassistant.components.enigma2 -openwebifpy==3.1.1 +openwebifpy==3.1.6 # homeassistant.components.luci openwrt-luci-rpc==1.1.6