diff --git a/hassio/coresys.py b/hassio/coresys.py index 494b38ac6..878f75555 100644 --- a/hassio/coresys.py +++ b/hassio/coresys.py @@ -264,6 +264,6 @@ class CoreSysAttributes: def __getattr__(self, name): """Mapping to coresys.""" - if name.startswith("sys_") and hasattr(self.coresys, name[5:]): - return getattr(self.coresys, name[5:]) + if name.startswith("sys_") and hasattr(self.coresys, name[4:]): + return getattr(self.coresys, name[4:]) raise AttributeError()