Skip to content

Commit ec1364f

Browse files
committed
show all available attributes for felaqua
1 parent d68d1c3 commit ec1364f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

sensor.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -203,20 +203,6 @@ def state(self) -> float | None:
203203
if felaqua := cast(SureFelaqua, self._coordinator.data[self._id]):
204204
return int(felaqua.water_remaining) if felaqua.water_remaining else None
205205

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-
220206

221207
class FeederBowl(SurePetcareSensor):
222208
"""Sure Petcare Feeder Bowl."""

0 commit comments

Comments
 (0)