We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee9afee commit da2e84dCopy full SHA for da2e84d
1 file changed
elmax/__init__.py
@@ -72,6 +72,10 @@ async def disconnect(self):
72
if self.authorized:
73
self.authorized = False
74
75
+ async def is_authenticated(self):
76
+ """Get the state of the authentication."""
77
+ return self.authorized
78
+
79
async def get_devices(self):
80
"""Retrieve the devices."""
81
if self.authorized is False:
0 commit comments