Skip to content

Commit

Permalink
Change parent to SensorEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
simon511000 authored Oct 2, 2023
1 parent 7427320 commit 5c67910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/meria/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def async_setup_entry(
async_add_entities(lending_entities, True)


class MeriaLendingSensor(Entity):
class MeriaLendingSensor(SensorEntity):
def __init__(self, entry_id, lending_data) -> None:
self._entry_id = entry_id
self._lending_data = lending_data
Expand Down

0 comments on commit 5c67910

Please sign in to comment.