From 0188854747435e95161a1e1ffbc302229bcfb28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 24 May 2022 10:30:51 +0200 Subject: [PATCH] Fix bug in attributes (#2692) --- custom_components/hacs/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hacs/sensor.py b/custom_components/hacs/sensor.py index d6f3506fa6d..f8705cd2162 100644 --- a/custom_components/hacs/sensor.py +++ b/custom_components/hacs/sensor.py @@ -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": [