# Update - HA Core 0.105.2

**URL:** <https://forum.cpha.pt/t/update-ha-core-0-105-2/3944>\
**Category:** Dúvidas\
**Created:** [7 Fevereiro , 2020 13:47 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944 "2020-02-07T13:47:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcnilas11](https://forum.cpha.pt/user_avatar/forum.cpha.pt/dcnilas11/32/4021_2.png) [@dcnilas11](https://forum.cpha.pt/u/dcnilas11)\
**Post date:** [7 Fevereiro , 2020 13:47 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944/1 "2020-02-07T13:47:42Z")

</div>

Boas Pessoal,

Antes de fazer o update queria resolver esta situação:

WARNING (MainThread) [homeassistant.components.google\_assistant] The ‘api\_key’ option (with value ‘AAAAAAAAAAAAAAAAABBBBBBBBBB’) is deprecated, please remove it from your configuration. This option will become invalid in version 0.105

Tentei ler algo sobre isto, mas não consegui chegar lá.

Podiam me ajudar a perceber como manter a integração ao google assistant, mas sem a api\_key?

---

<div class="post-metadata">

**Author:** ![dcnilas11](https://forum.cpha.pt/user_avatar/forum.cpha.pt/dcnilas11/32/4021_2.png) [@dcnilas11](https://forum.cpha.pt/u/dcnilas11)\
**Post date:** [7 Fevereiro , 2020 16:45 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944/2 "2020-02-07T16:45:34Z")

</div>

Após ver com mais cuidado reparo que na página de instruções do Google Assistant, já houve conteudo mudado.

> **[Google Assistant](https://www.home-assistant.io/integrations/google_assistant/#configuration)**
>
> Setup for Google Assistant integration

Mas não entendo onde vou buscar a service\_account e/ou ficheiro json.

```auto
# Example configuration.yaml entry
google_assistant:
  project_id: YOUR_PROJECT_ID
  service_account: !include SERVICE_ACCOUNT.JSON

```

---

<div class="post-metadata">

**Author:** ![nmota](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nmota/32/2574_2.png) [@nmota](https://forum.cpha.pt/u/nmota)\
**Post date:** [7 Fevereiro , 2020 17:10 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944/3 "2020-02-07T17:10:50Z")

</div>

Estou precisamente com o mesmo dilema. Não sei bem como criar um service\_account. Por isso mesmo ainda não fiz o upgrade.

---

<div class="post-metadata">

**Author:** ![j\_assuncao](https://forum.cpha.pt/user_avatar/forum.cpha.pt/j_assuncao/32/3_2.png) [@j\_assuncao](https://forum.cpha.pt/u/j_assuncao)\
**Post date:** [7 Fevereiro , 2020 18:14 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944/4 "2020-02-07T18:14:53Z")

</div>

@dcnilas11 @nmota

Nesse mesmo link diz:

> You will need to create a service account [Create Service account key](https://console.cloud.google.com/apis/credentials/serviceaccountkey) which allows you to update devices without unlinking and relinking an account (see [below](https://www.home-assistant.io/integrations/google_assistant/#troubleshooting-the-request_sync-service)). If you don’t provide the service account, the `google_assistant.request_sync` service is not exposed.

Assim sendo o link para obter a `service_account` é:

> **[Google Cloud Platform](https://accounts.google.com/v3/signin/identifier?continue=https:%2F%2Fconsole.cloud.google.com%2Fapis%2Fcredentials%2Fserviceaccountkey&followup=https:%2F%2Fconsole.cloud.google.com%2Fapis%2Fcredentials%2Fserviceaccountkey&osid=1&passive=1209600&service=cloudconsole&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S1863278101:1790449868848241)**
>
> A Google Cloud Platform permite criar, implantar e dimensionar aplicativos, websites e serviços sobre a mesma infraestrutura do Google.

---

<div class="post-metadata">

**Author:** ![dcnilas11](https://forum.cpha.pt/user_avatar/forum.cpha.pt/dcnilas11/32/4021_2.png) [@dcnilas11](https://forum.cpha.pt/u/dcnilas11)\
**Post date:** [7 Fevereiro , 2020 18:30 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944/5 "2020-02-07T18:30:07Z")

</div>

@j_assuncao  
Por vezes ao olhar tanto para uma coisa, parece que deixamos de ver. É realmente simples o processo sim.

@nmota  
Eu depois de ter criado a service\_account e reiniciado o HA, apareceu-me este erro nos logs:

[homeassistant.components.google\_assistant.http] Request for [https://homegraph.googleapis.com/v1/devices:reportStateAndNotification](https://homegraph.googleapis.com/v1/devices:reportStateAndNotification) failed: 404

Para resolver apenas ir ao Google Assistant e dizer ou escrever “sync my devices”.  
Reiniciar novamente o HA e já não terás o erro.

---

<div class="post-metadata">

**Author:** ![j\_assuncao](https://forum.cpha.pt/user_avatar/forum.cpha.pt/j_assuncao/32/3_2.png) [@j\_assuncao](https://forum.cpha.pt/u/j_assuncao)\
**Post date:** [8 Fevereiro , 2020 09:15 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944/6 "2020-02-08T09:15:11Z")

</div>

A post was split to a new topic: [Instalação corrompida após update](https://forum.cpha.pt/t/instalacao-corrompida-apos-update/3952)

---

<div class="post-metadata">

**Author:** ![nmota](https://forum.cpha.pt/user_avatar/forum.cpha.pt/nmota/32/2574_2.png) [@nmota](https://forum.cpha.pt/u/nmota)\
**Post date:** [10 Fevereiro , 2020 11:13 UTC](https://forum.cpha.pt/t/update-ha-core-0-105-2/3944/8 "2020-02-10T11:13:26Z")

</div>

Upgrade feito.  
Está tudo a funcionar e sem erros. Afinal não era assim tão difícil configurar o `service_account`.  
Obrigado @j_assuncao e @dcnilas11.
