Update control.py

This commit is contained in:
Pascal Vizeli 2018-04-27 22:33:41 +02:00 committed by GitHub
parent 7541ae6476
commit f185291eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,5 +47,5 @@ class SystemControl(CoreSysAttributes):
raise HostNotSupportedError()
_LOGGER.info("Set Hostname %s", hostname)
await self.sys_dbus.hostname.set_hostname(hostname)
await self.sys_dbus.hostname.set_static_hostname(hostname)
await self.sys_host.info.update()