Skip to content

Commit

Permalink
Add sensor_always_available
Browse files Browse the repository at this point in the history
  • Loading branch information
Olen committed Feb 1, 2024
1 parent 2bf0d1b commit 0b17d69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/plant/plant_meters.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ def __init__(
tariff_entity=None,
tariff=None,
unique_id=f"{config.entry_id}-dli",
sensor_always_available=True,
suggested_entity_id=None,
)

Expand Down
1 change: 1 addition & 0 deletions custom_components/plant/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ def __init__(
tariff_entity=None,
tariff=None,
unique_id=f"{config.entry_id}-dli",
sensor_always_available=True,
suggested_entity_id=None,
periodically_resetting=True,
)
Expand Down

0 comments on commit 0b17d69

Please sign in to comment.