Fix zwave_js websocket api KeyError on unloaded entry (#50154)

This commit is contained in:
Martin Hjelmare 2021-05-06 16:43:14 +02:00 committed by GitHub
parent 177317a345
commit 38d7652176
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 350 additions and 64 deletions

View file

@ -23,6 +23,7 @@ MAX_PENDING_MSG = 2048
ERR_ID_REUSE = "id_reuse"
ERR_INVALID_FORMAT = "invalid_format"
ERR_NOT_FOUND = "not_found"
ERR_NOT_LOADED = "not_loaded"
ERR_NOT_SUPPORTED = "not_supported"
ERR_HOME_ASSISTANT_ERROR = "home_assistant_error"
ERR_UNKNOWN_COMMAND = "unknown_command"