diff --git a/hassio/api/util.py b/hassio/api/util.py index 70a1eee7c..5204e9079 100644 --- a/hassio/api/util.py +++ b/hassio/api/util.py @@ -81,7 +81,7 @@ def api_return_error(message=None): return web.json_response({ JSON_RESULT: RESULT_ERROR, JSON_MESSAGE: message, - }) + }, status=400) def api_return_ok(data=None):