mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-10 02:36:29 +00:00
fix minor things
This commit is contained in:
parent
d4369acf8d
commit
db412c89ca
@ -79,7 +79,7 @@ class CoreConfig(object):
|
||||
@property
|
||||
def path_config_docker(self):
|
||||
"""Return config path extern for docker."""
|
||||
return HOMEASSISTANT_CONFIG.format(os.environ['SUPERVISOR_NAME'])
|
||||
return HOMEASSISTANT_CONFIG.format(os.environ['SUPERVISOR_SHARE'])
|
||||
|
||||
@property
|
||||
def path_config(self):
|
||||
@ -89,7 +89,7 @@ class CoreConfig(object):
|
||||
@property
|
||||
def path_ssl_docker(self):
|
||||
"""Return SSL path extern for docker."""
|
||||
return HOMEASSISTANT_SSL.format(os.environ['SUPERVISOR_NAME'])
|
||||
return HOMEASSISTANT_SSL.format(os.environ['SUPERVISOR_SHARE'])
|
||||
|
||||
@property
|
||||
def path_ssl(self):
|
||||
|
@ -42,9 +42,6 @@ class HassIO(object):
|
||||
"""Setup HassIO orchestration."""
|
||||
# supervisor
|
||||
await self.supervisor.attach()
|
||||
_LOGGER.info(
|
||||
"Attach to supervisor image %s version %s", self.supervisor.image,
|
||||
self.supervisor.version)
|
||||
|
||||
# hostcontroll
|
||||
host_info = await self.host_controll.info()
|
||||
@ -77,7 +74,6 @@ class HassIO(object):
|
||||
await self.api.start()
|
||||
|
||||
# run HomeAssistant
|
||||
_LOGGER.info("Run HomeAssistant now.")
|
||||
await self.homeassistant.run()
|
||||
|
||||
async def stop(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user