mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-08 18:39:33 +00:00
fix sys
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user