From 1c0d63a02ea07ee1ef15a6812c17aa91b59bd122 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Wed, 25 Apr 2018 21:49:28 +0200 Subject: [PATCH] fix sys --- hassio/coresys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/coresys.py b/hassio/coresys.py index 6d16e5a81..494b38ac6 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:]): + if name.startswith("sys_") and hasattr(self.coresys, name[5:]): return getattr(self.coresys, name[5:]) raise AttributeError()