We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0058e6 commit a0aa7f4Copy full SHA for a0aa7f4
src/linkplay/bridge.py
@@ -72,11 +72,11 @@ def playmode_support(self) -> list[PlayingMode]:
72
@property
73
def mac(self) -> str | None:
74
"""Returns the mac address."""
75
- mac = self.properties.get(DeviceAttribute.ETH_MAC)
+ mac = self.properties.get(DeviceAttribute.ETH_MAC_ADDRESS)
76
if mac == "00:00:00:00:00:00" or mac is None:
77
- mac = self.properties.get(DeviceAttribute.STA_MAC)
+ mac = self.properties.get(DeviceAttribute.STA_MAC_ADDRESS)
78
79
- mac = self.properties.get(DeviceAttribute.MAC)
+ mac = self.properties.get(DeviceAttribute.MAC_ADDRESS)
80
return mac
81
82
0 commit comments