We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
icon_url
1 parent 4d585b7 commit 53b576aCopy full SHA for 53b576a
2 files changed
custom_components/petlibro/devices/device.py
@@ -98,6 +98,11 @@ def software_version(self) -> str:
98
def hardware_version(self) -> str:
99
return cast(str, self._data.get("hardwareVersion"))
100
101
+ @property
102
+ def icon_url(self) -> str | None:
103
+ """Product icon URL from the device list API response."""
104
+ return self._data.get("icon")
105
+
106
@property
107
def boundPets(self) -> list[dict]:
108
return self._data.get("boundPets") or []
custom_components/petlibro/manifest.json
@@ -10,5 +10,5 @@
10
"iot_class": "cloud_polling",
11
"issue_tracker": "https://github.com/jjjonesjr33/petlibro/issues",
12
"loggers": ["petlibro"],
13
- "version": "1.3.0"
+ "version": "1.3.1"
14
}
0 commit comments