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 3c79b35 commit 07ef8e8Copy full SHA for 07ef8e8
sagemcom_api/client.py
@@ -362,6 +362,7 @@ async def get_device_info(self) -> DeviceInfo:
362
"""Retrieve information about Sagemcom F@st device."""
363
try:
364
data = await self.get_value_by_xpath("Device/DeviceInfo")
365
+ return DeviceInfo(**data.get("device_info"))
366
except UnknownPathException:
367
data = await self.get_values_by_xpaths(
368
{
0 commit comments