mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
fix sys
This commit is contained in:
parent
0bb81136bb
commit
1c0d63a02e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user