Skip to content

Commit

Permalink
Fix bug in attributes (#2692)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored May 24, 2022
1 parent b181ce0 commit 0188854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hacs/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _update(self) -> None:
self._attr_native_value = len(repositories)
if (
self.hacs.configuration.config_type == ConfigurationType.YAML
and not self.hacs.configuration.experimental
or not self.hacs.configuration.experimental
):
self._attr_extra_state_attributes = {
"repositories": [
Expand Down

0 comments on commit 0188854

Please sign in to comment.