On jun/2022 in Home Assistant v. 2022.6
Esta integração foi realizada em jul/2022 utilizando o Home Assistant v. 2022.6[^1].
Estas anotações foram criadas baseando-se no post do Google Home Brasil e em Google Calendars
- Abra o aplicativo Zepp. Selecione a opção 'Perfil' na parte inferior direita. Selecione a opção 'Adicionar contas' e, depois disto, selecione 'Google Fit' e faça o acesso.
- Crie as entradas
googlefit_client_id
egooglefit_client_secret
no seu arquivos secrets.yaml; - Para obter os
googlefit_client_id
egooglefit_client_secret
, deve-se seguir os passos abaixo:
- Entrar no site do Google Developers Console com a mesma conta utilizada na integração do Google Fit junto ao aplicativo Zepp;
""" | |
Adaptado de Erik Kalkoken em https://stackoverflow.com/questions/60322847/how-to-test-admin-change-views | |
""" | |
from django.contrib.auth.models import User, Group | |
from django.urls import reverse | |
from django_tenants.test.cases import TenantTestCase | |
from django_tenants.test.client import TenantClient | |
This guide will enable systemd
to run as normal under WSL 2. This will enable services like microk8s
, docker
and many more to just work
during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.
-
To enable
systemd
under WSL we require a tool calledsystemd-genie
-
Copy the contents of
install-sg.sh
to a new file/tmp/install-sg.sh
:cd /tmp
In your WSL instance, re-install OpenSSH server as follows.
sudo apt remove --purge openssh-server
sudo apt install openssh-server
Edit /etc/ssh/sshd_config (e.g. sudo vi /etc/ssh/sshd_config
) and add the following lines to the bottom of the file. Ensure you replace WSL_ACCOUNT_NAME with your WSL2 account name.
image: docker:latest | |
services: | |
- docker:dind | |
stages: | |
- build | |
- test | |
- deploy |