mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-25 18:16:32 +00:00
Add more info output
This commit is contained in:
parent
bad4d90d43
commit
15906732e8
@ -7,6 +7,7 @@ Communicate over unix socket with a host daemon.
|
|||||||
- commands
|
- commands
|
||||||
```
|
```
|
||||||
# info
|
# info
|
||||||
|
-> {'host', 'version'}
|
||||||
# reboot
|
# reboot
|
||||||
# shutdown
|
# shutdown
|
||||||
# host-update [v]
|
# host-update [v]
|
||||||
|
@ -26,6 +26,9 @@ async def run_hassio(loop):
|
|||||||
# init Supervisor Docker
|
# init Supervisor Docker
|
||||||
docker_super = DockerSupervisor(config, loop, dock)
|
docker_super = DockerSupervisor(config, loop, dock)
|
||||||
await docker_super.attach()
|
await docker_super.attach()
|
||||||
|
_LOGGER.info(
|
||||||
|
"Attach to supervisor image %s tag %s", docker_super.image,
|
||||||
|
docker_super.tag)
|
||||||
|
|
||||||
# init HomeAssistant Docker
|
# init HomeAssistant Docker
|
||||||
docker_hass = DockerHomeAssistant(
|
docker_hass = DockerHomeAssistant(
|
||||||
@ -33,9 +36,13 @@ async def run_hassio(loop):
|
|||||||
tag=config.homeassistant_tag
|
tag=config.homeassistant_tag
|
||||||
)
|
)
|
||||||
|
|
||||||
# init hostcontroll
|
# init HostControll
|
||||||
host_controll = HostControll(loop)
|
host_controll = HostControll(loop)
|
||||||
await host_controll.info()
|
host_info = await host_controll.info()
|
||||||
|
if host_info:
|
||||||
|
_LOGGER.info(
|
||||||
|
"Connected to host controll daemon. OS: %s Version: %s",
|
||||||
|
host_info.get('host'), host_info.get('version'))
|
||||||
|
|
||||||
# first start of supervisor?
|
# first start of supervisor?
|
||||||
if config.homeassistant_tag is None:
|
if config.homeassistant_tag is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user