mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 09:06:29 +00:00
Update info.py
This commit is contained in:
parent
fe38fe94dc
commit
9e18589b6b
@ -18,7 +18,7 @@ class InfoCenter(CoreSysAttributes):
|
|||||||
@property
|
@property
|
||||||
def hostname(self):
|
def hostname(self):
|
||||||
"""Return local hostname."""
|
"""Return local hostname."""
|
||||||
return self._data.get('Hostname') or None
|
return self._data.get('StaticHostname') or None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def chassis(self):
|
def chassis(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user