# 升级 Home Assistant

升级 Home Assistant 以使用最新的 Helm chart 和应用程序版本。

### 检查现有的 Chart

```bash
helm list
NAME     	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                	APP VERSION
emqx     	default  	1       	2020-01-15 09:50:07.876751946 -0500 EST	deployed	emqx-v4.0.0          	v4.0.0     
hass     	default  	3       	2020-01-22 14:40:55.119051419 -0500 EST	deployed	home-assistant-0.9.11	0.101.2    
nextcloud	default  	1       	2019-12-24 16:39:19.78369805 -0500 EST 	deployed	nextcloud-1.9.1      	17.0.0
```

### 更新 Helm 仓库

```shell
helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "geneliu" chart repository
...Successfully got an update from the "emqx" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈ 
```

### 升级 Home Assistant Chart

```bash
helm upgrade hass stable/home-assistant -f ./hass.yaml 
Release "hass" has been upgraded. Happy Helming!
NAME: hass
LAST DEPLOYED: Wed Feb  5 13:10:39 2020
NAMESPACE: default
STATUS: deployed
REVISION: 4
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
  http://myhome.example.com/
```

