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 d68d1c3 commit ec1364fCopy full SHA for ec1364f
sensor.py
@@ -203,20 +203,6 @@ def state(self) -> float | None:
203
if felaqua := cast(SureFelaqua, self._coordinator.data[self._id]):
204
return int(felaqua.water_remaining) if felaqua.water_remaining else None
205
206
- @property
207
- def extra_state_attributes(self) -> dict[str, Any]:
208
- """Return additional attrs."""
209
-
210
- attrs = {}
211
212
- if state := cast(SureFelaqua, self._coordinator.data[self._id]).raw_data():
213
214
- for weight in state.get("drink", {}).get("weights", {}):
215
- attr_key = f"weight_{weight['index']}"
216
- attrs[attr_key] = weight
217
218
- return attrs
219
220
221
class FeederBowl(SurePetcareSensor):
222
"""Sure Petcare Feeder Bowl."""
0 commit comments