Skip to content

Commit

Permalink
Merge pull request #60 from Xitee1/fix-powermeter-unavailable
Browse files Browse the repository at this point in the history
Fix powermeter sensor unavailable if it should be "0" instead
  • Loading branch information
RustyDust committed May 25, 2024
2 parents 22483c9 + 1a1ca90 commit 856efdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sonnenbatterie/sensor_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def generate_powermeter_sensors(_coordinator):
_index
].get(_sensor_meter)
)
else None
is not None else None
),
entity_registry_enabled_default=False,
)
Expand Down

0 comments on commit 856efdd

Please sign in to comment.