Updated HACS and also added in Wyze Thermometer

This commit is contained in:
ccostan 2020-05-16 10:34:10 -04:00
parent a7679ff15e
commit 776db75270
13 changed files with 48 additions and 42 deletions

View File

@ -142,9 +142,11 @@
"open_repository": "Ανοίξτε το αποθετήριο",
"reload_data": "Επαναφόρτωση δεδομένων",
"reload_window": "Επαναφόρτωση του παραθύρου",
"repository_configuration": "Διαμόρφωση αποθετηρίου",
"save": "Αποθήκευση",
"table": "Πίνακας",
"table_view": "Προβολή πίνακα",
"unhide": "αποκρύψω",
"upgrade_all": "Αναβάθμιση όλων"
},
"store": {

View File

@ -51,18 +51,23 @@
},
"confirm": {
"add_to_lovelace": "Tem certeza de que deseja adicionar isso aos seus recursos do Lovelace?",
"bg_task": "A ação é desativada enquanto as tarefas de fundo estão sendo executadas.",
"cancel": "Cancelar",
"continue": "Tem certeza que quer continuar?",
"delete": "Tem certeza de que deseja excluir '{item}'?",
"delete_installed": "'{item}' está instalado, é necessário desinstalá-lo para poder excluí-lo.",
"exist": "{item} já existe",
"generic": "Tem certeza?",
"home_assistant_is_restarting": "Espere, o Home Assistant está agora a reiniciar.",
"home_assistant_version_not_correct": "Você está executando a versão Home Assistant '{haversion}', mas este repositório requer que a versão mínima '{minversion}' esteja instalada.",
"no": "Não",
"no_upgrades": "Não há atualizações pendentes",
"ok": "OK",
"overwrite": "Fazer isso irá substituí-lo.",
"reload_data": "Isso recarrega os dados de todos os repositórios que o HACS conhece e levará algum tempo para concluir.",
"restart_home_assistant": "Tem certeza de que deseja reiniciar o Home Assistant?",
"uninstall": "Tem certeza de que deseja desinstalar '{item}'?",
"upgrade_all": "Isso atualizará todos esses repositórios, verifique se você leu as notas de versão de todos eles antes de continuar.",
"yes": "Sim"
},
"options": {
@ -71,6 +76,7 @@
"data": {
"appdaemon": "Habilitar AppDaemon apps descoberta & rastreamento",
"country": "Filtro pelo código do país.",
"debug": "Ative a depuração.",
"experimental": "Ativar recursos experimentais",
"netdaemon": "Habilitar NetDaemon apps descoberta & rastreamento",
"not_in_use": "Não está em uso com o YAML",
@ -82,6 +88,8 @@
}
},
"repository_banner": {
"config_flow": "Essa integração oferece suporte ao config_flow, o que significa que agora você pode acessar a seção de integração da sua interface do usuário para configurá-lo.",
"config_flow_title": "Configuração de interface do usuário suportada",
"integration_not_loaded": "Esta integração não é carregada no Home Assistant.",
"no_restart_required": "Não é necessário reiniciar",
"not_loaded": "Não carregado",
@ -112,6 +120,7 @@
"note_installed": "Quando instalado, ele estará localizado em",
"note_integration": "Você ainda precisa adicioná-lo ao seu arquivo 'configuration.yaml'",
"note_plugin": "você ainda precisará adicioná-lo à sua configuração do lovelace ('ui-lovelace.yaml' ou o editor de configuração da interface do usuário)",
"note_plugin_post_107": "você ainda precisará adicioná-lo à sua configuração do lovelace ('configuration.yaml' ou o editor de recursos '\/config \/lovelace\/resources')",
"open_issue": "Open issue",
"open_plugin": "Plugin aberto",
"reinstall": "Reinstalar",
@ -126,6 +135,7 @@
"add_custom_repository": "ADICIONAR REPOSITÓRIO PERSONALIZADO",
"adding_new_repo": "Adicionando novo repositório '{repo}'",
"adding_new_repo_category": "Com a categoria '{category}'.",
"bg_task_custom": "Os repositórios personalizados ficam ocultas enquanto as tarefas de fundo estão em execução.",
"category": "Categoria",
"compact_mode": "Modo compacto",
"custom_repositories": "REPOSITÓRIOS PERSONALIZADOS",
@ -154,6 +164,7 @@
"new_repositories": "Novos Repositórios",
"pending_upgrades": "Atualizações pendentes",
"placeholder_search": "Por favor insira um termo de pesquisa...",
"sort": "ordenar",
"stars": "Estrelas",
"status": "Status"
},

View File

@ -15,7 +15,7 @@
"manage": "upravljanje",
"netdaemon": "NetDaemon",
"netdaemon_apps": "NetDaemon Aplikacije",
"plugin": "vtičnik",
"plugin": "Vtičnik",
"plugins": "Vtičniki",
"python_script": "Python skripta",
"python_scripts": "Python skripte",

View File

@ -1,7 +1,7 @@
"""Constants for HACS"""
NAME_LONG = "HACS (Home Assistant Community Store)"
NAME_SHORT = "HACS"
VERSION = "0.24.3"
VERSION = "0.24.5"
DOMAIN = "hacs"
PROJECT_URL = "https://github.com/hacs/integration/"
CUSTOM_UPDATER_LOCATIONS = [

View File

@ -49,7 +49,7 @@ def constrain_translations():
"""Check if traslations exist."""
hacs = get_hacs()
if not os.path.exists(
f"{hacs.system.config_path}/custom_components/hacs/.translations"
f"{hacs.system.config_path}/custom_components/hacs/translations"
):
hacs.logger.critical("You are missing the translations directory.")
return False

View File

@ -84,7 +84,6 @@ async def get_integration_manifest(repository):
repository.data.authors = manifest["codeowners"]
repository.data.domain = manifest["domain"]
repository.data.manifest_name = manifest["name"]
repository.data.homeassistant = manifest.get("homeassistant")
if repository.hacs.action:
if manifest.get("documentation") is None:
@ -93,6 +92,8 @@ async def get_integration_manifest(repository):
raise HacsException(
"The homeassistant key in manifest.json is no longer valid"
)
# if manifest.get("issue_tracker") is None:
# raise HacsException("The 'issue_tracker' is missing in manifest.json")
# Set local path
repository.content.path.local = repository.localpath

View File

@ -1,35 +1,20 @@
const iconset = document.createElement("ha-iconset-svg");
iconset.name = "hacs";
iconset.size = "1024";
iconset.style = "display: hidden;"
iconset.innerHTML = `
<svg version="1.1" id="hacs" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="20 20 430 430">
<g>
<path class="st1" d="M367.1,110.6H132.9c-2.4,0-4.4-2-4.4-4.4V78.9c0-2.4,2-4.4,4.4-4.4h234.2c2.4,0,4.4,2,4.4,4.4v27.3
C371.5,108.6,369.5,110.6,367.1,110.6z"/>
<g>
<path class="st1" d="M128.5,329.7c0,2.9,2.3,5.2,5.2,5.2h87.8h57H293c2.9,0,5.2-2.3,5.2-5.2v-74.4c0-2.9,2.3-5.2,5.2-5.2h45.4
c2.9,0,5.2,2.3,5.2,5.2v74.4c0,2.9,2.3,5.2,5.2,5.2h7c2.9,0,5.2-2.3,5.2-5.2v-88.4c0-2.9-2.3-5.2-5.2-5.2H133.7
c-2.9,0-5.2,2.3-5.2,5.2V329.7z M154.5,253.6h88.6c2.4,0,4.4,2,4.4,4.4v55.1c0,2.4-2,4.4-4.4,4.4h-88.6c-2.4,0-4.4-2-4.4-4.4V258
C150.1,255.5,152.1,253.6,154.5,253.6z"/>
<path class="st1" d="M372.2,124.9c-0.4-2.2-2.3-3.8-4.6-3.8h-89.1h-57h-89.1c-2.3,0-4.2,1.6-4.6,3.8l-13.2,71.3
c-0.1,0.3-0.1,0.6-0.1,0.9V221c0,2.6,2.1,4.7,4.7,4.7h9.3h243h9.3c2.6,0,4.7-2.1,4.7-4.7V197c0-0.3,0-0.6-0.1-0.9L372.2,124.9z"/>
</g>
<g>
<path class="st1" d="M183.9,357.9v67.4h-15.1v-25.8h-25.2v25.8h-15.1v-67.4h15.1v26.6h25.2v-26.6H183.9z"/>
<path class="st1" d="M192.5,425.4l26.6-67.7h9.8l24.6,67.7h-16.1l-4-11.4H213l-4.3,11.4H192.5z M218.9,399h9.1l-4.3-12L218.9,399z
"/>
<path class="st1" d="M254.3,391.8c0-18.7,15.1-33.8,33.8-33.8c9.4,0,18.5,4,25,11.1l-10.9,9.8c-3.7-4-8.8-6.3-14.1-6.3
c-10.6,0-19.1,8.5-19.1,19.1c0,10.5,8.5,19.1,19.1,19.1c5.3,0,10.4-2.2,14.1-6.3l10.9,9.9c-6.5,7.1-15.5,11.1-25,11.1
C269.4,425.5,254.3,410.3,254.3,391.8z"/>
<path class="st1" d="M371.4,407.3c-0.5,5.8-4.4,11.1-10.3,14.4c-4.4,2.4-9.5,3.6-14.9,3.6c-1.2,0-2.3-0.1-3.4-0.2
c-9.5-0.9-17.8-5.4-22-11.9l12.3-8.1c1.4,2.3,5.4,4.9,11.1,5.4c3.7,0.4,7.4-0.3,10-1.7c1.6-0.8,2.7-2,2.8-3
c0.1-1.3-0.4-5.8-11.5-6.9c-15.9-1.5-25.8-10.8-24.6-22.9c0.5-6,4.4-11.2,10.4-14.6c5.2-2.7,11.8-4,18.3-3.3
c9.4,0.9,17.7,5.4,22,11.9l-12.3,8c-1.4-2.2-5.4-4.7-11.1-5.2c-3.7-0.4-7.4,0.3-10,1.6c-1.5,0.9-2.6,2.1-2.7,3
c-0.4,4.6,7.3,6.6,11.4,6.9v0.1C362.9,385.9,372.6,394.9,371.4,407.3z"/>
</g>
</g>
</svg>
`
document.body.appendChild(iconset);
const hacsIconPath = "m 20.064849,22.306912 c -0.0319,0.369835 -0.280561,0.707789 -0.656773,0.918212 -0.280572,0.153036 -0.605773,0.229553 -0.950094,0.229553 -0.0765,0 -0.146661,-0.0064 -0.216801,-0.01275 -0.605774,-0.05739 -1.135016,-0.344329 -1.402827,-0.7588 l 0.784304,-0.516495 c 0.0893,0.146659 0.344331,0.312448 0.707793,0.34433 0.235931,0.02551 0.471852,-0.01913 0.637643,-0.108401 0.101998,-0.05101 0.172171,-0.127529 0.17854,-0.191295 0.0065,-0.08289 -0.0255,-0.369835 -0.733293,-0.439975 -1.013854,-0.09565 -1.645127,-0.688661 -1.568606,-1.460214 0.0319,-0.382589 0.280561,-0.714165 0.663153,-0.930965 0.331571,-0.172165 0.752423,-0.25506 1.166895,-0.210424 0.599382,0.05739 1.128635,0.344329 1.402816,0.7588 l -0.784304,0.510118 c -0.0893,-0.140282 -0.344331,-0.299694 -0.707782,-0.331576 -0.235932,-0.02551 -0.471863,0.01913 -0.637654,0.10202 -0.0956,0.05739 -0.165791,0.133906 -0.17216,0.191295 -0.0255,0.293317 0.465482,0.420847 0.726913,0.439976 v 0.0064 c 1.020234,0.09565 1.638757,0.66953 1.562237,1.460213 z m -7.466854,-0.988354 c 0,-1.192401 0.962855,-2.155249 2.15525,-2.155249 0.599393,0 1.179645,0.25506 1.594117,0.707789 l -0.695033,0.624895 c -0.235931,-0.25506 -0.561133,-0.401718 -0.899084,-0.401718 -0.675903,0 -1.217906,0.542 -1.217906,1.217906 0,0.66953 0.542003,1.217908 1.217906,1.217908 0.337951,0 0.663153,-0.140283 0.899084,-0.401718 l 0.695033,0.631271 c -0.414472,0.452729 -0.988355,0.707788 -1.594117,0.707788 -1.192395,0 -2.15525,-0.969224 -2.15525,-2.148872 z M 8.6573365,23.461054 10.353474,19.14418 h 0.624893 l 1.568618,4.316874 H 11.52037 L 11.265308,22.734136 H 9.964513 l -0.274192,0.726918 z m 1.6833885,-1.68339 h 0.580263 L 10.646796,21.012487 Z M 8.1089536,19.156932 v 4.297745 H 7.1461095 v -1.645131 h -1.606867 v 1.645131 H 4.5763876 v -4.297745 h 0.9628549 v 1.696143 h 1.606867 V 19.156932 Z M 20.115859,4.2997436 C 20.090359,4.159461 19.969198,4.0574375 19.822548,4.0574375 H 14.141102 10.506516 4.8250686 c -0.14665,0 -0.2678112,0.1020202 -0.2933108,0.2423061 L 3.690064,8.8461703 c -0.00651,0.01913 -0.00651,0.03826 -0.00651,0.057391 v 1.5239797 c 0,0.165789 0.133911,0.299694 0.2996911,0.299694 H 4.5762579 20.0711 20.664112 c 0.165781,0 0.299691,-0.133905 0.299691,-0.299694 V 8.8971848 c 0,-0.01913 0,-0.03826 -0.0065,-0.05739 z M 4.5763876,17.358767 c 0,0.184917 0.1466608,0.331577 0.3315819,0.331577 h 5.5985465 3.634586 0.924594 c 0.184911,0 0.331571,-0.14666 0.331571,-0.331577 v -4.744098 c 0,-0.184918 0.146661,-0.331577 0.331582,-0.331577 h 2.894913 c 0.184921,0 0.331582,0.146659 0.331582,0.331577 v 4.744098 c 0,0.184917 0.146661,0.331577 0.331571,0.331577 h 0.446363 c 0.18491,0 0.331571,-0.14666 0.331571,-0.331577 v -5.636804 c 0,-0.184918 -0.146661,-0.331577 -0.331571,-0.331577 H 4.9079695 c -0.1849211,0 -0.3315819,0.146659 -0.3315819,0.331577 z m 1.6578879,-4.852498 h 5.6495565 c 0.15303,0 0.280561,0.12753 0.280561,0.280564 v 3.513438 c 0,0.153036 -0.127531,0.280566 -0.280561,0.280566 H 6.2342755 c -0.1530412,0 -0.2805719,-0.12753 -0.2805719,-0.280566 v -3.513438 c 0,-0.159411 0.1275307,-0.280564 0.2805719,-0.280564 z M 19.790657,3.3879075 H 4.8569594 c -0.1530412,0 -0.2805718,-0.1275296 -0.2805718,-0.2805642 V 1.3665653 C 4.5763876,1.2135296 4.7039182,1.086 4.8569594,1.086 H 19.790657 c 0.153041,0 0.280572,0.1275296 0.280572,0.2805653 v 1.740778 c 0,0.1530346 -0.127531,0.2805642 -0.280572,0.2805642 z"
const haIconSet = window.customElements.get("ha-iconset-svg")
if (haIconSet === undefined) {
window.customIconsets = window.customIconsets || {}
window.customIconsets["hacs"] = async () => { return { hacs: { path: hacsIconPath } } }
} else {
const iconset = document.createElement("ha-iconset-svg");
iconset.name = "hacs";
iconset.size = "24";
iconset.innerHTML = `
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg height="24" width="24" viewBox="0 0 24 24" id="hacs" version="1.1">
<g>
<path style="stroke-width:0.0637648" d="${hacsIconPath}" id="path103" />
</g>
</svg>
`
document.body.appendChild(iconset);
}

View File

@ -18,7 +18,7 @@
"backoff==1.10.0",
"hacs_frontend==20200426112021",
"integrationhelper==0.2.2",
"semantic_version==2.8.4",
"semantic_version==2.8.5",
"queueman==0.5"
]
}

View File

@ -6,6 +6,7 @@ from homeassistant.loader import async_get_custom_components
from custom_components.hacs.hacsbase.exceptions import HacsException
from custom_components.hacs.helpers.filters import get_first_directory_in_directory
from custom_components.hacs.helpers.information import get_integration_manifest
from custom_components.hacs.helpers.action import run_action_checks
from custom_components.hacs.repositories.repository import HacsRepository
@ -49,6 +50,9 @@ class HacsIntegration(HacsRepository):
raise HacsException(exception)
self.logger.error(exception)
if self.hacs.action:
await run_action_checks(self)
# Handle potential errors
if self.validate.errors:
for error in self.validate.errors:

View File

@ -276,7 +276,7 @@ automation:
"S02E11", "S02E12","S02E13", "S02E14","S02E15", "S02E16","S02E17", "S02E18","S02E19", "S02E20",
"S02E22", "S02E25", "S02E26", "S02E27", "S02E28", "S02E29", "S02E30", "S02E31", "S02E32", "S02E33", "S02E34",
"S02E35", "S02E36", "S02E37", "S02E38", "S02E39", "S02E40","S02E41", "Bearnews1", "Bearnews2", "Bearnews3", "Bearnews4",
"S03E01", "Bearnews5", "Bearnews6"
"S03E01", "Bearnews5", "Bearnews6", "Bearnews7"
] %}
{{ pick|random }}
@ -306,6 +306,6 @@ automation:
"S02E11", "S02E12","S02E13", "S02E14","S02E15", "S02E16","S02E17", "S02E18","S02E19", "S02E20",
"S02E22", "S02E25", "S02E26", "S02E27", "S02E28", "S02E29", "S02E30", "S02E31", "S02E32", "S02E33", "S02E34",
"S02E35", "S02E36", "S02E37", "S02E38", "S02E39", "S02E40","S02E41", "Bearnews1", "Bearnews2", "Bearnews3", "Bearnews4",
"S03E01", "Bearnews5", "Bearnews6"
"S03E01", "Bearnews5", "Bearnews6", "Bearnews7"
] %}
{{ pick|random }}

View File

@ -228,6 +228,9 @@ tweet_youtube_engine_setup:
],
"Bearnews6": [
"Upgrade Ubuntu 18.04 to 20.04 LTS for Home Assistant (https://www.vcloudinfo.com/2020/05/upgrade-ubuntu-18-04-to-20-04-lts-home-assistant.html)"
],
"Bearnews7": [
"Wyze No Contact Thermometer (https://www.vcloudinfo.com/2020/05/wyze-no-contact-thermometer.html)"
]
} %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 113 KiB