Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Lazy.2 #258

Merged
merged 41 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0006c0f
remove strict recorder dependency
krahabb Feb 8, 2023
2faca51
fix with timeout() deprecation
krahabb Feb 9, 2023
f7d79f4
remove unused platform callbacks
krahabb Feb 9, 2023
7dd5079
streamline mqtt calls to be more pytest friendly
krahabb Feb 9, 2023
cd94b39
improve environment settings to support testing
krahabb Feb 9, 2023
188bc1f
support enable-disable debug log from HA UI
krahabb Feb 9, 2023
742a07d
refactor to support testing
krahabb Feb 9, 2023
1aff549
implement a working basic suite of tests
krahabb Feb 9, 2023
b7a43e7
upate git workflows to python 3.10
krahabb Feb 9, 2023
e086dbe
upload traces to repository to allow testing
krahabb Feb 9, 2023
0a05430
add missing dependency for recorder as optional
krahabb Feb 9, 2023
410d259
update github actions
krahabb Feb 10, 2023
21068ef
add missing import annotations
krahabb Feb 10, 2023
4ffc17a
remove aiohttp.web dependency from Emulator class
krahabb Feb 10, 2023
4410c1b
update emulator calls interface
krahabb Feb 10, 2023
b797bff
minor typing
krahabb Feb 12, 2023
01d0504
fix mqtt discovery flow unique_id
krahabb Feb 12, 2023
9adfa88
refactor to ease code coverage in tests
krahabb Feb 12, 2023
8107163
tz safety check (for testing with freezetime)
krahabb Feb 12, 2023
9f6a570
more testing traces
krahabb Feb 12, 2023
8ee436d
add comment to clarify coding choice
krahabb Feb 12, 2023
bc4594b
fix relative imports
krahabb Feb 12, 2023
392fc28
prevent linter complaints
krahabb Feb 12, 2023
c52f27d
parametrize tracing abilities delay
krahabb Feb 12, 2023
b0d9cbe
more tests on config_flow, diagnostics, other
krahabb Feb 12, 2023
c185a17
set justMyCode to false in test debugging
krahabb Feb 12, 2023
b4dbee6
add missing dependencies for CI host
krahabb Feb 12, 2023
6c224d6
add missing dependencies for CI host
krahabb Feb 12, 2023
8e76a55
add service response as a persistent_notification
krahabb Feb 12, 2023
f9b458a
add more context to http error logging
krahabb Feb 12, 2023
9f2b228
fix missing refresh after reconnection (#257)
krahabb Feb 12, 2023
705ee3f
try prevent md5 failure (#256)
krahabb Feb 12, 2023
b5cbe50
move mqtt requests to async
krahabb Feb 12, 2023
8e3d36e
add service response test
krahabb Feb 12, 2023
a66ed35
refine async migration for tests
krahabb Feb 12, 2023
df3b7d8
add missing error key for OptionFlow
krahabb Feb 16, 2023
aa73ece
relax callback typing
krahabb Feb 16, 2023
d3afa9b
manage garage open/close timeouts (#82)
krahabb Feb 16, 2023
68822ac
improve msg100 emulation
krahabb Feb 16, 2023
8b66cf3
add msg100 trace
krahabb Feb 16, 2023
67b2294
update readme for 3.0.2
krahabb Feb 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add missing error key for OptionFlow
  • Loading branch information
krahabb committed Feb 16, 2023
commit df3b7d8fe83ad1493b7ffe4d30aac9f87c19e48e
3 changes: 2 additions & 1 deletion custom_components/meross_lan/translations/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"invalid_nullkey": "Neplatný klíč: select 'Hack mode' to allow empty key",
"already_configured_device": "Zařízení již bylo konfigurováno",
"cannot_connect": "Pokus o připojení se nezdařil",
"invalid_auth": "Ověření selhalo"
"invalid_auth": "Ověření selhalo",
"device_id_mismatch": "Neshoda UUID zařízení: zařízení není stejné"
},
"step": {
"hub": {
Expand Down
3 changes: 2 additions & 1 deletion custom_components/meross_lan/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"invalid_nullkey": "Geräteschlüssel fehlerhaft: Wählen Sie 'Hack mode' um einen leeren Schlüssel zuzulassen",
"already_configured_device": "Das Gerät ist bereits vorhanden",
"cannot_connect": "Verbindung nicht möglich",
"invalid_auth": "Fehlerhafte Zugangsdaten"
"invalid_auth": "Fehlerhafte Zugangsdaten",
"device_id_mismatch": "Nicht übereinstimmende Geräte-UUID: Das Gerät ist nicht dasselbe"
},
"step": {
"hub": {
Expand Down
3 changes: 2 additions & 1 deletion custom_components/meross_lan/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"invalid_nullkey": "Key error: select 'Hack mode' to allow empty key",
"already_configured_device": "Device is already configured",
"cannot_connect": "Unable to connect",
"invalid_auth": "Authentication error"
"invalid_auth": "Authentication error",
"device_id_mismatch": "Device UUID mismatch: the device is not the same"
},
"step": {
"hub": {
Expand Down
3 changes: 2 additions & 1 deletion custom_components/meross_lan/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"invalid_nullkey": "Error clave: seleccione 'Hack mode' para permitir la clave vacía",
"already_configured_device": "Este dispositivo ya esta configurado",
"cannot_connect": "No es posible conectarse",
"invalid_auth": "Error de autenticación"
"invalid_auth": "Error de autenticación",
"device_id_mismatch": "Discrepancia de UUID: el dispositivo no es el mismo"
},
"step": {
"hub": {
Expand Down
3 changes: 2 additions & 1 deletion custom_components/meross_lan/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"invalid_nullkey": "Erreur de clé: sélectionnez 'Hack mode' pour autoriser la clé vide",
"already_configured_device": "Déjà configuré. Un seul appareil possible.",
"cannot_connect": "Pas de connect",
"invalid_auth": "Authentication"
"invalid_auth": "Authentication",
"device_id_mismatch": "Non-concordance de l'UUID: l'appareil n'est pas le même"
},
"step": {
"hub": {
Expand Down
3 changes: 2 additions & 1 deletion custom_components/meross_lan/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"invalid_nullkey": "Chiave errata: usa 'Hack mode' per consentire un valore vuoto",
"already_configured_device": "Il dispositivo è già configurato",
"cannot_connect": "Impossibile connettersi",
"invalid_auth": "Errore di autenticazione"
"invalid_auth": "Errore di autenticazione",
"device_id_mismatch": "UUID non corrispondente: il dispositivo non è lo stesso"
},
"step": {
"hub": {
Expand Down
3 changes: 2 additions & 1 deletion custom_components/meross_lan/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"invalid_nullkey": "キーエラー: select 'Hack mode' to allow empty key",
"already_configured_device": "可能なデバイスは1つだけ",
"cannot_connect": "接続できません",
"invalid_auth": "認証エラー"
"invalid_auth": "認証エラー",
"device_id_mismatch": "デバイス UUID の不一致: デバイスが同じではありません"
},
"step": {
"hub": {
Expand Down