Skip to content

Commit

Permalink
Use native value instead of _attr_state
Browse files Browse the repository at this point in the history
  • Loading branch information
ogajduse committed Jul 30, 2023
1 parent 5cc4cff commit 4e5223d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/feedparser/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def update(self: FeedParserSensor) -> None:
)
self._entries = []

for entry in parsed_feed.entries[: self._attr_state]:
for entry in parsed_feed.entries[: self.native_value]: # type: ignore[misc]
entry_value = {}

for key, value in entry.items():
Expand Down

0 comments on commit 4e5223d

Please sign in to comment.